FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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...

#include <OpenFOAM/RectangularMatrix.H>


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 52 of file RectangularMatrix.H.

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.

Constructor & Destructor Documentation

RectangularMatrix (  ) [inline]

Null constructor.

Definition at line 29 of file RectangularMatrixI.H.

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

Construct given number of rows and columns,.

Definition at line 36 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 46 of file RectangularMatrixI.H.

RectangularMatrix ( Istream &   is  ) [inline]

Construct from Istream.

Definition at line 56 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 63 of file RectangularMatrixI.H.


The documentation for this class was generated from the following files: