| 1 | initial version |
Actually, the .kernel() method corresponds to the left kernel. What you are looking for is the right kernel:
sage: ns = A.right_kernel()
sage: ans in ns
True
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.