MOAB: Mesh Oriented datABase
(version 5.4.1)
|
A subclass of MsqMatrix that behaves more like the old Matrix3D class. More...
#include <MsqMatrix.hpp>
Public Member Functions | |
MsqMatrixA () | |
MsqMatrixA (double v) | |
MsqMatrixA (const double *v) | |
MsqMatrixA (const char *s) | |
MsqMatrixA (const std::string &s) | |
MsqMatrixA (const MsqMatrix< R, C > &m) | |
MsqMatrixA (const MsqMatrix< R+1, C+1 > &m, unsigned r, unsigned c) | |
double * | operator[] (unsigned idx) |
const double * | operator[] (unsigned idx) const |
MsqMatrixA< R, C > & | operator= (const MsqMatrixA< R, C > &m) |
A subclass of MsqMatrix that behaves more like the old Matrix3D class.
A MsqMartix that behaves more like the old Matrx3D class. * Constructors are different--be careful. * Adds operator[] for c-array style access.
Definition at line 425 of file MsqMatrix.hpp.
MBMesquite::MsqMatrixA< R, C >::MsqMatrixA | ( | ) | [inline] |
Initialize all elements to zero
Definition at line 429 of file MsqMatrix.hpp.
References MBMesquite::MsqMatrix< R, C >::set().
{ MsqMatrix< R, C >::set( 0 ); }
MBMesquite::MsqMatrixA< R, C >::MsqMatrixA | ( | double | v | ) | [inline] |
Initialize all elements to passed value
Definition at line 434 of file MsqMatrix.hpp.
References MBMesquite::MsqMatrix< R, C >::set().
{ MsqMatrix< R, C >::set( v ); }
MBMesquite::MsqMatrixA< R, C >::MsqMatrixA | ( | const double * | v | ) | [inline] |
Definition at line 438 of file MsqMatrix.hpp.
References MBMesquite::MsqMatrix< R, C >::set().
{ MsqMatrix< R, C >::set( v ); }
MBMesquite::MsqMatrixA< R, C >::MsqMatrixA | ( | const char * | s | ) | [inline] |
Definition at line 442 of file MsqMatrix.hpp.
References MBMesquite::MsqMatrix< R, C >::set().
{ MsqMatrix< R, C >::set( s ); }
MBMesquite::MsqMatrixA< R, C >::MsqMatrixA | ( | const std::string & | s | ) | [inline] |
Definition at line 446 of file MsqMatrix.hpp.
References MBMesquite::MsqMatrix< R, C >::set().
{ MsqMatrix< R, C >::set( s ); }
MBMesquite::MsqMatrixA< R, C >::MsqMatrixA | ( | const MsqMatrix< R, C > & | m | ) | [inline] |
Definition at line 450 of file MsqMatrix.hpp.
: MsqMatrix< R, C >( m ) {}
MBMesquite::MsqMatrixA< R, C >::MsqMatrixA | ( | const MsqMatrix< R+1, C+1 > & | m, |
unsigned | r, | ||
unsigned | c | ||
) | [inline] |
Definition at line 451 of file MsqMatrix.hpp.
References MBMesquite::MsqMatrix< R, C >::make_minor().
{ MsqMatrix< R, C >::make_minor( m, r, c ); }
MsqMatrixA< R, C >& MBMesquite::MsqMatrixA< R, C >::operator= | ( | const MsqMatrixA< R, C > & | m | ) | [inline] |
Definition at line 465 of file MsqMatrix.hpp.
{ MsqMatrixA< R, C >::operator=( m ); return *this; }
double* MBMesquite::MsqMatrixA< R, C >::operator[] | ( | unsigned | idx | ) | [inline] |
Definition at line 456 of file MsqMatrix.hpp.
References C.
{ return MsqMatrix< R, C >::m + C * idx; }
const double* MBMesquite::MsqMatrixA< R, C >::operator[] | ( | unsigned | idx | ) | const [inline] |
Definition at line 460 of file MsqMatrix.hpp.
References C.
{ return MsqMatrix< R, C >::m + C * idx; }