8000 inv of singular matrix returns some matrix without error · Issue #43 · ruby-numo/numo-linalg · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
inv of singular matrix returns some matrix without error #43
Open
@gitogito

Description

@gitogito

I tried this script.

require "numo/linalg"

a = Numo::DFloat[[0, 0],
                 [0, 0]]
p(Numo::Linalg.inv(a))

Result is here.

Numo::DFloat#shape=[2,2]
[[0, 0], 
 [0, 0]]

I think that a matrix with all zero elements has no inverse matrix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0