40 #ifndef __MO_MATH_DMATRIX_H__
41 #define __MO_MATH_DMATRIX_H__
51 moDMatrix (
int iRows,
int iCols,
const Real* afData);
52 moDMatrix (
int iRows,
int iCols,
const Real** aafEntry);
57 void SetSize (
int iRows,
int iCols);
58 void GetSize (
int& riRows,
int& riCols)
const;
60 int GetColumns ()
const;
61 int GetQuantity ()
const;
62 operator const Real* ()
const;
66 void SwapRows (
int iRow0,
int iRow1);
73 void SetMatrix (
int iRows,
int iCols,
const Real* afEntry);
74 void SetMatrix (
int iRows,
int iCols,
const Real** aafMatrix);
120 void Allocate (
bool bSetToZero);
124 int CompareArrays (
const moDMatrix& rkM)
const;
138 template <
class Real>
142 template <
class Real>
161 template <
class Real>
171 int GetSize ()
const;
172 int GetLBands ()
const;
173 int GetUBands ()
const;
176 const Real* GetDBand ()
const;
178 int GetLBandMax (
int i)
const;
179 Real* GetLBand (
int i);
180 const Real* GetLBand (
int i)
const;
182 int GetUBandMax (
int i)
const;
183 Real* GetUBand (
int i);
184 const Real* GetUBand (
int i)
const;
196 int m_iSize, m_iLBands, m_iUBands;
bool operator<=(const moMatrix3 &rkM) const
moDMatrix< MOdouble > moDMatrixd
moDMatrix< MOfloat > moDMatrixf
moMatrix3 operator-(const moMatrix3 &rkM) const
moMatrix3 operator/(Real fScalar) const
bool operator>(const moMatrix3 &rkM) const
Real QForm(const moVector3< Real > &rkU, const moVector3< Real > &rkV) const
Clase base abstracta de donde deben derivar los objetos [virtual pura].
void SetRow(int iRow, const moVector3< Real > &rkV)
moDBandedMatrix< MOfloat > moDBandedMatrixf
void GetColumnMajor(Real *afCMajor) const
moMatrix3 & operator-=(const moMatrix3 &rkM)
bool operator==(const moMatrix3 &rkM) const
void SetColumn(int iCol, const moVector3< Real > &rkV)
moVector3< Real > GetRow(int iRow) const
bool operator<(const moMatrix3 &rkM) const
moVector3< Real > GetColumn(int iCol) const
moMatrix3 & operator/=(Real fScalar)
moMatrix3< Real > TimesTranspose(const moMatrix3 &rkM) const
moDBandedMatrix< MOdouble > moDBandedMatrixd
bool operator!=(const moMatrix3 &rkM) const
moMatrix3 & operator*=(Real fScalar)
bool operator>=(const moMatrix3 &rkM) const
moMatrix3 & operator=(const moMatrix3 &rkM)
moMatrix3< Real > Transpose() const
Real operator()(int iRow, int iCol) const
moDMatrix< Real > operator*(Real fScalar, const moDMatrix< Real > &rkM)
moMatrix3 operator+(const moMatrix3 &rkM) const
moMatrix3 & operator+=(const moMatrix3 &rkM)
moMatrix3< Real > TransposeTimes(const moMatrix3 &rkM) const
const Real * operator[](int iRow) const