1
//gsoap ns1 service name: lu
2
//gsoap ns1 service style: rpc
3
//gsoap ns1 service encoding: encoded
4
//gsoap ns1 service namespace: http://websrv.cs.fsu.edu/~engelen/lu.wsdl
5
//gsoap ns1 service location: http://websrv.cs.fsu.edu/~engelen/luserver.cgi
7
//gsoap ns1 schema namespace: urn:lu
8
typedef double xsd__double;
10
class vector // dynamic array of type SOAP-ENC:Array with arrayType="double[]"
12
xsd__double *__ptr; // pointer to array of double
13
int __size; // number of elements pointed to
15
struct soap *soap; // gSOAP env. instance was created
17
vector(struct soap *env);
18
vector(struct soap *env, int size);
19
vector(struct soap *env, int start, int end);
21
virtual int start(); // index of first element (=__offset)
22
virtual int end(); // index of last element
23
virtual int size(); // vector size
24
virtual void resize(int size);
25
virtual void resize(int start, int end);
26
virtual double& operator[](int i);
27
virtual double operator()(int i);
31
class ivector // dynamic array of type SOAP-ENC:Array with arrayType="int[]"
33
xsd__int *__ptr; // pointer to array of int
34
int __size; // number of elements pointed to
36
struct soap *soap; // gSOAP env. instance was created
38
ivector(struct soap *env);
39
ivector(struct soap *env, int size);
40
ivector(struct soap *env, int start, int end);
42
virtual int start(); // index of first element (=__offset)
43
virtual int end(); // index of last element
44
virtual int size(); // vector size
45
virtual void resize(int size);
46
virtual void resize(int start, int end);
47
virtual int& operator[](int i);
48
virtual int operator()(int i);
52
class matrix // dynamic array of type SOAP-ENC:Array with arrayType="double[][]"
54
vector *__ptr; // pointer to array of vectors
55
int __size; // number of vectors pointed to
57
struct soap *soap; // gSOAP env. instance was created
59
matrix(struct soap *env);
60
matrix(struct soap *env, int rows);
61
matrix(struct soap *env, int rows, int cols);
62
matrix(struct soap *env, int rowstart, int rowend, int colstart, int colend);
67
virtual void resize(int rows, int cols);
68
virtual void resize(int rowstart, int rowend, int colstart, int colend);
69
virtual vector& operator[](int i);
70
virtual double operator()(int i, int j);
73
// LU decomposition, see Numerical Recipies for C
74
ns1__ludcmp(matrix *a, struct ns1__ludcmpResponse {matrix *a; ivector *i; xsd__double d;} &result);
75
// backsubstitution, see Numerical Recipies for C
76
ns1__lubksb(matrix *a, ivector *i, vector *b, vector *x);
77
// Linear system solver using LU decomposition: solves ax=b
78
ns1__lusol(matrix *a, vector *b, vector *x);
79
// Linear systems solver using LU decomposition: solves ax=b for all rows in x and b
80
ns1__lusols(matrix *a, matrix *b, matrix *x);
81
// Matrix inversion using LU decomposition
82
ns1__luinv(matrix *a, matrix *b);
83
// Determinant of matrix
84
ns1__ludet(matrix *a, xsd__double &d);