PlayaLinearCombinationTester.hpp File Reference

Go to the source code of this file.


Classes

class  Playa::LinearCombinationTester< Scalar >

Namespaces

namespace  Playa
 Playa is a collection of high-level objects for linear algebra.

Defines

#define TESTER(form1, form2)


Define Documentation

#define TESTER ( form1,
form2   ) 

Value:

{\
    Out::os() << "testing " #form1 << std::endl;\
    Vector<Scalar> _val1 = form1;\
    Out::os() << "testing " #form2 << std::endl;\
    Vector<Scalar> _val2 = form2;\
    Out::os() << "done testing... checking error" << std::endl;\
    ScalarMag err = (_val1-_val2).norm2();\
    if (!this->checkTest(spec_, err, "[" #form1 "] == [" #form2 "]")) pass = false;\
  }

Definition at line 40 of file PlayaLinearCombinationTester.hpp.

Referenced by Playa::LinearCombinationTester< Scalar >::nonModifyingOpTests().

Site Contact