19#ifndef ACTION_LU_DECOMP
20#define ACTION_LU_DECOMP
22#include "STL_interface.hh"
30template<
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 )
79 return "complete_lu_decomp_"+Interface::name();
87 Interface::copy_matrix(X_ref,X,_size);
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;
114 typename Interface::stl_matrix resu_stl;
116 typename Interface::gene_matrix X_ref;
117 typename Interface::gene_matrix X;
118 typename Interface::gene_matrix
C;
Scalar Scalar int size
Definition benchVecAdd.cpp:17
Definition action_lu_decomp.hh:31
void initialize(void)
Definition action_lu_decomp.hh:86
double nb_op_base(void)
Definition action_lu_decomp.hh:82
~Action_lu_decomp(void)
Definition action_lu_decomp.hh:65
void calculate(void)
Definition action_lu_decomp.hh:90
static std::string name(void)
Definition action_lu_decomp.hh:77
Action_lu_decomp(const Action_lu_decomp &)
Definition action_lu_decomp.hh:57
void check_result(void)
Definition action_lu_decomp.hh:94
Action_lu_decomp(int size)
Definition action_lu_decomp.hh:37
#define INFOS(chain)
Definition utilities.h:22
#define MESSAGE(chain)
Definition utilities.h:76