Go to the documentation of this file.
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);
100 static inline void lu_decomp(
const gene_matrix &
X, gene_matrix &
C,
int N){
104 int * ipiv = (
int*)alloca(
sizeof(
int)*
N);
105 int * jpiv = (
int*)alloca(
sizeof(
int)*
N);
111 static inline void hessenberg(
const gene_matrix &
X, gene_matrix &
C,
int N){
121 int worksize =
N*bsize;
127 static inline void tridiagonalization(
const gene_matrix &
X, gene_matrix &
C,
int N){
136 int worksize =
N*bsize;
EIGEN_DONT_INLINE void gemv(const Mat &A, const Vec &B, Vec &C)
void hessenberg(int size=Size)
static void transposed_matrix_matrix_product(gene_matrix &A, gene_matrix &B, gene_matrix &X, int N)
static const double d[K][N]
static void matrix_vector_product(gene_matrix &A, gene_vector &B, gene_vector &X, int N)
GaussianFactorGraphValuePair Y
static void ger(gene_matrix &A, gene_vector &X, gene_vector &Y, int N)
static void axpby(SCALAR a, const gene_vector &X, SCALAR b, gene_vector &Y, int N)
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)
int EIGEN_BLAS_FUNC() ger(int *m, int *n, Scalar *palpha, Scalar *px, int *incx, Scalar *py, int *incy, Scalar *pa, int *lda)
static void rot(gene_vector &A, gene_vector &B, SCALAR c, SCALAR s, int N)
static void axpy(SCALAR coef, const gene_vector &X, gene_vector &Y, int N)
static void trisolve_lower(const gene_matrix &L, const gene_vector &B, gene_vector &X, int N)
int EIGEN_BLAS_FUNC() scal(int *n, RealScalar *palpha, RealScalar *px, int *incx)
int EIGEN_BLAS_FUNC() rot(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy, RealScalar *pc, RealScalar *ps)
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 syr2(gene_matrix &A, gene_vector &B, gene_vector &X, int N)
static void ata_product(gene_matrix &A, gene_matrix &X, int N)
static void matrix_matrix_product(gene_matrix &A, gene_matrix &B, gene_matrix &X, 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)
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)
EIGEN_DONT_INLINE void gemm(const A &a, const B &b, C &c)
static void cholesky(const gene_matrix &X, gene_matrix &C, int N)
static void atv_product(gene_matrix &A, gene_vector &B, gene_vector &X, int N)
Matrix< Scalar, Dynamic, Dynamic > C
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 symv(gene_matrix &A, gene_vector &B, gene_vector &X, int N)
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 trmm(gene_matrix &A, gene_matrix &B, gene_matrix &, int N)
static void trisolve_lower_matrix(const gene_matrix &L, const gene_matrix &B, gene_matrix &X, int N)
static std::string name()
static void aat_product(gene_matrix &A, gene_matrix &X, int N)
static void partial_lu_decomp(const gene_matrix &X, gene_matrix &C, int N)
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:12