pub struct SimplicialLdltRef<'a, I: Index, T> { /* private fields */ }Expand description
cholesky $LDL^H$ factors containing both the symbolic and numeric representations
Implementations§
Source§impl<'a, I: Index, T> SimplicialLdltRef<'a, I, T>
impl<'a, I: Index, T> SimplicialLdltRef<'a, I, T>
Sourcepub fn new(symbolic: &'a SymbolicSimplicialCholesky<I>, values: &'a [T]) -> Self
pub fn new(symbolic: &'a SymbolicSimplicialCholesky<I>, values: &'a [T]) -> Self
creates a new cholesky $LDL^H$ factor from the symbolic part and numerical values
§panics
panics if values.len() != symbolic.len_val()>
Sourcepub fn symbolic(self) -> &'a SymbolicSimplicialCholesky<I>
pub fn symbolic(self) -> &'a SymbolicSimplicialCholesky<I>
returns the symbolic part of the cholesky factor
Sourcepub fn solve_in_place_with_conj(
&self,
conj: Conj,
rhs: MatMut<'_, T>,
par: Par,
stack: &mut MemStack,
)where
T: ComplexField,
pub fn solve_in_place_with_conj(
&self,
conj: Conj,
rhs: MatMut<'_, T>,
par: Par,
stack: &mut MemStack,
)where
T: ComplexField,
solves the equation $A x = \text{rhs}$ and stores the result in rhs, implicitly
conjugating $A$ if needed
§panics
panics if rhs.nrows() != self.symbolic().nrows()
Trait Implementations§
Source§impl<I: Index, T> Clone for SimplicialLdltRef<'_, I, T>
impl<I: Index, T> Clone for SimplicialLdltRef<'_, I, T>
impl<I: Index, T> Copy for SimplicialLdltRef<'_, I, T>
Auto Trait Implementations§
impl<'a, I, T> Freeze for SimplicialLdltRef<'a, I, T>
impl<'a, I, T> RefUnwindSafe for SimplicialLdltRef<'a, I, T>where
T: RefUnwindSafe,
I: RefUnwindSafe,
impl<'a, I, T> Send for SimplicialLdltRef<'a, I, T>where
T: Sync,
impl<'a, I, T> Sync for SimplicialLdltRef<'a, I, T>where
T: Sync,
impl<'a, I, T> Unpin for SimplicialLdltRef<'a, I, T>
impl<'a, I, T> UnwindSafe for SimplicialLdltRef<'a, I, T>where
T: RefUnwindSafe,
I: RefUnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
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