pub trait SolveC<A>where
A: Scalar,{
// Required method
fn solvec_inplace<'a, S>(
&self,
b: &'a mut ArrayBase<S, Dim<[usize; 1]>>,
) -> Result<&'a mut ArrayBase<S, Dim<[usize; 1]>>, LinalgError>
where S: DataMut<Elem = A>;
// Provided methods
fn solvec<S>(
&self,
b: &ArrayBase<S, Dim<[usize; 1]>>,
) -> Result<ArrayBase<OwnedRepr<A>, Dim<[usize; 1]>>, LinalgError>
where S: Data<Elem = A> { ... }
fn solvec_into<S>(
&self,
b: ArrayBase<S, Dim<[usize; 1]>>,
) -> Result<ArrayBase<S, Dim<[usize; 1]>>, LinalgError>
where S: DataMut<Elem = A> { ... }
}Expand description
Solve systems of linear equations with Hermitian (or real symmetric) positive definite coefficient matrices
Required Methods§
Sourcefn solvec_inplace<'a, S>(
&self,
b: &'a mut ArrayBase<S, Dim<[usize; 1]>>,
) -> Result<&'a mut ArrayBase<S, Dim<[usize; 1]>>, LinalgError>where
S: DataMut<Elem = A>,
fn solvec_inplace<'a, S>(
&self,
b: &'a mut ArrayBase<S, Dim<[usize; 1]>>,
) -> Result<&'a mut ArrayBase<S, Dim<[usize; 1]>>, LinalgError>where
S: DataMut<Elem = 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. The value of x is
also assigned to the argument.
Provided Methods§
Sourcefn solvec<S>(
&self,
b: &ArrayBase<S, Dim<[usize; 1]>>,
) -> Result<ArrayBase<OwnedRepr<A>, Dim<[usize; 1]>>, LinalgError>where
S: Data<Elem = A>,
fn solvec<S>(
&self,
b: &ArrayBase<S, Dim<[usize; 1]>>,
) -> Result<ArrayBase<OwnedRepr<A>, Dim<[usize; 1]>>, LinalgError>where
S: Data<Elem = 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.
Sourcefn solvec_into<S>(
&self,
b: ArrayBase<S, Dim<[usize; 1]>>,
) -> Result<ArrayBase<S, Dim<[usize; 1]>>, LinalgError>where
S: DataMut<Elem = A>,
fn solvec_into<S>(
&self,
b: ArrayBase<S, Dim<[usize; 1]>>,
) -> Result<ArrayBase<S, Dim<[usize; 1]>>, LinalgError>where
S: DataMut<Elem = 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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.