Skip to content

[with patch positive review] kernels of integer matrices #5001

@jhpalmieri

Description

@jhpalmieri
sage: id = matrix(ZZ, 2, 2, [[1, 0], [0, 1]]) 
sage: id.left_kernel()
Traceback
...
TypeError: Argument K (= Integer Ring) must be a field.

On the other hand, id.right_kernel() and id.kernel() both work, and id.kernel() actually computes the left kernel. Note also that the documentation for both left_kernel and right_kernel says that the answer will be a vector space, not a module over the integers; this should be fixed, too.

Component: linear algebra

Keywords: matrix, kernel

Issue created by migration from https://trac.sagemath.org/ticket/5001

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions