SciSharp / NumSharp

High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
https://github.com/SciSharp
Apache License 2.0
1.38k stars 192 forks source link

How to calculate the rank of a matrix with NumSharp? #472

Open drtujugkhjk opened 2 years ago

drtujugkhjk commented 2 years ago

I have a question,but I'm new to this. I want to compute the rank of a matrix, but could not do it when I tried the following. np.linalg.matrix_rank(A) ; A:NDArray What is wrong with it? How do I calculate the rank of a matrix?