pub trait ExtractTridiagonal<A: Scalar> {
// Required method
fn extract_tridiagonal(&self) -> Result<Tridiagonal<A>>;
}
Expand description
An interface for making a Tridiagonal struct.
Required Methods§
sourcefn extract_tridiagonal(&self) -> Result<Tridiagonal<A>>
fn extract_tridiagonal(&self) -> Result<Tridiagonal<A>>
Extract tridiagonal elements and layout of the raw matrix.
If the raw matrix has some non-tridiagonal elements, they will be ignored.
The shape of raw matrix should be equal to or larger than (2, 2).