Struct ndarray_linalg::solve::Factorized
[−]
[src]
pub struct Factorized<S: Data> { pub a: ArrayBase<S, Ix2>, pub ipiv: Pivot, }
Represents the LU factorization of a matrix A
as A = P*L*U
.
Fields
a: ArrayBase<S, Ix2>
The factors L
and U
; the unit diagonal elements of L
are not
stored.
ipiv: Pivot
The pivot indices that define the permutation matrix P
.
Methods
impl<A, S> Factorized<S> where
A: Scalar,
S: DataMut<Elem = A>,
[src]
A: Scalar,
S: DataMut<Elem = A>,
fn into_inverse(self) -> Result<ArrayBase<S, Ix2>>
[src]
Computes the inverse of the factorized matrix.
Trait Implementations
impl<A, S> Solve<A> for Factorized<S> where
A: Scalar,
S: Data<Elem = A>,
[src]
A: Scalar,
S: Data<Elem = A>,
fn solve_mut<'a, Sb>(
&self,
rhs: &'a mut ArrayBase<Sb, Ix1>
) -> Result<&'a mut ArrayBase<Sb, Ix1>> where
Sb: DataMut<Elem = A>,
[src]
&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
fn solve_t_mut<'a, Sb>(
&self,
rhs: &'a mut ArrayBase<Sb, Ix1>
) -> Result<&'a mut ArrayBase<Sb, Ix1>> where
Sb: DataMut<Elem = A>,
[src]
&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
fn solve_h_mut<'a, Sb>(
&self,
rhs: &'a mut ArrayBase<Sb, Ix1>
) -> Result<&'a mut ArrayBase<Sb, Ix1>> where
Sb: DataMut<Elem = A>,
[src]
&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
fn solve<S: Data<Elem = A>>(&self, b: &ArrayBase<S, Ix1>) -> Result<Array1<A>>
[src]
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
fn solve_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, Ix1>
) -> Result<ArrayBase<S, Ix1>>
[src]
&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
fn solve_t<S: Data<Elem = A>>(&self, b: &ArrayBase<S, Ix1>) -> Result<Array1<A>>
[src]
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
fn solve_t_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, Ix1>
) -> Result<ArrayBase<S, Ix1>>
[src]
&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
fn solve_h<S: Data<Elem = A>>(&self, b: &ArrayBase<S, Ix1>) -> Result<Array1<A>>
[src]
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
fn solve_h_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, Ix1>
) -> Result<ArrayBase<S, Ix1>>
[src]
&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