1 | /* Author: Johan Bengtsson |
---|
2 | |
---|
3 | Definitions: Polymorphic number class. */ |
---|
4 | |
---|
5 | void daeps_(const double eps); |
---|
6 | |
---|
7 | void danot_(const int no); |
---|
8 | |
---|
9 | void daini_(int no, int nv, int fio); |
---|
10 | |
---|
11 | void lieini(const int no, const int nv, const int nd2i); |
---|
12 | |
---|
13 | void daall_(tps_buf &x, const int nd2, const char *daname, |
---|
14 | const int no, const int nv); |
---|
15 | |
---|
16 | void dadal_(tps_buf &x, const int ss_dim); |
---|
17 | |
---|
18 | void davar_(tps_buf &x, const double r, const int i); |
---|
19 | |
---|
20 | void dacon_(tps_buf &x, const double r); |
---|
21 | |
---|
22 | void dapek_(const tps_buf &x, const int jj[], double &r); |
---|
23 | |
---|
24 | void dapok_(tps_buf &x, const int jj[], const double r); |
---|
25 | |
---|
26 | double getmat(const ss_vect<tps> &map, const int i, const int j); |
---|
27 | |
---|
28 | void putmat(ss_vect<tps> &map, const int i, const int j, const double r); |
---|
29 | |
---|
30 | void getlinmat(const int nv, const ss_vect<tps> &map, Matrix &mat); |
---|
31 | |
---|
32 | void putlinmat(const int nv, const Matrix &mat, ss_vect<tps> &map); |
---|
33 | |
---|
34 | void dacop_(const tps_buf &x, tps_buf &z); |
---|
35 | |
---|
36 | void daadd_(const tps_buf &x, const tps_buf &y, tps_buf &z); |
---|
37 | |
---|
38 | void dasub_(const tps_buf &x, const tps_buf &y, tps_buf &z); |
---|
39 | |
---|
40 | void damul_(const tps_buf &x, const tps_buf &y, tps_buf &z); |
---|
41 | |
---|
42 | void dadiv_(const tps_buf &x, const tps_buf &y, tps_buf &z); |
---|
43 | |
---|
44 | void dacad_(const tps_buf &x, const double y, tps_buf &z); |
---|
45 | |
---|
46 | void dacsu_(const tps_buf &x, const double y, tps_buf &z); |
---|
47 | |
---|
48 | void dacmu_(const tps_buf &x, const double y, tps_buf &z); |
---|
49 | |
---|
50 | void dasuc_(const tps_buf &x, const double y, tps_buf &z); |
---|
51 | |
---|
52 | void dacdi_(const tps_buf &x, const double y, tps_buf &z); |
---|
53 | |
---|
54 | void dadic_(const tps_buf &x, const double y, tps_buf &z); |
---|
55 | |
---|
56 | void dapos_(const tps_buf &x, tps_buf &z); |
---|
57 | |
---|
58 | void dasqr_(const tps_buf &x, tps_buf &z); |
---|
59 | |
---|
60 | void dacma_(const tps_buf &x, const tps_buf &y, const double rb, tps_buf &z); |
---|
61 | |
---|
62 | void dalin_(const tps_buf &x, const double ra, const tps_buf &y, |
---|
63 | const double rb, tps_buf &z); |
---|
64 | |
---|
65 | void dainv_(const tps_buf &x, tps_buf &z); |
---|
66 | |
---|
67 | void dasqrt(const tps_buf &x, tps_buf &z); |
---|
68 | |
---|
69 | void daexp(const tps_buf &x, tps_buf &z); |
---|
70 | |
---|
71 | void dalog(const tps_buf &x, tps_buf &z); |
---|
72 | |
---|
73 | void dasin(const tps_buf &x, tps_buf &z); |
---|
74 | |
---|
75 | void dacos(const tps_buf &x, tps_buf &z); |
---|
76 | |
---|
77 | void datan(const tps_buf &x, tps_buf &z); |
---|
78 | |
---|
79 | void dactan(const tps_buf &x, tps_buf &z); |
---|
80 | |
---|
81 | void dasinh(const tps_buf &x, tps_buf &z); |
---|
82 | |
---|
83 | void dacosh(const tps_buf &x, tps_buf &z); |
---|
84 | |
---|
85 | void daarcsin(const tps_buf &x, tps_buf &z); |
---|
86 | |
---|
87 | void daarccos(const tps_buf &x, tps_buf &z); |
---|
88 | |
---|
89 | void daarctan(const tps_buf &x, tps_buf &z); |
---|
90 | |
---|
91 | void daarcctan(const tps_buf &x, tps_buf &z); |
---|
92 | |
---|
93 | void dafun_(const char *fun, const tps_buf &x, tps_buf &z); |
---|
94 | |
---|
95 | void dacct_(const ss_vect<tps> &x, const int i, |
---|
96 | const ss_vect<tps> &y, const int j, ss_vect<tps> &z, const int k); |
---|
97 | |
---|
98 | void dainv_(const ss_vect<tps> &x, const int i, ss_vect<tps> &z, const int k); |
---|
99 | |
---|
100 | void Rotmap(const int n, ss_vect<tps> &map, const Matrix &R); |
---|
101 | |
---|
102 | void daabs_(const tps_buf &x, double &r); |
---|
103 | |
---|
104 | void daabs2_(const tps_buf &x, double &r); |
---|