Skip to main content

exact_thin_svd

Function exact_thin_svd 

Source
pub fn exact_thin_svd(data: &[f32], rows: usize, cols: usize) -> Result<ThinSvd>
Expand description

Compute exact thin SVD of a row-major f32 matrix (rows, cols).

ยงErrors

Returns LittleBitError::InvalidShape on dimension mismatch or LittleBitError::SvdFailed if faer fails to converge.