lapack-traits 0.4.0

Generic real/complex scalar trait wrappers for BLAS and LAPACK routines
Documentation
mod amax;
mod asum;
mod axpy;
mod gemm;
mod herk;
mod nrm2;
mod syrk;

pub use amax::ITamax;
pub use asum::RTasum;
pub use axpy::Taxpy;
pub use gemm::Tgemm;
pub use herk::Therk;
pub use nrm2::Tnrm2;
pub use syrk::Tsyrk;

pub trait BlasScalar:
    ITamax +
    RTasum +
    Taxpy +
    Tgemm +
    Therk +
    Tnrm2 +
    Tsyrk
 { }

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