Skip to content

Determinant #667

Open
Open
@JohannesEngels

Description

A suggestion for src/arraymancer/linear_algebra/decomposition.nim: Seems that the computation of the determinant of a matrix is missing so far. It could be easily achieved by means of the LU-decomposition, as the determinant is just the product of the diagonal elements of the matrix U - up to the sign! Therefore it would be very helpful to give out also the number of permutations or at least the pivot_indices vector. (Of course I am talking about proc lu_permuted; in the current stage it is a bit cumbersome to determine the number of permutations from the output.)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions