Struct extendr_api::prelude::sparse::linalg::cholesky::simplicial::SymbolicSimplicialCholesky
pub struct SymbolicSimplicialCholesky<I>where
I: Index,{
dimension: usize,
col_ptrs: Vec<I>,
row_indices: Vec<I>,
etree: Vec<I>,
}
Expand description
Cholesky factor structure containing its symbolic structure.
Fields§
§dimension: usize
§col_ptrs: Vec<I>
§row_indices: Vec<I>
§etree: Vec<I>
Implementations§
§impl<I> SymbolicSimplicialCholesky<I>where
I: Index,
impl<I> SymbolicSimplicialCholesky<I>where
I: Index,
pub fn len_values(&self) -> usize
pub fn len_values(&self) -> usize
Returns the length of the slice that can be used to contain the numerical values of the Cholesky factor.
pub fn row_indices(&self) -> &[I]
pub fn row_indices(&self) -> &[I]
Returns the row indices of the Cholesky factor.
pub fn factor(&self) -> SymbolicSparseColMatRef<'_, I>
pub fn factor(&self) -> SymbolicSparseColMatRef<'_, I>
Returns the Cholesky factor’s symbolic structure.
pub fn solve_in_place_req<E>(
&self,
rhs_ncols: usize,
) -> Result<StackReq, SizeOverflow>where
E: Entity,
pub fn solve_in_place_req<E>(
&self,
rhs_ncols: usize,
) -> Result<StackReq, SizeOverflow>where
E: Entity,
Returns the size and alignment of the workspace required to solve the system A×x = rhs
.
Trait Implementations§
Auto Trait Implementations§
impl<I> Freeze for SymbolicSimplicialCholesky<I>
impl<I> RefUnwindSafe for SymbolicSimplicialCholesky<I>where
I: RefUnwindSafe,
impl<I> Send for SymbolicSimplicialCholesky<I>
impl<I> Sync for SymbolicSimplicialCholesky<I>
impl<I> Unpin for SymbolicSimplicialCholesky<I>where
I: Unpin,
impl<I> UnwindSafe for SymbolicSimplicialCholesky<I>where
I: 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> 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