Skip to content

inverting a non-invertible matrix over RDF returns weird results #2468

Closed
@aghitza

Description

@aghitza

Check this out:

sage: A = Matrix(RDF, [[1, 0], [0, 0]])
sage: A.inverse()

[nan nan]
[nan inf]

This is, to say the least, weird. This should throw a ZeroDivisionError instead.

Component: linear algebra

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions