MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Vector is a 1xL Matrix. More...
#include <MsqMatrix.hpp>
Public Member Functions | |
MsqVector () | |
MsqVector (double v) | |
MsqVector (const double *v) | |
MsqVector (const char *s) | |
MsqVector (const std::string &s) | |
MsqVector (const MsqMatrix< L, 1 > &pm) | |
double & | operator[] (unsigned idx) |
double | operator[] (unsigned idx) const |
double & | operator() (unsigned idx) |
double | operator() (unsigned idx) const |
MsqVector< L > & | operator= (const MsqMatrix< L, 1 > &p_m) |
Vector is a 1xL Matrix.
Define a Vector as a 1xL Matrix Add single-index access operators
Definition at line 372 of file MsqMatrix.hpp.
MBMesquite::MsqVector< L >::MsqVector | ( | ) | [inline] |
Definition at line 375 of file MsqMatrix.hpp.
{}
MBMesquite::MsqVector< L >::MsqVector | ( | double | v | ) | [inline] |
Definition at line 376 of file MsqMatrix.hpp.
{ MsqMatrix< L, 1 >::set( v ); }
MBMesquite::MsqVector< L >::MsqVector | ( | const double * | v | ) | [inline] |
Definition at line 380 of file MsqMatrix.hpp.
{ MsqMatrix< L, 1 >::set( v ); }
MBMesquite::MsqVector< L >::MsqVector | ( | const char * | s | ) | [inline] |
Definition at line 384 of file MsqMatrix.hpp.
{ MsqMatrix< L, 1 >::set( s ); }
MBMesquite::MsqVector< L >::MsqVector | ( | const std::string & | s | ) | [inline] |
Definition at line 388 of file MsqMatrix.hpp.
{ MsqMatrix< L, 1 >::set( s ); }
MBMesquite::MsqVector< L >::MsqVector | ( | const MsqMatrix< L, 1 > & | pm | ) | [inline] |
Definition at line 392 of file MsqMatrix.hpp.
: MsqMatrix< L, 1 >( pm ) {}
double& MBMesquite::MsqVector< L >::operator() | ( | unsigned | idx | ) | [inline] |
Definition at line 402 of file MsqMatrix.hpp.
Referenced by MBMesquite::MsqVector< 3 >::operator()(), and MBMesquite::MsqVector< 3 >::operator[]().
{ return MsqMatrix< L, 1 >::operator()( idx, 0 ); }
double MBMesquite::MsqVector< L >::operator() | ( | unsigned | idx | ) | const [inline] |
Definition at line 406 of file MsqMatrix.hpp.
{ return MsqMatrix< L, 1 >::operator()( idx, 0 ); }
MsqVector< L >& MBMesquite::MsqVector< L >::operator= | ( | const MsqMatrix< L, 1 > & | p_m | ) | [inline] |
Definition at line 411 of file MsqMatrix.hpp.
Referenced by MBMesquite::MsqVector< 3 >::operator=().
{ MsqMatrix< L, 1 >::operator=( p_m ); return *this; }
double& MBMesquite::MsqVector< L >::operator[] | ( | unsigned | idx | ) | [inline] |
Definition at line 394 of file MsqMatrix.hpp.
{ return MsqMatrix< L, 1 >::operator()( idx, 0 ); }
double MBMesquite::MsqVector< L >::operator[] | ( | unsigned | idx | ) | const [inline] |
Definition at line 398 of file MsqMatrix.hpp.
{ return MsqMatrix< L, 1 >::operator()( idx, 0 ); }