#[non_exhaustive]pub struct CholeskyOptions {
pub uplo: Uplo,
}Expand description
Options for a Cholesky factorization.
§Examples
use tenferro_linalg::{CholeskyOptions, Uplo};
let options = CholeskyOptions::default();
assert_eq!(options.uplo, Uplo::Lower);
assert_eq!(options.uplo(Uplo::Upper).uplo, Uplo::Upper);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.uplo: UploWhich triangular factor is returned. The implementation computes the
lower factor only, so Uplo::Upper returns Unsupported.
Implementations§
Trait Implementations§
Source§impl Clone for CholeskyOptions
impl Clone for CholeskyOptions
impl Copy for CholeskyOptions
Source§impl Debug for CholeskyOptions
impl Debug for CholeskyOptions
Source§impl Default for CholeskyOptions
impl Default for CholeskyOptions
Source§impl PartialEq for CholeskyOptions
impl PartialEq for CholeskyOptions
impl StructuralPartialEq for CholeskyOptions
Auto Trait Implementations§
impl Freeze for CholeskyOptions
impl RefUnwindSafe for CholeskyOptions
impl Send for CholeskyOptions
impl Sync for CholeskyOptions
impl Unpin for CholeskyOptions
impl UnsafeUnpin for CholeskyOptions
impl UnwindSafe for CholeskyOptions
Blanket Implementations§
impl<T> Boilerplate for T
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