finitediff
Functions
Utilities.cpp File Reference
#include "Utilities.h"
Include dependency graph for Utilities.cpp:

Functions

void echo_function_test (const std::string &s)
 
void echo_single_test (const std::string &s)
 
std::ostream & debug_print (std::cout)
 
void tooGenericWarning (const std::string &message)
 Display a small warning. More...
 

Function Documentation

std::ostream& debug_print ( std::cout  )
void echo_function_test ( const std::string &  s)

The test functions use this function to announce (output) that they are starting

void echo_single_test ( const std::string &  s)

Use this function to announce (output) that a CPPUNIT_ASSERT is about to be launched.

void tooGenericWarning ( const std::string &  message)

Display a small warning.

Parameters
messageThe message to be displayed.

We have several type of matrices and several overloading of the operators like == and *. These overloads are optimized for the particular structure of our matrices.

However generic overloads are also implemented. We use tooGenericWarning to print a warning when a generic overload is used because it could be a sign that we are lacking an overload (or that the matrices types are not the ones we believe).

See also
operator*(const SNgeneric<U,s>& A, const SNgeneric<V,t>& B)