pub struct Qr<V> {
pub q: V,
pub r: V,
}Expand description
QR decomposition A = Q R.
Field order equals the former tuple order (Q, R).
q: orthonormal factorr: upper-triangular factor
§Examples
use tenferro_linalg::Qr;
let r = Qr { q: 1, r: 2 };
let Qr { q, r } = r;
assert_eq!((q, r), (1, 2));Fields§
§q: VSee the type-level documentation.
r: VSee the type-level documentation.
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for Qr<V>where
V: Freeze,
impl<V> RefUnwindSafe for Qr<V>where
V: RefUnwindSafe,
impl<V> Send for Qr<V>where
V: Send,
impl<V> Sync for Qr<V>where
V: Sync,
impl<V> Unpin for Qr<V>where
V: Unpin,
impl<V> UnsafeUnpin for Qr<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for Qr<V>where
V: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
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