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>)
| 234 | /// |
| 235 | /// An Array with additional information needed for unpacking the data. |
| 236 | pub fn qr_inplace<T>(input: &mut Array<T>) -> Array<T> |
| 237 | where |
| 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 | /// |
nothing calls this directly
no test coverage detected