Trait ndarray_linalg::tridiagonal::SolveTridiagonal
source · pub trait SolveTridiagonal<A: Scalar, D: Dimension> {
// Required methods
fn solve_tridiagonal<S: Data<Elem = A>>(
&self,
b: &ArrayBase<S, D>,
) -> Result<Array<A, D>>;
fn solve_tridiagonal_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, D>,
) -> Result<ArrayBase<S, D>>;
fn solve_t_tridiagonal<S: Data<Elem = A>>(
&self,
b: &ArrayBase<S, D>,
) -> Result<Array<A, D>>;
fn solve_t_tridiagonal_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, D>,
) -> Result<ArrayBase<S, D>>;
fn solve_h_tridiagonal<S: Data<Elem = A>>(
&self,
b: &ArrayBase<S, D>,
) -> Result<Array<A, D>>;
fn solve_h_tridiagonal_into<S: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, D>,
) -> Result<ArrayBase<S, D>>;
}
Required Methods§
sourcefn solve_tridiagonal<S: Data<Elem = A>>(
&self,
b: &ArrayBase<S, D>,
) -> Result<Array<A, D>>
fn solve_tridiagonal<S: Data<Elem = A>>( &self, b: &ArrayBase<S, D>, ) -> Result<Array<A, D>>
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: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, D>,
) -> Result<ArrayBase<S, D>>
fn solve_tridiagonal_into<S: DataMut<Elem = A>>( &self, b: ArrayBase<S, D>, ) -> Result<ArrayBase<S, D>>
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: Data<Elem = A>>(
&self,
b: &ArrayBase<S, D>,
) -> Result<Array<A, D>>
fn solve_t_tridiagonal<S: Data<Elem = A>>( &self, b: &ArrayBase<S, D>, ) -> Result<Array<A, D>>
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: DataMut<Elem = A>>(
&self,
b: ArrayBase<S, D>,
) -> Result<ArrayBase<S, D>>
fn solve_t_tridiagonal_into<S: DataMut<Elem = A>>( &self, b: ArrayBase<S, D>, ) -> Result<ArrayBase<S, D>>
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.
Object Safety§
This trait is not object safe.