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 )
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;