pub struct FullPivLuResult<T: TensorScalar> {
pub p: TypedTensor<T>,
pub l: TypedTensor<T>,
pub u: TypedTensor<T>,
pub q: TypedTensor<T>,
}Expand description
Result of complete-pivoting LU decomposition P A Q^T = L U.
The parity output from tenferro is intentionally omitted because current tensor4all callers only need the permutation matrices and the upper triangular factor for pivot selection.
Fields§
§p: TypedTensor<T>Left permutation matrix.
l: TypedTensor<T>Lower triangular factor.
u: TypedTensor<T>Upper triangular factor.
q: TypedTensor<T>Right permutation matrix.
Trait Implementations§
Source§impl<T: Clone + TensorScalar> Clone for FullPivLuResult<T>
impl<T: Clone + TensorScalar> Clone for FullPivLuResult<T>
Source§fn clone(&self) -> FullPivLuResult<T>
fn clone(&self) -> FullPivLuResult<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for FullPivLuResult<T>
impl<T> RefUnwindSafe for FullPivLuResult<T>where
T: RefUnwindSafe,
impl<T> Send for FullPivLuResult<T>
impl<T> Sync for FullPivLuResult<T>
impl<T> Unpin for FullPivLuResult<T>where
T: Unpin,
impl<T> UnsafeUnpin for FullPivLuResult<T>
impl<T> UnwindSafe for FullPivLuResult<T>where
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
fn rand<T>(&self, rng: &mut (impl Rng + ?Sized)) -> Twhere
Self: Distribution<T>,
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