|
Index
C++ Code Documentation
template <class Real> math::blas
File: BASE/math/Blas.H
Wrapper for BLAS (Basic Linear Algebra Subroutines)
BLAS (Basic Linear Algebra Subprograms)
wrapper for inter-platform compatibility
supports: zcopy, zscal, zaxpy, zdotc
supports only std::complex versions
Provides four versions, determined by the BLAS macro:
1. Generic, written with for-loops. BLAS undefined, or non float/double
2. IRIX blas and scsl_blas: defined(BLAS_IRIX)
3. IRIX older version: defined(BLAS_IRIX_OLD)
4. Linux version: defined(BLAS_LINUX)
public:
- static inline void zcopy( int n, std::complex<Real> const *x, int incx, std::complex<Real> *y, int incy );
- static inline void zscal( int n, std::complex<Real> const &alpha, std::complex<Real> *x, int incx );
- static inline void zdscal( int n, Real const &alpha, std::complex<Real> *x, int incx );
- static inline void zaxpy( int n, std::complex<Real> const &a, std::complex<Real> const *x, int incx, std::complex<Real> *y, int incy );
- static inline void zaxpby( int n, std::complex<Real> const &a, std::complex<Real> const *x, int incx, std::complex<Real> const &b, std::complex<Real> *y, int incy );
- static inline std::complex<Real> zdotc( int n, std::complex<Real> const *x, int incx, std::complex<Real> const *y, int incy );
- static inline std::complex<Real> zdotu( int n, std::complex<Real> const *x, int incx, std::complex<Real> const *y, int incy );
protected:
private:
|