pub struct UmfpackNumeric { /* private fields */ }Expand description
Numeric UMFPACK factorization of an RLST CSR matrix.
Implementations§
Source§impl UmfpackNumeric
impl UmfpackNumeric
Sourcepub fn status(&self) -> UmfpackFactorizationStatus
pub fn status(&self) -> UmfpackFactorizationStatus
Return the non-error status reported while this factorization was created.
Sourcepub fn solve<ArrayImpl>(
&self,
rhs: &Array<ArrayImpl, 1>,
) -> UmfpackResult<DynArray<f64, 1>>where
ArrayImpl: RawAccessArrayImpl<f64, 1>,
pub fn solve<ArrayImpl>(
&self,
rhs: &Array<ArrayImpl, 1>,
) -> UmfpackResult<DynArray<f64, 1>>where
ArrayImpl: RawAccessArrayImpl<f64, 1>,
Solve Ax = rhs and return the solution in a new contiguous dynamic array.
rhs must expose contiguous storage and have length equal to the matrix order.
Sourcepub fn solve_into<RhsArrayImpl, SolutionArrayImpl>(
&self,
rhs: &Array<RhsArrayImpl, 1>,
solution: &mut Array<SolutionArrayImpl, 1>,
) -> UmfpackResult<()>where
RhsArrayImpl: RawAccessArrayImpl<f64, 1>,
SolutionArrayImpl: MutableRawAccessArrayImpl<f64, 1>,
pub fn solve_into<RhsArrayImpl, SolutionArrayImpl>(
&self,
rhs: &Array<RhsArrayImpl, 1>,
solution: &mut Array<SolutionArrayImpl, 1>,
) -> UmfpackResult<()>where
RhsArrayImpl: RawAccessArrayImpl<f64, 1>,
SolutionArrayImpl: MutableRawAccessArrayImpl<f64, 1>,
Solve Ax = rhs, writing the result into solution.
Both arrays must expose contiguous storage and have length equal to the
matrix order. Native solve warnings and failures are returned as
UmfpackError::NativeFailure.
Trait Implementations§
Source§impl Drop for UmfpackNumeric
impl Drop for UmfpackNumeric
Auto Trait Implementations§
impl !Send for UmfpackNumeric
impl !Sync for UmfpackNumeric
impl Freeze for UmfpackNumeric
impl RefUnwindSafe for UmfpackNumeric
impl Unpin for UmfpackNumeric
impl UnsafeUnpin for UmfpackNumeric
impl UnwindSafe for UmfpackNumeric
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T, U> Imply<T> for U
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