lapack-traits 0.4.0

Generic real/complex scalar trait wrappers for BLAS and LAPACK routines
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod geqrf;
mod gesv;
mod heevx;
mod heevr;

pub use gesv::Tgesv;
pub use heevx::Theevx;
pub use geqrf::Tgeqrf;
use crate::blas::BlasScalar;

pub trait LapackScalar: BlasScalar
  + Tgeqrf +Tgesv + Theevx { }

impl LapackScalar for f32{}
impl LapackScalar for f64{}
impl LapackScalar for num_complex::Complex<f32>{}
impl LapackScalar for num_complex::Complex<f64>{}