MOAB: Mesh Oriented datABase  (version 5.2.1)
MBMesquite::MsqMatrixA< R, C > Class Template Reference

A subclass of MsqMatrix that behaves more like the old Matrix3D class. More...

#include <MsqMatrix.hpp>

+ Inheritance diagram for MBMesquite::MsqMatrixA< R, C >:
+ Collaboration diagram for MBMesquite::MsqMatrixA< R, C >:

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)

Detailed Description

template<unsigned R, unsigned C>
class MBMesquite::MsqMatrixA< R, C >

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.


Constructor & Destructor Documentation

template<unsigned R, unsigned C>
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().

template<unsigned R, unsigned C>
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().

template<unsigned R, unsigned C>
MBMesquite::MsqMatrixA< R, C >::MsqMatrixA ( const double *  v) [inline]

Definition at line 438 of file MsqMatrix.hpp.

References MBMesquite::MsqMatrix< R, C >::set().

template<unsigned R, unsigned C>
MBMesquite::MsqMatrixA< R, C >::MsqMatrixA ( const char *  s) [inline]

Definition at line 442 of file MsqMatrix.hpp.

References MBMesquite::MsqMatrix< R, C >::set().

template<unsigned R, unsigned C>
MBMesquite::MsqMatrixA< R, C >::MsqMatrixA ( const std::string &  s) [inline]

Definition at line 446 of file MsqMatrix.hpp.

References MBMesquite::MsqMatrix< R, C >::set().

template<unsigned R, unsigned C>
MBMesquite::MsqMatrixA< R, C >::MsqMatrixA ( const MsqMatrix< R, C > &  m) [inline]

Definition at line 450 of file MsqMatrix.hpp.

: MsqMatrix< R, C >( m ) {}
template<unsigned R, unsigned C>
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().


Member Function Documentation

template<unsigned R, unsigned 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;
    }
template<unsigned R, unsigned C>
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;
    }
template<unsigned R, unsigned C>
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;
    }

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