NDArray::matrix_rank
public static function matrix_rank(NDArray|array $a, float $tol = 1e-6): NDArray;
Calculates the numerical rank of a matrix, number of singular values of the array that are greater than tol.
Notes
tip
GPU SUPPORTED
This operation is supported by GPU (VRAM) and contains a custom CUDA kernel.