OpenFOAM logo
Open Source CFD Toolkit

Matrix.H File Reference


Detailed Description

View Matrix.H
License
This file is part of OpenFOAM.

OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.

OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Description
Matrix<T> is a 2D matrix of objects of type T, where the n x m size of
the matrix is known and used for subscript bounds checking, etc.

Source files

Definition in file Matrix.H.

Go to the source code of this file.

Namespaces

namespace  Foam

Classes

class  Matrix

Functions

template<class T>
const T & max (const Matrix< T > &)
template<class T>
const T & min (const Matrix< T > &)
template<class T>
Matrix< T > operator- (const Matrix< T > &)
template<class T>
Matrix< T > operator+ (const Matrix< T > &, const Matrix< T > &)
template<class T>
Matrix< T > operator- (const Matrix< T > &, const Matrix< T > &)
template<class T>
Matrix< T > operator * (const scalar, const Matrix< T > &)
template<class T>
Istream & operator>> (Istream &, Matrix< T > &)
template<class T>
Ostream & operator<< (Ostream &, const Matrix< T > &)


Function Documentation

const T& max const Matrix< T > &   ) 
 

Referenced by boundBox::boundBox(), specie::operator *=(), DynamicList::operator()(), specie::operator=(), and treeBoundBox::treeBoundBox().

const T& min const Matrix< T > &   ) 
 

Referenced by boundBox::boundBox(), and treeBoundBox::treeBoundBox().

Matrix<T> operator * const   scalar,
const Matrix< T > & 
 

Matrix<T> operator+ const Matrix< T > &  ,
const Matrix< T > & 
 

Matrix<T> operator- const Matrix< T > &  ,
const Matrix< T > & 
 

Matrix<T> operator- const Matrix< T > &   ) 
 

Ostream& operator<< Ostream &  ,
const Matrix< T > & 
 

Istream& operator>> Istream &  ,
Matrix< T > & 
 

For further information go to www.openfoam.org