pub struct Cholesky { /* private fields */ }Implementations§
Source§impl Cholesky
impl Cholesky
Sourcepub fn factor(
a: MatrixView<'_>,
options: CholeskyOptions,
) -> Result<Self, SolverError>
pub fn factor( a: MatrixView<'_>, options: CholeskyOptions, ) -> Result<Self, SolverError>
A = L L^T; non-positive-definite inputs return an error, never a hidden jitter.
pub fn lower(&self) -> &Matrix
pub fn order(&self) -> usize
pub fn solve(&self, b: MatrixView<'_>) -> Result<Matrix, SolverError>
pub fn log_determinant(&self) -> Result<f64, SolverError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cholesky
impl RefUnwindSafe for Cholesky
impl Send for Cholesky
impl Sync for Cholesky
impl Unpin for Cholesky
impl UnsafeUnpin for Cholesky
impl UnwindSafe for Cholesky
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