Functions
Foam::MatrixTools Namespace Reference

Collection of functions for matrix-related verifications. More...

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)
 
template<class Container >
OstreamprintMatrix (Ostream &os, const Container &mat)
 

Detailed Description

Collection of functions for matrix-related verifications.

Source files

Function Documentation

◆ equal()

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 
)

◆ printMatrix()

Ostream& Foam::MatrixTools::printMatrix ( Ostream os,
const Container &  mat 
)