Skip to main content

qr_backend

Function qr_backend 

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

Compute a thin/economy QR decomposition, consuming the input tensor so its column-major storage can be transferred to the backend without copying.

ยงErrors

Returns an error when the QR fails (a backend or non-convergence /// failure).