21int main(
int argc,
char**argv)
31 JParser<> zap(
"Example program to test inversion of symmetric matrix.");
38 catch(
const exception &error) {
51 NOTICE(
"Determinant A " << A.getDeterminant() <<
endl);
62 NOTICE(
"Determinant A^-1 = " << B.getDeterminant() <<
endl);
69 NOTICE(
"Determinant (A x A^-1) = " << C.getDeterminant() <<
endl);
70 NOTICE(
"Determinant A x Determinant A^-1 = " << A.getDeterminant() * B.getDeterminant() <<
endl);
71 NOTICE(
"A x A^-1 = I ? " << C.isIdentity(precision) <<
endl);
73 if (!C.isIdentity(precision)) {
77 JMatrix2D D = C - JMatrix2D::getIdentity();
82 ASSERT(C.isIdentity(precision));
int main(int argc, char **argv)
General purpose messaging.
#define DEBUG(A)
Message macros.
#define ASSERT(A,...)
Assert macro.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Template definition of a multi-dimensional oscillation probability interpolation table.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).