svd_ndarray

Function svd_ndarray 

Source
pub fn svd_ndarray<T>(a: &Array2<T>) -> LapackResult<SvdResult<T>>
where T: Field + Clone + Zeroable + Real,
Expand description

Computes the SVD of a matrix.

A = U * Σ * V^T

§Arguments

  • a - The input matrix (m×n)

§Returns

SVD with U, S (singular values), and V^T