pub trait SolveTridiagonal<A, D>{
// Required methods
fn solve_tridiagonal<S>(
&self,
b: &ArrayBase<S, D>,
) -> Result<ArrayBase<OwnedRepr<A>, D>, LinalgError>
where S: Data<Elem = A>;
fn solve_tridiagonal_into<S>(
&self,
b: ArrayBase<S, D>,
) -> Result<ArrayBase<S, D>, LinalgError>
where S: DataMut<Elem = A>;
fn solve_t_tridiagonal<S>(
&self,
b: &ArrayBase<S, D>,
) -> Result<ArrayBase<OwnedRepr<A>, D>, LinalgError>
where S: Data<Elem = A>;
fn solve_t_tridiagonal_into<S>(
&self,
b: ArrayBase<S, D>,
) -> Result<ArrayBase<S, D>, LinalgError>
where S: DataMut<Elem = A>;
fn solve_h_tridiagonal<S>(
&self,
b: &ArrayBase<S, D>,
) -> Result<ArrayBase<OwnedRepr<A>, D>, LinalgError>
where S: Data<Elem = A>;
fn solve_h_tridiagonal_into<S>(
&self,
b: ArrayBase<S, D>,
) -> Result<ArrayBase<S, D>, LinalgError>
where S: DataMut<Elem = A>;
}Required Methods§
Sourcefn solve_tridiagonal<S>(
&self,
b: &ArrayBase<S, D>,
) -> Result<ArrayBase<OwnedRepr<A>, D>, LinalgError>where
S: Data<Elem = A>,
fn solve_tridiagonal<S>(
&self,
b: &ArrayBase<S, D>,
) -> Result<ArrayBase<OwnedRepr<A>, D>, LinalgError>where
S: Data<Elem = A>,
Solves a system of linear equations A * x = b with tridiagonal
matrix A, where A is self, b is the argument, and
x is the successful result.
Sourcefn solve_tridiagonal_into<S>(
&self,
b: ArrayBase<S, D>,
) -> Result<ArrayBase<S, D>, LinalgError>where
S: DataMut<Elem = A>,
fn solve_tridiagonal_into<S>(
&self,
b: ArrayBase<S, D>,
) -> Result<ArrayBase<S, D>, LinalgError>where
S: DataMut<Elem = A>,
Solves a system of linear equations A * x = b with tridiagonal
matrix A, where A is self, b is the argument, and
x is the successful result.
Sourcefn solve_t_tridiagonal<S>(
&self,
b: &ArrayBase<S, D>,
) -> Result<ArrayBase<OwnedRepr<A>, D>, LinalgError>where
S: Data<Elem = A>,
fn solve_t_tridiagonal<S>(
&self,
b: &ArrayBase<S, D>,
) -> Result<ArrayBase<OwnedRepr<A>, D>, LinalgError>where
S: Data<Elem = A>,
Solves a system of linear equations A^T * x = b with tridiagonal
matrix A, where A is self, b is the argument, and
x is the successful result.
Sourcefn solve_t_tridiagonal_into<S>(
&self,
b: ArrayBase<S, D>,
) -> Result<ArrayBase<S, D>, LinalgError>where
S: DataMut<Elem = A>,
fn solve_t_tridiagonal_into<S>(
&self,
b: ArrayBase<S, D>,
) -> Result<ArrayBase<S, D>, LinalgError>where
S: DataMut<Elem = A>,
Solves a system of linear equations A^T * x = b with tridiagonal
matrix A, where A is self, b is the argument, and
x is the successful result.
Sourcefn solve_h_tridiagonal<S>(
&self,
b: &ArrayBase<S, D>,
) -> Result<ArrayBase<OwnedRepr<A>, D>, LinalgError>where
S: Data<Elem = A>,
fn solve_h_tridiagonal<S>(
&self,
b: &ArrayBase<S, D>,
) -> Result<ArrayBase<OwnedRepr<A>, D>, LinalgError>where
S: Data<Elem = A>,
Solves a system of linear equations A^H * x = b with tridiagonal
matrix A, where A is self, b is the argument, and
x is the successful result.
Sourcefn solve_h_tridiagonal_into<S>(
&self,
b: ArrayBase<S, D>,
) -> Result<ArrayBase<S, D>, LinalgError>where
S: DataMut<Elem = A>,
fn solve_h_tridiagonal_into<S>(
&self,
b: ArrayBase<S, D>,
) -> Result<ArrayBase<S, D>, LinalgError>where
S: DataMut<Elem = A>,
Solves a system of linear equations A^H * x = b with tridiagonal
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.