2 #define BLAS_FUNC(NAME) CAT(CAT(SCALAR_PREFIX,NAME),_) 12 static inline std::string
name()
18 BLAS_FUNC(
gemv)(&
notrans,&
N,&
N,&fone,
A,&
N,
B,&
intone,&fzero,
X,&
intone);
38 BLAS_FUNC(
gemv)(&
trans,&
N,&
N,&fone,
A,&
N,
B,&
intone,&fzero,
X,&
intone);
42 BLAS_FUNC(
gemm)(&
notrans,&
notrans,&
N,&
N,&
N,&fone,
A,&
N,
B,&
N,&fzero,
X,&
N);
46 BLAS_FUNC(
gemm)(&
notrans,&
notrans,&
N,&
N,&
N,&fone,
A,&
N,
B,&
N,&fzero,
X,&
N);
72 if(info!=0) std::cerr <<
"potrf_ error " << info <<
"\n";
79 int * ipiv = (
int*)alloca(
sizeof(
int)*
N);
81 if(info!=0) std::cerr <<
"getrf_ error " << info <<
"\n";
91 BLAS_FUNC(
trsm)(&
right, &
lower, &
notrans, &
nonunit, &
N, &
N, &fone,
L, &
N,
X, &
N);
95 BLAS_FUNC(
trmm)(&
left, &
lower, &
notrans,&
nonunit, &
N,&
N,&fone,
A,&
N,
B,&
N);
104 int * ipiv = (
int*)alloca(
sizeof(
int)*
N);
105 int * jpiv = (
int*)alloca(
sizeof(
int)*
N);
121 int worksize = N*bsize;
136 int worksize = N*bsize;
int EIGEN_BLAS_FUNC() rot(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pc, RealScalar *ps)
int EIGEN_BLAS_FUNC() syr2(const char *uplo, const int *n, const RealScalar *palpha, const RealScalar *px, const int *incx, const RealScalar *py, const int *incy, RealScalar *pc, const int *ldc)
static void matrix_vector_product(gene_matrix &A, gene_vector &B, gene_vector &X, int N)
static void trmm(gene_matrix &A, gene_matrix &B, gene_matrix &, int N)
int EIGEN_BLAS_FUNC() trmm(const char *side, const char *uplo, const char *opa, const char *diag, const int *m, const int *n, const RealScalar *palpha, const RealScalar *pa, const int *lda, RealScalar *pb, const int *ldb)
static void trisolve_lower_matrix(const gene_matrix &L, const gene_matrix &B, gene_matrix &X, int N)
static void aat_product(gene_matrix &A, gene_matrix &X, int N)
static void transposed_matrix_matrix_product(gene_matrix &A, gene_matrix &B, gene_matrix &X, int N)
static void ger(gene_matrix &A, gene_vector &X, gene_vector &Y, int N)
static void symv(gene_matrix &A, gene_vector &B, gene_vector &X, int N)
static void syr2(gene_matrix &A, gene_vector &B, gene_vector &X, int N)
static void axpy(SCALAR coef, const gene_vector &X, gene_vector &Y, int N)
static std::string name()
int EIGEN_BLAS_FUNC() trsv(const char *uplo, const char *opa, const char *diag, const int *n, const RealScalar *pa, const int *lda, RealScalar *pb, const int *incb)
static void axpby(SCALAR a, const gene_vector &X, SCALAR b, gene_vector &Y, int N)
int EIGEN_BLAS_FUNC() gemv(const char *opa, const int *m, const int *n, const RealScalar *palpha, const RealScalar *pa, const int *lda, const RealScalar *pb, const int *incb, const RealScalar *pbeta, RealScalar *pc, const int *incc)
void hessenberg(int size=Size)
int EIGEN_BLAS_FUNC() ger(int *m, int *n, Scalar *palpha, Scalar *px, int *incx, Scalar *py, int *incy, Scalar *pa, int *lda)
EIGEN_DONT_INLINE void gemm(const A &a, const B &b, C &c)
int EIGEN_BLAS_FUNC() trsm(const char *side, const char *uplo, const char *opa, const char *diag, const int *m, const int *n, const RealScalar *palpha, const RealScalar *pa, const int *lda, RealScalar *pb, const int *ldb)
Matrix< Scalar, Dynamic, Dynamic > C
static void partial_lu_decomp(const gene_matrix &X, gene_matrix &C, int N)
static void trisolve_lower(const gene_matrix &L, const gene_vector &B, gene_vector &X, int N)
static void cholesky(const gene_matrix &X, gene_matrix &C, int N)
int EIGEN_BLAS_FUNC() symv(const char *uplo, const int *n, const RealScalar *palpha, const RealScalar *pa, const int *lda, const RealScalar *px, const int *incx, const RealScalar *pbeta, RealScalar *py, const int *incy)
static void atv_product(gene_matrix &A, gene_vector &B, gene_vector &X, int N)
static void matrix_matrix_product(gene_matrix &A, gene_matrix &B, gene_matrix &X, int N)
static void rot(gene_vector &A, gene_vector &B, SCALAR c, SCALAR s, int N)
int EIGEN_BLAS_FUNC() axpy(const int *n, const RealScalar *palpha, const RealScalar *px, const int *incx, RealScalar *py, const int *incy)
int EIGEN_BLAS_FUNC() syrk(const char *uplo, const char *op, const int *n, const int *k, const RealScalar *palpha, const RealScalar *pa, const int *lda, const RealScalar *pbeta, RealScalar *pc, const int *ldc)
int EIGEN_BLAS_FUNC() scal(int *n, RealScalar *palpha, RealScalar *px, int *incx)