MCPcopy Index your code
hub / github.com/arrayfire/arrayfire-rust / qr_inplace

Function qr_inplace

src/lapack/mod.rs:236–246  ·  view source on GitHub ↗

Perform inplace QR decomposition # Parameters - `input` contains the input matrix on entry, and packed QR decomposition on exit # Return Values An Array with additional information needed for unpacking the data.

(input: &mut Array<T>)

Source from the content-addressed store, hash-verified

234///
235/// An Array with additional information needed for unpacking the data.
236pub fn qr_inplace<T>(input: &mut Array<T>) -> Array<T>
237where
238 T: HasAfEnum + FloatingPoint,
239{
240 unsafe {
241 let mut tau: af_array = std::ptr::null_mut();
242 let err_val = af_qr_inplace(&mut tau as *mut af_array, input.get());
243 HANDLE_ERROR(AfError::from(err_val));
244 tau.into()
245 }
246}
247
248/// Perform Cholesky decomposition
249///

Callers

nothing calls this directly

Calls 3

HANDLE_ERRORFunction · 0.85
intoMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected