Skip to main content

svd_backend

Function svd_backend 

Source
pub fn svd_backend<T>(
    a: &TypedTensor<T>,
) -> Result<SvdResult<T>, BackendLinalgError>
Expand description

Compute a thin/economy SVD on a typed tensor.

ยงErrors

Returns a BackendLinalgError when a is not host-backed, when the context rejects the entry, or when the backend SVD fails.