10 #ifndef EIGEN_BLAS_COMMON_H 11 #define EIGEN_BLAS_COMMON_H 17 # define EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS 21 #include "../Eigen/Core" 22 #include "../Eigen/Jacobi" 27 #error the token SCALAR must be defined to compile this file 30 #include "../Eigen/src/misc/blas.h" 47 #define OP(X) ( ((X)=='N' || (X)=='n') ? NOTR \ 48 : ((X)=='T' || (X)=='t') ? TR \ 49 : ((X)=='C' || (X)=='c') ? ADJ \ 52 #define SIDE(X) ( ((X)=='L' || (X)=='l') ? LEFT \ 53 : ((X)=='R' || (X)=='r') ? RIGHT \ 56 #define UPLO(X) ( ((X)=='U' || (X)=='u') ? UP \ 57 : ((X)=='L' || (X)=='l') ? LO \ 60 #define DIAG(X) ( ((X)=='N' || (X)=='n') ? NUNIT \ 61 : ((X)=='U' || (X)=='u') ? UNIT \ 72 return SIDE(*side)!=0xff;
77 return UPLO(*uplo)!=0xff;
90 using namespace Eigen;
169 #ifndef EIGEN_BLAS_FUNC_SUFFIX 170 #define EIGEN_BLAS_FUNC_SUFFIX _ 173 #define EIGEN_BLAS_FUNC(X) EIGEN_CAT(SCALAR_SUFFIX, EIGEN_CAT(X, EIGEN_BLAS_FUNC_SUFFIX)) 175 #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