1 #ifndef MMSD_IntegerFullMatrix_H
2 #define MMSD_IntegerFullMatrix_H
6 #include "LAP_IntVector.h"
22 static tBoolean IS_RANDOMIZED_ENABLED;
25 LAP_IntVector mValues;
55 static inline SP::MMSD_IntegerFullMatrix
New() {
63 static inline SP::MMSD_IntegerFullMatrix
New(
const int& n,
const int& p) {
64 SP::MMSD_IntegerFullMatrix ptr=
New();
114 IS_RANDOMIZED_ENABLED=v;
virtual int & operator()(const tLVectorIndex &i, const tLVectorIndex &j)
get the element at row i & column j
Definition: MMSD_IntegerFullMatrix.h:86
void randomizeColumns()
randomize the order of the column
Definition: MMSD_IntegerFullMatrix.cpp:29
static SP::MMSD_IntegerFullMatrix New()
create a full matrix
Definition: MMSD_IntegerFullMatrix.h:55
static SP::MMSD_IntegerFullMatrix New(const int &n, const int &p)
create a full matrix
Definition: MMSD_IntegerFullMatrix.h:63
#define tBoolean
Definition: types.h:48
int computeCombinations(const int &p, const int &n)
compute the combinaison of P elements among N It creates a matrix of size (C_N^P x P) the column i is...
Definition: MMSD_IntegerFullMatrix.cpp:20
MMSD_IntegerFullMatrix(void)
create an object
Definition: MMSD_IntegerFullMatrix.cpp:7
DEFINE_SVPTR(MMSD_IntegerFullMatrix)
MMSD_IntegerFullMatrix & operator=(const int &s)
init all the matrix to s
Definition: MMSD_IntegerFullMatrix.h:92
DEFINE_SPTR(MMSD_IntegerFullMatrix)
virtual ~MMSD_IntegerFullMatrix(void)
destroy an object.
Definition: MMSD_IntegerFullMatrix.cpp:16
This class describes the FullMatrix class.
Definition: MMSD_IntegerFullMatrix.h:17
#define tLVectorIndex
Definition: lapack_types.h:13
static void setIsRandomizedEnabled(const tBoolean &v)
set if the randomized is enabled
Definition: MMSD_IntegerFullMatrix.h:113
this class describes a general matrix for lapack used : the matrix is stored in column mValues={T_{0...
Definition: LAP_Matrix.h:15
virtual tLVectorIndex getRowsNumber() const
get the lines number of the matrix from view
Definition: LAP_Matrix.h:116
virtual const int & operator()(const tLVectorIndex &i, const tLVectorIndex &j) const
get the element at row i & column j
Definition: MMSD_IntegerFullMatrix.h:76
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106