SolveTridiagonal

Trait SolveTridiagonal 

Source
pub trait SolveTridiagonal<A, D>
where A: Scalar, D: Dimension,
{ // 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§

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Source

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.

Implementors§

Source§

impl<A> SolveTridiagonal<A, Dim<[usize; 1]>> for LUFactorizedTridiagonal<A>
where A: Scalar + Lapack,

Source§

impl<A> SolveTridiagonal<A, Dim<[usize; 1]>> for Tridiagonal<A>
where A: Scalar + Lapack,

Source§

impl<A> SolveTridiagonal<A, Dim<[usize; 2]>> for LUFactorizedTridiagonal<A>
where A: Scalar + Lapack,

Source§

impl<A> SolveTridiagonal<A, Dim<[usize; 2]>> for Tridiagonal<A>
where A: Scalar + Lapack,

Source§

impl<A, S> SolveTridiagonal<A, Dim<[usize; 1]>> for ArrayBase<S, Dim<[usize; 2]>>
where A: Scalar + Lapack, S: Data<Elem = A>,

Source§

impl<A, S> SolveTridiagonal<A, Dim<[usize; 2]>> for ArrayBase<S, Dim<[usize; 2]>>
where A: Scalar + Lapack, S: Data<Elem = A>,