Struct SymbolicLu
pub struct SymbolicLu<I> {
raw: SymbolicLuRaw<I>,
col_perm_fwd: Vec<I>,
col_perm_inv: Vec<I>,
A_nnz: usize,
}
Expand description
The symbolic structure of a sparse LU decomposition.
Fields§
§raw: SymbolicLuRaw<I>
§col_perm_fwd: Vec<I>
§col_perm_inv: Vec<I>
§A_nnz: usize
Implementations§
§impl<I> SymbolicLu<I>where
I: Index,
impl<I> SymbolicLu<I>where
I: Index,
pub fn col_perm(&self) -> PermRef<'_, I>
pub fn col_perm(&self) -> PermRef<'_, I>
Returns the fill-reducing column permutation that was computed during symbolic analysis.
pub fn factorize_numeric_lu_req<E>(
&self,
parallelism: Parallelism<'_>,
) -> Result<StackReq, SizeOverflow>where
E: Entity,
pub fn factorize_numeric_lu_req<E>(
&self,
parallelism: Parallelism<'_>,
) -> Result<StackReq, SizeOverflow>where
E: Entity,
Computes the size and alignment of the workspace required to compute the numerical LU factorization.
pub fn solve_in_place_req<E>(
&self,
rhs_ncols: usize,
parallelism: Parallelism<'_>,
) -> Result<StackReq, SizeOverflow>where
E: Entity,
pub fn solve_in_place_req<E>(
&self,
rhs_ncols: usize,
parallelism: Parallelism<'_>,
) -> Result<StackReq, SizeOverflow>where
E: Entity,
Computes the size and alignment of the workspace required to solve the equation $A x = b$.
pub fn solve_transpose_in_place_req<E>(
&self,
rhs_ncols: usize,
parallelism: Parallelism<'_>,
) -> Result<StackReq, SizeOverflow>where
E: Entity,
pub fn solve_transpose_in_place_req<E>(
&self,
rhs_ncols: usize,
parallelism: Parallelism<'_>,
) -> Result<StackReq, SizeOverflow>where
E: Entity,
Computes the size and alignment of the workspace required to solve the equation $A^\top x = b$.
pub fn factorize_numeric_lu<'out, E>(
&'out self,
numeric: &'out mut NumericLu<I, E>,
A: SparseColMatRef<'_, I, E>,
parallelism: Parallelism<'_>,
stack: PodStack<'_>,
) -> Result<LuRef<'out, I, E>, LuError>where
E: ComplexField,
pub fn factorize_numeric_lu<'out, E>(
&'out self,
numeric: &'out mut NumericLu<I, E>,
A: SparseColMatRef<'_, I, E>,
parallelism: Parallelism<'_>,
stack: PodStack<'_>,
) -> Result<LuRef<'out, I, E>, LuError>where
E: ComplexField,
Computes a numerical LU factorization of A.
Trait Implementations§
§impl<I> Clone for SymbolicLu<I>where
I: Clone,
impl<I> Clone for SymbolicLu<I>where
I: Clone,
§fn clone(&self) -> SymbolicLu<I>
fn clone(&self) -> SymbolicLu<I>
Returns a copy 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> Freeze for SymbolicLu<I>
impl<I> RefUnwindSafe for SymbolicLu<I>where
I: RefUnwindSafe,
impl<I> Send for SymbolicLu<I>where
I: Send,
impl<I> Sync for SymbolicLu<I>where
I: Sync,
impl<I> Unpin for SymbolicLu<I>where
I: Unpin,
impl<I> UnwindSafe for SymbolicLu<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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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