19 #ifndef ACTION_CHOLESKY 20 #define ACTION_CHOLESKY 21 #include "utilities.h" 30 template<
class Interface>
39 MESSAGE(
"Action_cholesky Ctor");
42 init_matrix_symm<pseudo_random>(X_stl,_size);
43 init_matrix<null_function>(C_stl,_size);
46 for (
int i=0;
i<_size; ++
i)
50 Interface::matrix_from_stl(X_ref,X_stl);
51 Interface::matrix_from_stl(
X,X_stl);
52 Interface::matrix_from_stl(
C,C_stl);
55 for (
int j=0;
j<_size; ++
j)
66 INFOS(
"illegal call to Action_cholesky Copy Ctor");
74 MESSAGE(
"Action_cholesky Dtor");
77 Interface::free_matrix(X_ref,_size);
78 Interface::free_matrix(
X,_size);
79 Interface::free_matrix(
C,_size);
84 static inline std::string
name(
void )
94 Interface::copy_matrix(X_ref,
X,_size);
117 typename Interface::stl_matrix
X_stl;
118 typename Interface::stl_matrix
C_stl;
120 typename Interface::gene_matrix
X_ref;
121 typename Interface::gene_matrix
X;
122 typename Interface::gene_matrix
C;
Action_cholesky(const Action_cholesky &)
Interface::gene_matrix X_ref
Interface::stl_matrix C_stl
Action_cholesky(int size)
Interface::stl_matrix X_stl
Matrix< Scalar, Dynamic, Dynamic > C
void cholesky(const MatrixType &m)
static std::string name(void)