pub struct QrWork<T> { /* private fields */ }Expand description
Buffers that QR factorizations reuse. A matrix with at most LEAF reflections factors in them, so a run of calls on such matrices of one size allocates only in its first call. A larger matrix factors as qr does.
Implementations§
Source§impl<T: Factor> QrWork<T>
impl<T: Factor> QrWork<T>
Sourcepub fn qr_into(
&mut self,
a: &[T],
size: [usize; 2],
complete: bool,
q: &mut [T],
r: &mut [T],
)
pub fn qr_into( &mut self, a: &[T], size: [usize; 2], complete: bool, q: &mut [T], r: &mut [T], )
qr of the matrix a of size [m, n], or where complete is true the complete factorization, in which Q is m×m and unitary, R is m×n, Q’s first columns and R’s first rows are qr’s, and R’s other rows are zero. Q’s and R’s items go into q and r, using these buffers.
Trait Implementations§
Auto Trait Implementations§
impl<T> Forget for QrWork<T>
impl<T> Freeze for QrWork<T>
impl<T> RefUnwindSafe for QrWork<T>where
Vec<T>: RefUnwindSafe,
impl<T> Send for QrWork<T>
impl<T> Sync for QrWork<T>
impl<T> Unpin for QrWork<T>
impl<T> UnsafeUnpin for QrWork<T>where
Vec<T>: UnsafeUnpin,
impl<T> UnwindSafe for QrWork<T>where
Vec<T>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more