Loading...
Searching...
No Matches
MatrixTools.H File Reference
Include dependency graph for MatrixTools.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Foam::MatrixTools
 Collection of functions for matrix-related verifications.
namespace  Foam
 Namespace for OpenFOAM.

Functions

template<class Form1, class Form2, class Type>
bool equal (const Matrix< Form1, Type > &A, const Matrix< Form2, Type > &B, const bool verbose=false, const label maxDiffs=10, const scalar relTol=1e-5, const scalar absTol=1e-8)
 Compare matrix elements for absolute or relative equality.
template<class Container>
OstreamprintMatrix (Ostream &os, const Container &mat)
 Simple ASCII output of Matrix, MatrixBlock.

Detailed Description

Original source file MatrixTools.H

Definition in file MatrixTools.H.