tmt.h
Go to the documentation of this file.
00001 
00002 
00003 
00006 
00007 //#define DONT_DO_NRIC         // activate if running a bounds checker
00008 
00009 #ifdef use_namespace
00010 //using namespace NEWMAT;
00011 namespace NEWMAT {
00012 #endif
00013 
00014 // print time between construction and destruction
00015 class time_lapse
00016 {
00017    double start_time;
00018 public:
00019    time_lapse();
00020    ~time_lapse();
00021 };
00022 
00023 // random number generator
00024 
00025 class MultWithCarry
00026 {
00027    unsigned long x;
00028    unsigned long crry;
00029 
00030    void NextValue();
00031 
00032    void operator=(const MultWithCarry&) {}    // private so can't access
00033 
00034 public:
00035    MultWithCarry(double s=0.46875);
00036    Real Next();
00037    ~MultWithCarry() {}
00038 };
00039 
00040 // fill a matrix with values from the MultWithCarry random number generator
00041 void FillWithValues(MultWithCarry& MWC, Matrix& M);   
00042 
00043 
00044 void Print(const Matrix& X);
00045 void Print(const UpperTriangularMatrix& X);
00046 void Print(const DiagonalMatrix& X);
00047 void Print(const SymmetricMatrix& X);
00048 void Print(const LowerTriangularMatrix& X);
00049 
00050 void Clean(Matrix&, Real);
00051 void Clean(DiagonalMatrix&, Real);
00052 
00053 #ifdef use_namespace
00054 }
00055 using namespace NEWMAT;
00056 #endif
00057 
00058 
00059 
00060 void trymat1(); void trymat2(); void trymat3();
00061 void trymat4(); void trymat5(); void trymat6();
00062 void trymat7(); void trymat8(); void trymat9();
00063 void trymata(); void trymatb(); void trymatc();
00064 void trymatd(); void trymate(); void trymatf();
00065 void trymatg(); void trymath(); void trymati();
00066 void trymatj(); void trymatk(); void trymatl();
00067 void trymatm();
00068 
00069 
00070 
00071 // body file: tmt.cpp
00072 // body file: tmt1.cpp
00073 // body file: tmt2.cpp
00074 // body file: tmt3.cpp
00075 // body file: tmt4.cpp
00076 // body file: tmt5.cpp
00077 // body file: tmt6.cpp
00078 // body file: tmt7.cpp
00079 // body file: tmt8.cpp
00080 // body file: tmt9.cpp
00081 // body file: tmta.cpp
00082 // body file: tmtb.cpp
00083 // body file: tmtc.cpp
00084 // body file: tmtd.cpp
00085 // body file: tmte.cpp
00086 // body file: tmtf.cpp
00087 // body file: tmtg.cpp
00088 // body file: tmth.cpp
00089 // body file: tmti.cpp
00090 // body file: tmtj.cpp
00091 // body file: tmtk.cpp
00092 // body file: tmtl.cpp
00093 // body file: tmtm.cpp
00094 
00095 


kni
Author(s): Martin Günther
autogenerated on Thu Jun 6 2019 21:42:34