19 #ifndef ACTION_LU_DECOMP
20 #define ACTION_LU_DECOMP
21 #include "utilities.h"
30 template<
class Interface>
39 MESSAGE(
"Action_lu_decomp Ctor");
42 init_matrix<pseudo_random>(X_stl,_size);
44 init_matrix<null_function>(C_stl,_size);
45 init_matrix<null_function>(resu_stl,_size);
48 Interface::matrix_from_stl(X_ref,X_stl);
49 Interface::matrix_from_stl(
X,X_stl);
50 Interface::matrix_from_stl(
C,C_stl);
59 INFOS(
"illegal call to Action_lu_decomp Copy Ctor");
67 MESSAGE(
"Action_lu_decomp Dtor");
70 Interface::free_matrix(X_ref,_size);
71 Interface::free_matrix(
X,_size);
72 Interface::free_matrix(
C,_size);
77 static inline std::string
name(
void )
91 Interface::lu_decomp(
X,
C,_size);
96 Interface::matrix_to_stl(
C,resu_stl);
112 typename Interface::stl_matrix
X_stl;
113 typename Interface::stl_matrix
C_stl;
116 typename Interface::gene_matrix
X_ref;
117 typename Interface::gene_matrix
X;
118 typename Interface::gene_matrix
C;