Struct easy_ml::linear_algebra::QRDecomposition
source · [−]Expand description
The result of a QR Decomposition of some matrix A such that QR = A.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.q: Matrix<T>
r: Matrix<T>
Implementations
sourceimpl<T> QRDecomposition<T>
impl<T> QRDecomposition<T>
sourcepub fn from_unchecked(q: Matrix<T>, r: Matrix<T>) -> QRDecomposition<T>
pub fn from_unchecked(q: Matrix<T>, r: Matrix<T>) -> QRDecomposition<T>
Creates a QR Decomposition struct from two matrices without checking that QR = A or that Q and R have the intended properties.
This is provided for assistance with unit testing.
Trait Implementations
sourceimpl<T: Clone> Clone for QRDecomposition<T>
impl<T: Clone> Clone for QRDecomposition<T>
sourcefn clone(&self) -> QRDecomposition<T>
fn clone(&self) -> QRDecomposition<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T: Debug> Debug for QRDecomposition<T>
impl<T: Debug> Debug for QRDecomposition<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for QRDecomposition<T> where
T: RefUnwindSafe,
impl<T> Send for QRDecomposition<T> where
T: Send,
impl<T> Sync for QRDecomposition<T> where
T: Sync,
impl<T> Unpin for QRDecomposition<T> where
T: Unpin,
impl<T> UnwindSafe for QRDecomposition<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more