#[repr(C)]pub enum DecompTypes {
DECOMP_LU = 0,
DECOMP_SVD = 1,
DECOMP_EIG = 2,
DECOMP_CHOLESKY = 3,
DECOMP_QR = 4,
DECOMP_NORMAL = 16,
}Expand description
matrix decomposition types
Variants§
DECOMP_LU = 0
Gaussian elimination with the optimal pivot element chosen.
DECOMP_SVD = 1
singular value decomposition (SVD) method; the system can be over-defined and/or the matrix src1 can be singular
DECOMP_EIG = 2
eigenvalue decomposition; the matrix src1 must be symmetrical
DECOMP_CHOLESKY = 3
Cholesky factorization; the matrix src1 must be symmetrical and positively
defined
DECOMP_QR = 4
QR factorization; the system can be over-defined and/or the matrix src1 can be singular
DECOMP_NORMAL = 16
while all the previous flags are mutually exclusive, this flag can be used together with
any of the previous; it means that the normal equations
are
solved instead of the original system
Trait Implementations§
Source§impl Clone for DecompTypes
impl Clone for DecompTypes
Source§fn clone(&self) -> DecompTypes
fn clone(&self) -> DecompTypes
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecompTypes
impl Debug for DecompTypes
Source§impl From<DecompTypes> for i32
impl From<DecompTypes> for i32
Source§fn from(v: DecompTypes) -> Self
fn from(v: DecompTypes) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DecompTypes
impl PartialEq for DecompTypes
Source§impl TryFrom<i32> for DecompTypes
impl TryFrom<i32> for DecompTypes
impl Copy for DecompTypes
impl Eq for DecompTypes
impl StructuralPartialEq for DecompTypes
Auto Trait Implementations§
impl Freeze for DecompTypes
impl RefUnwindSafe for DecompTypes
impl Send for DecompTypes
impl Sync for DecompTypes
impl Unpin for DecompTypes
impl UnwindSafe for DecompTypes
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