Trait ndarray_linalg::cholesky::SolveC
[−]
[src]
pub trait SolveC<A: Scalar> { fn solvec_inplace<'a, S: DataMut<Elem = A>>(
&self,
_: &'a mut ArrayBase<S, Ix1>
) -> Result<&'a mut ArrayBase<S, Ix1>>; fn solvec<S: Data<Elem = A>>(
&self,
b: &ArrayBase<S, Ix1>
) -> Result<Array1<A>> { ... } fn solvec_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, Ix1>
) -> Result<ArrayBase<S, Ix1>> { ... } }
Solve systems of linear equations with Hermitian (or real symmetric) positive definite coefficient matrices
Required Methods
fn solvec_inplace<'a, S: DataMut<Elem = A>>(
&self,
_: &'a mut ArrayBase<S, Ix1>
) -> Result<&'a mut ArrayBase<S, Ix1>>
&self,
_: &'a mut ArrayBase<S, Ix1>
) -> Result<&'a mut ArrayBase<S, Ix1>>
Solves a system of linear equations A * x = b
with Hermitian (or real
symmetric) positive definite matrix A
, where A
is self
, b
is
the argument, and x
is the successful result. The value of x
is
also assigned to the argument.
Provided Methods
fn solvec<S: Data<Elem = A>>(&self, b: &ArrayBase<S, Ix1>) -> Result<Array1<A>>
Solves a system of linear equations A * x = b
with Hermitian (or real
symmetric) positive definite matrix A
, where A
is self
, b
is
the argument, and x
is the successful result.
fn solvec_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, Ix1>
) -> Result<ArrayBase<S, Ix1>>
&self,
b: ArrayBase<S, Ix1>
) -> Result<ArrayBase<S, Ix1>>
Solves a system of linear equations A * x = b
with Hermitian (or real
symmetric) positive definite matrix A
, where A
is self
, b
is
the argument, and x
is the successful result.
Implementations on Foreign Types
impl<A, S> SolveC<A> for ArrayBase<S, Ix2> where
A: Scalar,
S: Data<Elem = A>,
[src]
A: Scalar,
S: Data<Elem = A>,
fn solvec_inplace<'a, Sb>(
&self,
b: &'a mut ArrayBase<Sb, Ix1>
) -> Result<&'a mut ArrayBase<Sb, Ix1>> where
Sb: DataMut<Elem = A>,
[src]
&self,
b: &'a mut ArrayBase<Sb, Ix1>
) -> Result<&'a mut ArrayBase<Sb, Ix1>> where
Sb: DataMut<Elem = A>,
fn solvec<S: Data<Elem = A>>(&self, b: &ArrayBase<S, Ix1>) -> Result<Array1<A>>
[src]
fn solvec_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, Ix1>
) -> Result<ArrayBase<S, Ix1>>
[src]
&self,
b: ArrayBase<S, Ix1>
) -> Result<ArrayBase<S, Ix1>>
Implementors
impl<A, S> SolveC<A> for CholeskyFactorized<S> where
A: Scalar,
S: Data<Elem = A>,