pub struct QrDescriptor<'a, T> {
pub m: usize,
pub n: usize,
pub a: &'a [T],
pub q: &'a mut [T],
pub r: &'a mut [T],
pub order: MemoryOrder,
pub policy: ExecPolicy,
}Expand description
Thin QR decomposition descriptor: A = Q * R
Computes the thin QR of an m×n matrix A.
Data layout (A, Q, R slices) is specified by the order field;
a backend that does not support a given order returns
BackendError::InvalidArgument.
Outputs: Q (m×k), R (k×n)
where k = min(m, n).
Fields§
§m: usizeRows of A.
n: usizeColumns of A.
a: &'a [T]Input matrix A (m×n).
q: &'a mut [T]Output orthonormal factor Q (m×k, k = min(m, n)).
r: &'a mut [T]Output upper-triangular factor R (k×n).
order: MemoryOrderMemory layout of the matrix slices.
policy: ExecPolicyPer-call execution policy.
Auto Trait Implementations§
impl<'a, T> !UnwindSafe for QrDescriptor<'a, T>
impl<'a, T> Freeze for QrDescriptor<'a, T>
impl<'a, T> RefUnwindSafe for QrDescriptor<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for QrDescriptor<'a, T>
impl<'a, T> Sync for QrDescriptor<'a, T>where
T: Sync,
impl<'a, T> Unpin for QrDescriptor<'a, T>
impl<'a, T> UnsafeUnpin for QrDescriptor<'a, T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more