OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

RectangularMatrix< Type > Class Template Reference

A templated 2D rectangular matrix of objects of <T>, where the n x n matrix dimension is known and used for subscript bounds checking, etc. More...

Inheritance diagram for RectangularMatrix< Type >:
Collaboration diagram for RectangularMatrix< Type >:

List of all members.


Public Member Functions

 RectangularMatrix ()
 Null constructor.
 RectangularMatrix (const label m, const label n)
 Construct given number of rows and columns,.
 RectangularMatrix (const label m, const label n, const Type &)
 Construct with given number of rows and columns.
 RectangularMatrix (Istream &)
 Construct from Istream.
autoPtr< RectangularMatrix
< Type > > 
clone () const
 Clone.

Detailed Description

template<class Type>
class Foam::RectangularMatrix< Type >

A templated 2D rectangular matrix of objects of <T>, where the n x n matrix dimension is known and used for subscript bounds checking, etc.

Source files

Definition at line 47 of file RectangularMatrix.H.


Constructor & Destructor Documentation

RectangularMatrix (  )  [inline]

Null constructor.

Definition at line 21 of file RectangularMatrixI.H.

RectangularMatrix ( const label  m,
const label  n 
) [inline]

Construct given number of rows and columns,.

Definition at line 28 of file RectangularMatrixI.H.

RectangularMatrix ( const label  m,
const label  n,
const Type &  t 
) [inline]

Construct with given number of rows and columns.

and value for all elements.

Definition at line 38 of file RectangularMatrixI.H.

RectangularMatrix ( Istream &  is  )  [inline]

Construct from Istream.

Definition at line 48 of file RectangularMatrixI.H.


Member Function Documentation

Foam::autoPtr< Foam::RectangularMatrix< Type > > clone (  )  const [inline]

Clone.

Reimplemented from Matrix< RectangularMatrix< Type >, Type >.

Definition at line 55 of file RectangularMatrixI.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd