tmt.h
Go to the documentation of this file.
1 
6 
7 //#define DONT_DO_NRIC // activate if running a bounds checker
8 
9 #ifdef use_namespace
10 //using namespace NEWMAT;
11 namespace NEWMAT {
12 #endif
13 
14 // print time between construction and destruction
16 {
17  double start_time;
18 public:
19  time_lapse();
20  ~time_lapse();
21 };
22 
23 // random number generator
24 
26 {
27  unsigned long x;
28  unsigned long crry;
29 
30  void NextValue();
31 
32  void operator=(const MultWithCarry&) {} // private so can't access
33 
34 public:
35  MultWithCarry(double s=0.46875);
36  Real Next();
38 };
39 
40 // fill a matrix with values from the MultWithCarry random number generator
41 void FillWithValues(MultWithCarry& MWC, Matrix& M);
42 
43 
44 void Print(const Matrix& X);
45 void Print(const UpperTriangularMatrix& X);
46 void Print(const DiagonalMatrix& X);
47 void Print(const SymmetricMatrix& X);
48 void Print(const LowerTriangularMatrix& X);
49 
50 void Clean(Matrix&, Real);
51 void Clean(DiagonalMatrix&, Real);
52 
53 #ifdef use_namespace
54 }
55 using namespace NEWMAT;
56 #endif
57 
58 
59 
60 void trymat1(); void trymat2(); void trymat3();
61 void trymat4(); void trymat5(); void trymat6();
62 void trymat7(); void trymat8(); void trymat9();
63 void trymata(); void trymatb(); void trymatc();
64 void trymatd(); void trymate(); void trymatf();
65 void trymatg(); void trymath(); void trymati();
66 void trymatj(); void trymatk(); void trymatl();
67 void trymatm();
68 
69 
70 
71 // body file: tmt.cpp
72 // body file: tmt1.cpp
73 // body file: tmt2.cpp
74 // body file: tmt3.cpp
75 // body file: tmt4.cpp
76 // body file: tmt5.cpp
77 // body file: tmt6.cpp
78 // body file: tmt7.cpp
79 // body file: tmt8.cpp
80 // body file: tmt9.cpp
81 // body file: tmta.cpp
82 // body file: tmtb.cpp
83 // body file: tmtc.cpp
84 // body file: tmtd.cpp
85 // body file: tmte.cpp
86 // body file: tmtf.cpp
87 // body file: tmtg.cpp
88 // body file: tmth.cpp
89 // body file: tmti.cpp
90 // body file: tmtj.cpp
91 // body file: tmtk.cpp
92 // body file: tmtl.cpp
93 // body file: tmtm.cpp
94 
95 
Definition: tmt.h:15
void trymat3()
Definition: tmt3.cpp:23
void Print(const Matrix &X)
Definition: tmt.cpp:42
unsigned long crry
Definition: tmt.h:28
void trymatl()
Definition: tmtl.cpp:138
void trymat8()
Definition: tmt8.cpp:41
void trymath()
Definition: tmth.cpp:371
void trymati()
Definition: tmti.cpp:33
void Clean(Matrix &, Real)
Definition: tmt.cpp:128
double start_time
Definition: tmt.h:17
void trymatc()
Definition: tmtc.cpp:23
double Real
Definition: include.h:307
void trymat1()
Definition: tmt1.cpp:26
void trymatf()
Definition: tmtf.cpp:312
void trymatk()
Definition: tmtk.cpp:197
Upper triangular matrix.
Definition: newmat.h:799
void trymate()
Definition: tmte.cpp:32
void operator=(const MultWithCarry &)
Definition: tmt.h:32
The usual rectangular matrix.
Definition: newmat.h:625
void trymatg()
Definition: tmtg.cpp:24
void trymat6()
Definition: tmt6.cpp:66
Diagonal matrix.
Definition: newmat.h:896
Lower triangular matrix.
Definition: newmat.h:848
void trymat9()
Definition: tmt9.cpp:22
void trymatd()
Definition: tmtd.cpp:133
unsigned long x
Definition: tmt.h:27
void trymata()
Definition: tmta.cpp:38
void trymatm()
Definition: tmtm.cpp:26
void trymatb()
Definition: tmtb.cpp:49
void trymat5()
Definition: tmt5.cpp:49
void trymat2()
Definition: tmt2.cpp:25
void trymat7()
Definition: tmt7.cpp:35
void FillWithValues(MultWithCarry &MWC, Matrix &M)
Definition: tmt.cpp:190
void trymatj()
Definition: tmtj.cpp:22
~MultWithCarry()
Definition: tmt.h:37
void trymat4()
Definition: tmt4.cpp:25
Symmetric matrix.
Definition: newmat.h:753


kni
Author(s): Martin Günther
autogenerated on Fri Jun 7 2019 22:06:45