blas.h File Reference

Classes

Functions




Function Documentation

template<typename T >
void blas_symv ( const T  alpha,
const MArray< T, 2 > &  A,
const MArray< T, 1 > &  x,
const T  beta,
MArray< T, 2 > &  y 
) [inline]

The Xsymv() routine compute a matrix-vector product for of a symmetric or hermitian matrix: y = alpha*Ax + beta*y

The MArrays x and y may have strides unequal 1, hence they may be views, slices, or subarrays of higher-dimensional MArrays. The matrix A needs to have contiguous storage.

The vector y is overwritted with the result of the calculation.

template<typename T >
MArray<T,1> blas_symv ( const MArray< T, 2 > &  A,
const MArray< T, 1 > &  x 
) [inline]

The Xsymv() routine compute a matrix-vector product for double-precision data of either a general matrix or its transpose: y = Ax

The MArrays x may have strides unequal 1, hence it may be a view, slice, or subarray of a higher-dimensional MArray The matrix A needs to have contiguous storage.

The result of the calculation is returned in a newly allocated MArray.

template<typename T >
MArray<T,1> blas_gbmv ( const MArray< T, 2 > &  A,
const MArray< T, 1 > &  x,
const int  M,
const int  ku,
const int  kl,
const bool  transA 
) [inline]

The Xgbmv() routine compute a matrix-vector product for single or double-precision data of either a general banded matrix or its transpose: y = Ax

The MArrays x may have strides unequal 1, hence it may be a view, slice, or subarray of a higher-dimensional MArray The matrix A needs to have contiguous storage.

The result of the calculation is returned in a newly allocated MArray.


Generated on 19 Feb 2015 for LTL by  doxygen 1.6.1