[][src]Struct opensrdk_linear_algebra::matrix::st::SymmetricTridiagonalMatrix

pub struct SymmetricTridiagonalMatrix<T = f64> where
    T: Number
{ /* fields omitted */ }

Implementations

impl SymmetricTridiagonalMatrix<f64>[src]

pub fn pttrf(self) -> Result<(BidiagonalMatrix, Vec<f64>), Box<dyn Error>>[src]

Cholesky decomposition

for tridiagonal matrix

impl SymmetricTridiagonalMatrix<f64>[src]

pub fn stevd(self) -> Result<(Vec<f64>, Matrix), Box<dyn Error>>[src]

Eigen decomposition

return (lambda, pt)

impl SymmetricTridiagonalMatrix<f64>[src]

pub fn stev(self) -> Result<(Vec<f64>, Matrix), Box<dyn Error>>[src]

Eigen decomposition

return (lambda, pt)

impl<T> SymmetricTridiagonalMatrix<T> where
    T: Number
[src]

pub fn new(d: Vec<T>, e: Vec<T>) -> Result<Self, Box<dyn Error>>[src]

pub fn d(&self) -> &[T][src]

pub fn e(&self) -> &[T][src]

pub fn elems(self) -> (Vec<T>, Vec<T>)[src]

pub fn mat(&self) -> Matrix<T>[src]

Trait Implementations

impl<T: Clone> Clone for SymmetricTridiagonalMatrix<T> where
    T: Number
[src]

impl<T: Debug> Debug for SymmetricTridiagonalMatrix<T> where
    T: Number
[src]

impl<T: Default> Default for SymmetricTridiagonalMatrix<T> where
    T: Number
[src]

impl<T: Hash> Hash for SymmetricTridiagonalMatrix<T> where
    T: Number
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for SymmetricTridiagonalMatrix<T> where
    T: RefUnwindSafe

impl<T> Send for SymmetricTridiagonalMatrix<T>

impl<T> Sync for SymmetricTridiagonalMatrix<T>

impl<T> Unpin for SymmetricTridiagonalMatrix<T> where
    T: Unpin

impl<T> UnwindSafe for SymmetricTridiagonalMatrix<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.