rust-ndarray / ndarray

ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations

Home Page:https://docs.rs/ndarray/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Matrix determinant

guri-dominic opened this issue · comments

How do I get a matrix determinant? I am new to rust, and I am trying to implement a basic numpy script in rust.The hints I get from rust analyzer suggest that m.det() is not valid.
The documentation doesn't seem to have a clear example for such a simple linear algebra operation. Am I missing something in the documentation?

ndarray offers a minimal set of tools that can be used by anyone. For more "complex" statistical or mathematical functions, there are other libraries, such as ndarray_linalg which has a det method.

Thank you for the clarification