tmt.h

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 // random number generator
00020 
00021 class MultWithCarry
00022 {
00023    unsigned long x;
00024    unsigned long crry;
00025 
00026    void NextValue();
00027 
00028    void operator=(const MultWithCarry&) {}    // private so can't access
00029 
00030 public:
00031    MultWithCarry(double s=0.46875);
00032    Real Next();
00033    ~MultWithCarry() {}
00034 };
00035 
00036 // fill a matrix with values from the MultWithCarry random number generator
00037 void FillWithValues(MultWithCarry& MWC, Matrix& M);   
00038 
00039 
00040 void Print(const Matrix& X);
00041 void Print(const UpperTriangularMatrix& X);
00042 void Print(const DiagonalMatrix& X);
00043 void Print(const SymmetricMatrix& X);
00044 void Print(const LowerTriangularMatrix& X);
00045 
00046 void Clean(Matrix&, Real);
00047 void Clean(DiagonalMatrix&, Real);
00048 
00049 #ifdef use_namespace
00050 }
00051 using namespace NEWMAT;
00052 #endif
00053 
00054 
00055 
00056 void trymat1(); void trymat2(); void trymat3();
00057 void trymat4(); void trymat5(); void trymat6();
00058 void trymat7(); void trymat8(); void trymat9();
00059 void trymata(); void trymatb(); void trymatc();
00060 void trymatd(); void trymate(); void trymatf();
00061 void trymatg(); void trymath(); void trymati();
00062 void trymatj(); void trymatk(); void trymatl();
00063 void trymatm();
00064 
00065 
00066 
00067 // body file: tmt.cpp
00068 // body file: tmt1.cpp
00069 // body file: tmt2.cpp
00070 // body file: tmt3.cpp
00071 // body file: tmt4.cpp
00072 // body file: tmt5.cpp
00073 // body file: tmt6.cpp
00074 // body file: tmt7.cpp
00075 // body file: tmt8.cpp
00076 // body file: tmt9.cpp
00077 // body file: tmta.cpp
00078 // body file: tmtb.cpp
00079 // body file: tmtc.cpp
00080 // body file: tmtd.cpp
00081 // body file: tmte.cpp
00082 // body file: tmtf.cpp
00083 // body file: tmtg.cpp
00084 // body file: tmth.cpp
00085 // body file: tmti.cpp
00086 // body file: tmtj.cpp
00087 // body file: tmtk.cpp
00088 // body file: tmtl.cpp
00089 // body file: tmtm.cpp
00090 
Generated on Mon Jan 24 12:04:37 2011 for FASTlib by  doxygen 1.6.3