00001 // definition file for test programs 00002 00003 //#define DONT_DO_NRIC // activate if running a bounds checker 00004 00005 #ifdef use_namespace 00006 //using namespace NEWMAT; 00007 namespace NEWMAT { 00008 #endif 00009 00010 // print time between construction and destruction 00011 class time_lapse 00012 { 00013 double start_time; 00014 public: 00015 time_lapse(); 00016 ~time_lapse(); 00017 }; 00018 00019 void Print(const Matrix& X); 00020 void Print(const UpperTriangularMatrix& X); 00021 void Print(const DiagonalMatrix& X); 00022 void Print(const SymmetricMatrix& X); 00023 void Print(const LowerTriangularMatrix& X); 00024 00025 void Clean(Matrix&, Real); 00026 void Clean(DiagonalMatrix&, Real); 00027 00028 #ifdef use_namespace 00029 } 00030 using namespace NEWMAT; 00031 #endif 00032 00033 void trymat1(); void trymat2(); void trymat3(); 00034 void trymat4(); void trymat5(); void trymat6(); 00035 void trymat7(); void trymat8(); void trymat9(); 00036 void trymata(); void trymatb(); void trymatc(); 00037 void trymatd(); void trymate(); void trymatf(); 00038 void trymatg(); void trymath(); void trymati(); 00039 void trymatj(); void trymatk(); void trymatl(); 00040 void trymatm(); 00041 00042 00043 // body file: tmt.cpp 00044 // body file: tmt1.cpp 00045 // body file: tmt2.cpp 00046 // body file: tmt3.cpp 00047 // body file: tmt4.cpp 00048 // body file: tmt5.cpp 00049 // body file: tmt6.cpp 00050 // body file: tmt7.cpp 00051 // body file: tmt8.cpp 00052 // body file: tmt9.cpp 00053 // body file: tmta.cpp 00054 // body file: tmtb.cpp 00055 // body file: tmtc.cpp 00056 // body file: tmtd.cpp 00057 // body file: tmte.cpp 00058 // body file: tmtf.cpp 00059 // body file: tmtg.cpp 00060 // body file: tmth.cpp 00061 // body file: tmti.cpp 00062 // body file: tmtj.cpp 00063 // body file: tmtk.cpp 00064 // body file: tmtl.cpp 00065 // body file: tmtm.cpp 00066