10 #ifndef EIGEN_BLAS_COMMON_H 11 #define EIGEN_BLAS_COMMON_H 13 #include "../Eigen/Core" 14 #include "../Eigen/Jacobi" 19 #error the token SCALAR must be defined to compile this file 22 #include "../Eigen/src/misc/blas.h" 39 #define OP(X) ( ((X)=='N' || (X)=='n') ? NOTR \ 40 : ((X)=='T' || (X)=='t') ? TR \ 41 : ((X)=='C' || (X)=='c') ? ADJ \ 44 #define SIDE(X) ( ((X)=='L' || (X)=='l') ? LEFT \ 45 : ((X)=='R' || (X)=='r') ? RIGHT \ 48 #define UPLO(X) ( ((X)=='U' || (X)=='u') ? UP \ 49 : ((X)=='L' || (X)=='l') ? LO \ 52 #define DIAG(X) ( ((X)=='N' || (X)=='n') ? NUNIT \ 53 : ((X)=='U' || (X)=='u') ? UNIT \ 69 return UPLO(*uplo)!=0xff;
82 using namespace Eigen;
161 #define EIGEN_BLAS_FUNC(X) EIGEN_CAT(SCALAR_SUFFIX,X##_) 163 #endif // EIGEN_BLAS_COMMON_H
Matrix< Scalar, Dynamic, Dynamic, ColMajor > PlainMatrixType
A matrix or vector expression mapping an existing array of data.
RealScalar RealScalar int * incx
T * copy_back(T *x_cpy, T *x, int n, int incx)
Namespace containing all symbols from the Eigen library.
Holds information about the various numeric (i.e. scalar) types allowed by Eigen. ...
std::complex< RealScalar > Complex
bool check_side(const char *side)
T * get_compact_vector(T *x, int n, int incx)
Map< const Matrix< Scalar, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > ConstMatrixType
Convenience specialization of Stride to specify only an inner stride See class Map for some examples...
NumTraits< Scalar >::Real RealScalar
Map< Matrix< Scalar, Dynamic, 1 >, 0, InnerStride< Dynamic > > StridedVectorType
bool check_uplo(const char *uplo)
Map< Matrix< T, Dynamic, 1 >, 0, InnerStride< Dynamic > > make_vector(T *data, int size, int incr)
bool check_op(const char *op)
Map< Matrix< Scalar, Dynamic, 1 > > CompactVectorType
Map< Matrix< T, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > matrix(T *data, int rows, int cols, int stride)
The matrix class, also used for vectors and row-vectors.
Convenience specialization of Stride to specify only an outer stride See class Map for some examples...
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
Map< Matrix< Scalar, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > MatrixType