Struct ndarray_linalg::solve::LUFactorized

source ·
pub struct LUFactorized<S: Data + RawDataClone> { /* private fields */ }
Expand description

Represents the LU factorization of a matrix A as A = P*L*U.

Trait Implementations§

source§

impl<S: Clone + Data + RawDataClone> Clone for LUFactorized<S>

source§

fn clone(&self) -> LUFactorized<S>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<A, S> Determinant<A> for LUFactorized<S>
where A: Scalar + Lapack, S: Data<Elem = A> + RawDataClone,

source§

fn sln_det(&self) -> Result<(A, A::Real)>

Computes the (sign, natural_log) of the determinant of the matrix. Read more
source§

fn det(&self) -> Result<A>

Computes the determinant of the matrix.
source§

impl<A, S> DeterminantInto<A> for LUFactorized<S>
where A: Scalar + Lapack, S: Data<Elem = A> + RawDataClone,

source§

fn sln_det_into(self) -> Result<(A, A::Real)>

Computes the (sign, natural_log) of the determinant of the matrix. Read more
source§

fn det_into(self) -> Result<A>

Computes the determinant of the matrix.
source§

impl<A, S> Inverse for LUFactorized<S>
where A: Scalar + Lapack, S: Data<Elem = A> + RawDataClone,

source§

type Output = ArrayBase<OwnedRepr<A>, Dim<[usize; 2]>>

source§

fn inv(&self) -> Result<Array2<A>>

Computes the inverse of the matrix.
source§

impl<A, S> InverseInto for LUFactorized<S>
where A: Scalar + Lapack, S: DataMut<Elem = A> + RawDataClone,

source§

type Output = ArrayBase<S, Dim<[usize; 2]>>

source§

fn inv_into(self) -> Result<ArrayBase<S, Ix2>>

Computes the inverse of the matrix.
source§

impl<A, S> ReciprocalConditionNum<A> for LUFactorized<S>
where A: Scalar + Lapack, S: Data<Elem = A> + RawDataClone,

source§

fn rcond(&self) -> Result<A::Real>

Estimates the reciprocal of the condition number of the matrix in 1-norm. Read more
source§

impl<A, S> ReciprocalConditionNumInto<A> for LUFactorized<S>
where A: Scalar + Lapack, S: Data<Elem = A> + RawDataClone,

source§

fn rcond_into(self) -> Result<A::Real>

Estimates the reciprocal of the condition number of the matrix in 1-norm. Read more
source§

impl<A, S> Solve<A> for LUFactorized<S>
where A: Scalar + Lapack, S: Data<Elem = A> + RawDataClone,

source§

fn solve_inplace<'a, Sb>( &self, rhs: &'a mut ArrayBase<Sb, Ix1>, ) -> Result<&'a mut ArrayBase<Sb, Ix1>>
where Sb: DataMut<Elem = A>,

Solves a system of linear equations A * x = b where A is self, b is the argument, and x is the successful result. Read more
source§

fn solve_t_inplace<'a, Sb>( &self, rhs: &'a mut ArrayBase<Sb, Ix1>, ) -> Result<&'a mut ArrayBase<Sb, Ix1>>
where Sb: DataMut<Elem = A>,

Solves a system of linear equations A^T * x = b where A is self, b is the argument, and x is the successful result. Read more
source§

fn solve_h_inplace<'a, Sb>( &self, rhs: &'a mut ArrayBase<Sb, Ix1>, ) -> Result<&'a mut ArrayBase<Sb, Ix1>>
where Sb: DataMut<Elem = A>,

Solves a system of linear equations A^H * x = b where A is self, b is the argument, and x is the successful result. Read more
source§

fn solve<S: Data<Elem = A>>(&self, b: &ArrayBase<S, Ix1>) -> Result<Array1<A>>

Solves a system of linear equations A * x = b where A is self, b is the argument, and x is the successful result. Read more
source§

fn solve_into<S: DataMut<Elem = A>>( &self, b: ArrayBase<S, Ix1>, ) -> Result<ArrayBase<S, Ix1>>

Solves a system of linear equations A * x = b where A is self, b is the argument, and x is the successful result. Read more
source§

fn solve_t<S: Data<Elem = A>>(&self, b: &ArrayBase<S, Ix1>) -> Result<Array1<A>>

Solves a system of linear equations A^T * x = b where A is self, b is the argument, and x is the successful result. Read more
source§

fn solve_t_into<S: DataMut<Elem = A>>( &self, b: ArrayBase<S, Ix1>, ) -> Result<ArrayBase<S, Ix1>>

Solves a system of linear equations A^T * x = b where A is self, b is the argument, and x is the successful result. Read more
source§

fn solve_h<S: Data<Elem = A>>(&self, b: &ArrayBase<S, Ix1>) -> Result<Array1<A>>

Solves a system of linear equations A^H * x = b where A is self, b is the argument, and x is the successful result. Read more
source§

fn solve_h_into<S: DataMut<Elem = A>>( &self, b: ArrayBase<S, Ix1>, ) -> Result<ArrayBase<S, Ix1>>

Solves a system of linear equations A^H * x = b where A is self, b is the argument, and x is the successful result. Read more

Auto Trait Implementations§

§

impl<S> Freeze for LUFactorized<S>
where S: Freeze,

§

impl<S> RefUnwindSafe for LUFactorized<S>

§

impl<S> Send for LUFactorized<S>
where S: Send,

§

impl<S> Sync for LUFactorized<S>
where S: Sync,

§

impl<S> Unpin for LUFactorized<S>
where S: Unpin,

§

impl<S> UnwindSafe for LUFactorized<S>
where S: UnwindSafe, <S as RawData>::Elem: RefUnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V