1 #ifndef MATH_MaskMatrix_H 2 #define MATH_MaskMatrix_H 83 "MATH_MaskMatrix::product(beta,X,alpha,Y)",
91 "MATH_MaskMatrix::product(beta,X,alpha,Y)",
111 const tReal *x0=&x[sx];
115 "MATH_MaskMatrix::product(beta,X,alpha,Y)",
116 "Y pointer must be different from X pointer is not a real field");
120 product(nX,alpha,incx,x0,beta,incy,y0);
151 "MATH_MaskMatrix::product(beta,X,Y)",
172 const tReal *x0=&x[sx];
176 "MATH_MaskMatrix::product(alpha,X,Y)",
177 "Y pointer must be different from X pointer is not a real field");
180 product(nX,alpha,incx,x0,0.,incy,y0);
193 "MATH_MaskMatrix::product(X,Y)",
215 const tReal *x0=&x[sx];
219 "MATH_MaskMatrix::product(X,Y)",
220 "Y pointer must be different from X pointer is not a real field");
223 product(nX,1.,incx,x0,0.,incy,y0);
virtual ~MATH_MaskMatrix(void)
destroy a vector
Definition: MATH_MaskMatrix.h:41
This class describes a general matrix interface used in solver.
Definition: MATH_Matrix.h:20
SP_OBJECT(MATH_MaskMatrix)
virtual tUIndex getRowsNumber() const =0
get the rows number of the matrix
#define tUCInt
Definition: types.h:21
#define tUSInt
Definition: types.h:28
tString toString() const
return the string associated to the integer
Definition: CORE_Integer.h:106
Definition: MATH_MaskVector.h:16
#define null
Definition: types.h:144
virtual void product(const tReal &alpha, const MATH_Vector &x, MATH_Vector &y) const
Y=alpha.T.x where T is this.
Definition: MATH_MaskMatrix.h:130
virtual void product(const tReal &alpha, const MATH_Vector &x, const tReal &beta, MATH_Vector &y) const
y:=alpha T . x + beta Y where T is this
Definition: MATH_MaskMatrix.h:69
virtual void init(const tReal &alpha)
init the value to alpha
Definition: MATH_Vector.cpp:12
this class describes the exceptions raised for CORE package
Definition: CORE_Exception.h:15
This class impements the MATH_MaskMatrix whci deals with mask vector.
Definition: MATH_MaskMatrix.h:19
const tUIndex & getStartIndex() const
get the start index of the vector
Definition: MATH_MaskVector.h:125
virtual tReal dot(const MATH_Vector &x) const
s=x^t.T where T is this
Definition: MATH_Vector.cpp:480
This class describes a masked vector.
Definition: MATH_Vector.h:16
virtual void product(const MATH_Vector &x, MATH_Vector &y) const
b=T.x where T is this
Definition: MATH_MaskMatrix.h:188
const tUSInt & getIncrement() const
get the increment of the vector
Definition: MATH_MaskVector.h:119
MATH_MaskMatrix(void)
create a Mask Matrix
Definition: MATH_MaskMatrix.h:30
virtual tUIndex getSize() const =0
get the utile size of the vector
#define tUIndex
Definition: types.h:126
DEFINE_SPTR(MATH_MaskMatrix)
virtual void setSize(const tUIndex &n)=0
set the size of the vector
virtual tUIndex getColumnsNumber() const =0
get the columns number of the matrix
#define tReal
Definition: types.h:118