MOAB: Mesh Oriented datABase  (version 5.2.1)
MBMesquite::MsqVector< L > Class Template Reference

Vector is a 1xL Matrix. More...

#include <MsqMatrix.hpp>

+ Inheritance diagram for MBMesquite::MsqVector< L >:
+ Collaboration diagram for MBMesquite::MsqVector< L >:

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)

Detailed Description

template<unsigned L>
class MBMesquite::MsqVector< L >

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.


Constructor & Destructor Documentation

template<unsigned L>
MBMesquite::MsqVector< L >::MsqVector ( ) [inline]

Definition at line 375 of file MsqMatrix.hpp.

{}
template<unsigned L>
MBMesquite::MsqVector< L >::MsqVector ( double  v) [inline]

Definition at line 376 of file MsqMatrix.hpp.

template<unsigned L>
MBMesquite::MsqVector< L >::MsqVector ( const double *  v) [inline]

Definition at line 380 of file MsqMatrix.hpp.

template<unsigned L>
MBMesquite::MsqVector< L >::MsqVector ( const char *  s) [inline]

Definition at line 384 of file MsqMatrix.hpp.

template<unsigned L>
MBMesquite::MsqVector< L >::MsqVector ( const std::string &  s) [inline]

Definition at line 388 of file MsqMatrix.hpp.

template<unsigned L>
MBMesquite::MsqVector< L >::MsqVector ( const MsqMatrix< L, 1 > &  pm) [inline]

Definition at line 392 of file MsqMatrix.hpp.

: MsqMatrix< L, 1 >( pm ) {}

Member Function Documentation

template<unsigned L>
double& MBMesquite::MsqVector< L >::operator() ( unsigned  idx) [inline]
template<unsigned L>
double MBMesquite::MsqVector< L >::operator() ( unsigned  idx) const [inline]

Definition at line 406 of file MsqMatrix.hpp.

    {
        return MsqMatrix< L, 1 >::operator()( idx, 0 );
    }
template<unsigned L>
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;
    }
template<unsigned L>
double& MBMesquite::MsqVector< L >::operator[] ( unsigned  idx) [inline]

Definition at line 394 of file MsqMatrix.hpp.

    {
        return MsqMatrix< L, 1 >::operator()( idx, 0 );
    }
template<unsigned L>
double MBMesquite::MsqVector< L >::operator[] ( unsigned  idx) const [inline]

Definition at line 398 of file MsqMatrix.hpp.

    {
        return MsqMatrix< L, 1 >::operator()( idx, 0 );
    }

List of all members.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines