pub struct UmfpackComplexNumeric { /* private fields */ }Expand description
Numeric UMFPACK factorization of a complex RLST CSR matrix.
Implementations§
Source§impl UmfpackComplexNumeric
impl UmfpackComplexNumeric
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<c64, 1>>where
ArrayImpl: RawAccessArrayImpl<c64, 1>,
pub fn solve<ArrayImpl>(
&self,
rhs: &Array<ArrayImpl, 1>,
) -> UmfpackResult<DynArray<c64, 1>>where
ArrayImpl: RawAccessArrayImpl<c64, 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<c64, 1>,
SolutionArrayImpl: MutableRawAccessArrayImpl<c64, 1>,
pub fn solve_into<RhsArrayImpl, SolutionArrayImpl>(
&self,
rhs: &Array<RhsArrayImpl, 1>,
solution: &mut Array<SolutionArrayImpl, 1>,
) -> UmfpackResult<()>where
RhsArrayImpl: RawAccessArrayImpl<c64, 1>,
SolutionArrayImpl: MutableRawAccessArrayImpl<c64, 1>,
Solve Ax = rhs, writing the result into solution.
Both arrays must expose contiguous storage and have length equal to the
matrix order. Complex values are passed to UMFPACK as separate real and
imaginary buffers. Native warnings and failures are returned as
UmfpackError::NativeFailure.
Trait Implementations§
Source§impl Drop for UmfpackComplexNumeric
impl Drop for UmfpackComplexNumeric
Auto Trait Implementations§
impl !Send for UmfpackComplexNumeric
impl !Sync for UmfpackComplexNumeric
impl Freeze for UmfpackComplexNumeric
impl RefUnwindSafe for UmfpackComplexNumeric
impl Unpin for UmfpackComplexNumeric
impl UnsafeUnpin for UmfpackComplexNumeric
impl UnwindSafe for UmfpackComplexNumeric
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