pub struct SimplicialLu<I, T> { /* private fields */ }Expand description
$LU$ factor structure containing the symbolic and numerical representations
Implementations§
Source§impl<I: Index, T> SimplicialLu<I, T>
impl<I: Index, T> SimplicialLu<I, T>
Sourcepub fn l_factor_unsorted(&self) -> SparseColMatRef<'_, I, T>
pub fn l_factor_unsorted(&self) -> SparseColMatRef<'_, I, T>
returns the $L$ factor of the $LU$ factorization. the row indices may be unsorted
Sourcepub fn u_factor_unsorted(&self) -> SparseColMatRef<'_, I, T>
pub fn u_factor_unsorted(&self) -> SparseColMatRef<'_, I, T>
returns the $U$ factor of the $LU$ factorization. the row indices may be unsorted
Sourcepub fn solve_in_place_with_conj(
&self,
row_perm: PermRef<'_, I>,
col_perm: PermRef<'_, I>,
conj_lhs: Conj,
rhs: MatMut<'_, T>,
par: Par,
work: MatMut<'_, T>,
)where
T: ComplexField,
pub fn solve_in_place_with_conj(
&self,
row_perm: PermRef<'_, I>,
col_perm: PermRef<'_, I>,
conj_lhs: Conj,
rhs: MatMut<'_, T>,
par: Par,
work: MatMut<'_, T>,
)where
T: ComplexField,
solves the equation $A x = \text{rhs}$ and stores the result in rhs, implicitly
conjugating $A$ if needed
§panics
- panics if
self.nrows() != self.ncols() - panics if
rhs.nrows() != self.nrows()
Sourcepub fn solve_transpose_in_place_with_conj(
&self,
row_perm: PermRef<'_, I>,
col_perm: PermRef<'_, I>,
conj_lhs: Conj,
rhs: MatMut<'_, T>,
par: Par,
work: MatMut<'_, T>,
)where
T: ComplexField,
pub fn solve_transpose_in_place_with_conj(
&self,
row_perm: PermRef<'_, I>,
col_perm: PermRef<'_, I>,
conj_lhs: Conj,
rhs: MatMut<'_, T>,
par: Par,
work: MatMut<'_, T>,
)where
T: ComplexField,
solves the equation $A^\top x = \text{rhs}$ and stores the result in rhs,
implicitly conjugating $A$ if needed
§panics
- panics if
self.nrows() != self.ncols() - panics if
rhs.nrows() != self.nrows()
Trait Implementations§
Source§impl<I: Clone, T: Clone> Clone for SimplicialLu<I, T>
impl<I: Clone, T: Clone> Clone for SimplicialLu<I, T>
Source§fn clone(&self) -> SimplicialLu<I, T>
fn clone(&self) -> SimplicialLu<I, T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<I, T> Freeze for SimplicialLu<I, T>
impl<I, T> RefUnwindSafe for SimplicialLu<I, T>where
I: RefUnwindSafe,
T: RefUnwindSafe,
impl<I, T> Send for SimplicialLu<I, T>
impl<I, T> Sync for SimplicialLu<I, T>
impl<I, T> Unpin for SimplicialLu<I, T>
impl<I, T> UnwindSafe for SimplicialLu<I, T>where
I: UnwindSafe,
T: 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> 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