Struct ndarray_linalg::solveh::BKFactorized
[−]
[src]
pub struct BKFactorized<S: Data> { pub a: ArrayBase<S, Ix2>, pub ipiv: Pivot, }
Represents the Bunch–Kaufman factorization of a Hermitian (or real
symmetric) matrix as A = P * U * D * U^H * P^T
.
Fields
a: ArrayBase<S, Ix2>
ipiv: Pivot
Trait Implementations
impl<A, S> SolveH<A> for BKFactorized<S> where
A: Scalar,
S: Data<Elem = A>,
[src]
A: Scalar,
S: Data<Elem = A>,
fn solveh_inplace<'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
with Hermitian (or real symmetric) 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. Read more
fn solveh<S: Data<Elem = A>>(&self, b: &ArrayBase<S, Ix1>) -> Result<Array1<A>>
[src]
Solves a system of linear equations A * x = b
with Hermitian (or real symmetric) matrix A
, where A
is self
, b
is the argument, and x
is the successful result. Read more
fn solveh_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
with Hermitian (or real symmetric) matrix A
, where A
is self
, b
is the argument, and x
is the successful result. Read more
impl<A, S> InverseHInto for BKFactorized<S> where
A: Scalar,
S: DataMut<Elem = A>,
[src]
A: Scalar,
S: DataMut<Elem = A>,
type Output = ArrayBase<S, Ix2>
fn invh_into(self) -> Result<ArrayBase<S, Ix2>>
[src]
Computes the inverse of the Hermitian (or real symmetric) matrix.
impl<A, S> InverseH for BKFactorized<S> where
A: Scalar,
S: Data<Elem = A>,
[src]
A: Scalar,
S: Data<Elem = A>,
type Output = Array2<A>
fn invh(&self) -> Result<Self::Output>
[src]
Computes the inverse of the Hermitian (or real symmetric) matrix.
impl<A, S> DeterminantH for BKFactorized<S> where
A: Scalar,
S: Data<Elem = A>,
[src]
A: Scalar,
S: Data<Elem = A>,
type Output = A::Real
fn deth(&self) -> A::Real
[src]
Computes the determinant of the Hermitian (or real symmetric) matrix.
impl<A, S> DeterminantHInto for BKFactorized<S> where
A: Scalar,
S: Data<Elem = A>,
[src]
A: Scalar,
S: Data<Elem = A>,