summaryrefslogtreecommitdiff
path: root/inc/math.hxx
blob: b3184335cf13caa52daf2921e265525d39274d38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _math_HeaderFile
#define _math_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
class math_Vector;
class math_Vector;
class math_IntegerVector;
class math_Matrix;
class math_Function;
class math_FunctionWithDerivative;
class math_MultipleVarFunction;
class math_MultipleVarFunctionWithGradient;
class math_MultipleVarFunctionWithHessian;
class math_FunctionSet;
class math_FunctionSetWithDerivatives;
class math_IntegerRandom;
class math_Gauss;
class math_GaussLeastSquare;
class math_SVD;
class math_DirectPolynomialRoots;
class math_FunctionRoots;
class math_BissecNewton;
class math_FunctionRoot;
class math_NewtonFunctionRoot;
class math_BracketedRoot;
class math_FunctionSetRoot;
class math_NewtonFunctionSetRoot;
class math_BracketMinimum;
class math_BrentMinimum;
class math_Powell;
class math_FRPR;
class math_BFGS;
class math_NewtonMinimum;
class math_Jacobi;
class math_GaussSingleIntegration;
class math_GaussMultipleIntegration;
class math_GaussSetIntegration;
class math_RealRandom;
class math_FunctionSample;
class math_FunctionAllRoots;
class math_Householder;
class math_Crout;
class math_Uzawa;
class math_TrigonometricFunctionRoots;
class math_KronrodSingleIntegration;
class math_EigenValuesSearcher;
class math_ComputeGaussPointsAndWeights;
class math_ComputeKronrodPointsAndWeights;
class math_ValueAndWeight;
class math_Array1OfValueAndWeight;
class math_CompareOfValueAndWeight;
class math_QuickSortOfValueAndWeight;
class math_SingleTab;
class math_DoubleTab;
class math_SingleTabOfReal;
class math_SingleTabOfInteger;
class math_DoubleTabOfReal;



class math  {
public:

  void* operator new(size_t,void* anAddress) 
  {
    return anAddress;
  }
  void* operator new(size_t size) 
  {
    return Standard::Allocate(size); 
  }
  void  operator delete(void *anAddress) 
  {
    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
  }

  
  Standard_EXPORT   static  Standard_Integer GaussPointsMax() ;
  
  Standard_EXPORT   static  void GaussPoints(const Standard_Integer Index,math_Vector& Points) ;
  
  Standard_EXPORT   static  void GaussWeights(const Standard_Integer Index,math_Vector& Weights) ;
  //! Returns the maximal number of points for that the values <br>
//!          are stored in the table. If the number is greater then <br>
//!          KronrodPointsMax, the points will be computed. <br>
  Standard_EXPORT   static  Standard_Integer KronrodPointsMax() ;
  
  Standard_EXPORT   static  Standard_Boolean OrderedGaussPointsAndWeights(const Standard_Integer Index,math_Vector& Points,math_Vector& Weights) ;
  
  Standard_EXPORT   static  Standard_Boolean KronrodPointsAndWeights(const Standard_Integer Index,math_Vector& Points,math_Vector& Weights) ;





protected:





private:




friend class math_Vector;
friend class math_IntegerVector;
friend class math_Matrix;
friend class math_Function;
friend class math_FunctionWithDerivative;
friend class math_MultipleVarFunction;
friend class math_MultipleVarFunctionWithGradient;
friend class math_MultipleVarFunctionWithHessian;
friend class math_FunctionSet;
friend class math_FunctionSetWithDerivatives;
friend class math_IntegerRandom;
friend class math_Gauss;
friend class math_GaussLeastSquare;
friend class math_SVD;
friend class math_DirectPolynomialRoots;
friend class math_FunctionRoots;
friend class math_BissecNewton;
friend class math_FunctionRoot;
friend class math_NewtonFunctionRoot;
friend class math_BracketedRoot;
friend class math_FunctionSetRoot;
friend class math_NewtonFunctionSetRoot;
friend class math_BracketMinimum;
friend class math_BrentMinimum;
friend class math_Powell;
friend class math_FRPR;
friend class math_BFGS;
friend class math_NewtonMinimum;
friend class math_Jacobi;
friend class math_GaussSingleIntegration;
friend class math_GaussMultipleIntegration;
friend class math_GaussSetIntegration;
friend class math_RealRandom;
friend class math_FunctionSample;
friend class math_FunctionAllRoots;
friend class math_Householder;
friend class math_Crout;
friend class math_Uzawa;
friend class math_TrigonometricFunctionRoots;
friend class math_KronrodSingleIntegration;
friend class math_EigenValuesSearcher;
friend class math_ComputeGaussPointsAndWeights;
friend class math_ComputeKronrodPointsAndWeights;
friend class math_ValueAndWeight;
friend class math_Array1OfValueAndWeight;
friend class math_CompareOfValueAndWeight;
friend class math_QuickSortOfValueAndWeight;
friend class math_SingleTab;
friend class math_DoubleTab;
friend class math_SingleTabOfReal;
friend class math_SingleTabOfInteger;
friend class math_DoubleTabOfReal;

};





// other Inline functions and methods (like "C++: function call" methods)


#endif