Go to the source code of this file.
|
DoubleAc | norm_DynLinArr (const DynLinArr< DoubleAc > &f) |
|
DoubleAc | normsq_DynLinArr (const DynLinArr< DoubleAc > &f) |
|
DynLinArr< DoubleAc > | operator* (const DynArr< DoubleAc > &mt, const DynLinArr< double > &vc) |
|
DynLinArr< DoubleAc > | operator* (const DynArr< double > &mt, const DynLinArr< DoubleAc > &vc) |
|
DoubleAc | operator* (const DynLinArr< DoubleAc > &vc1, const DynLinArr< double > &vc2) |
|
DoubleAc | operator* (const DynLinArr< double > &vc1, const DynLinArr< DoubleAc > &vc2) |
|
DynLinArr< DoubleAc > | operator+ (const DynLinArr< DoubleAc > &vc1, const DynLinArr< double > &vc2) |
|
DynLinArr< DoubleAc > | operator- (const DynLinArr< DoubleAc > &vc1, const DynLinArr< double > &vc2) |
|
DynLinArr< DoubleAc > | operator+ (const DynLinArr< double > &vc1, const DynLinArr< DoubleAc > &vc2) |
|
DynLinArr< DoubleAc > | operator- (const DynLinArr< double > &vc1, const DynLinArr< DoubleAc > &vc2) |
|
DynArr< DoubleAc > | operator+ (const DynArr< DoubleAc > &mt1, const DynArr< double > &mt2) |
|
DynArr< DoubleAc > | operator- (const DynArr< DoubleAc > &mt1, const DynArr< double > &mt2) |
|
DynArr< DoubleAc > | operator+ (const DynArr< double > &mt1, const DynArr< DoubleAc > &mt2) |
|
DynArr< DoubleAc > | operator- (const DynArr< double > &mt1, const DynArr< DoubleAc > &mt2) |
|
◆ norm_DynLinArr()
Definition at line 15 of file multiply.cpp.
15 {
18 long n;
19 for (n = 0; n < q; n++) {
22 }
24}
DoubleAc sqrt(const DoubleAc &f)
DoubleAc square(const DoubleAc &f)
◆ normsq_DynLinArr()
Definition at line 26 of file multiply.cpp.
26 {
29 long n;
30 for (n = 0; n < q; n++) {
33 }
34 return s;
35}
◆ operator*() [1/4]
Definition at line 57 of file multiply.cpp.
58 {
59 mfunname(
"DynLinArr<DoubleAc> operator*(const DynArr<double>& mt, const "
60 "DynLinArr<DoubleAc>& vc)");
61
68 long n1, n2;
69 for (n1 = 0; n1 < qel_mt[0]; n1++) {
70 for (n2 = 0; n2 < q; n2++) {
71 res.acu(n1) += mt.
acu(n1, n2) * vc.
acu(n2);
72 }
73 }
74 return res;
75}
#define check_econd11(a, signb, stream)
#define check_econd12(a, sign, b, stream)
const DynLinArr< long > & get_qel(void) const
◆ operator*() [2/4]
Definition at line 37 of file multiply.cpp.
38 {
39 mfunname(
"DynLinArr<DoubleAc> operator*(const DynArr<DoubleAc>& mt, const "
40 "DynLinArr<double>& vc)");
41
48 long n1, n2;
49 for (n1 = 0; n1 < qel_mt[0]; n1++) {
50 for (n2 = 0; n2 < q; n2++) {
51 res.acu(n1) += mt.
acu(n1, n2) * vc.
acu(n2);
52 }
53 }
54 return res;
55}
◆ operator*() [3/4]
Definition at line 93 of file multiply.cpp.
94 {
95 mfunname(
"DoubleAc operator*(const DynLinArr<double>& vc1, const "
96 "DynLinArr<DoubleAc>& vc2)");
97
102 long n;
103
104 for (n = 0; n < q1; n++) {
105 s += vc1.
acu(n) * vc2.
acu(n);
106
107
108
109
110 }
111 return s;
112}
◆ operator*() [4/4]
Definition at line 77 of file multiply.cpp.
78 {
79 mfunname(
"DoubleAc operator*(const DynLinArr<DoubleAc>& vc1, const "
80 "DynLinArr<double>& vc2)");
81
86 long n;
87 for (n = 0; n < q1; n++) {
88 s += vc1.
acu(n) * vc2.
acu(n);
89 }
90 return s;
91}
◆ operator+() [1/4]
Definition at line 209 of file multiply.cpp.
210 {
211 mfunname(
"DynArr<DoubleAc> operator+(const DynArr<double>& mt1, const "
212 "DynArr<DoubleAc>& mt2)");
222 while ((at = iter.more()) != NULL) {
223 (*at) = (*at) + mt1.
acu(iter.get_ncur());
224 }
225 return ms;
226}
long get_qdim(void) const
◆ operator+() [2/4]
Definition at line 172 of file multiply.cpp.
173 {
174 mfunname(
"DynArr<DoubleAc> operator+(const DynArr<DoubleAc>& mt1, const "
175 "DynArr<double>& mt2)");
185 while ((at = iter.more()) != NULL) {
186 (*at) = (*at) + mt2.
acu(iter.get_ncur());
187 }
188 return ms;
189}
◆ operator+() [3/4]
Definition at line 143 of file multiply.cpp.
144 {
145 mfunname(
"DoubleAc operator+(const DynLinArr<double>& vc1, const "
146 "DynLinArr<DoubleAc>& vc2)");
151 long n;
152 for (n = 0; n < q1; n++) {
153 s.acu(n) = vc1.
acu(n) + vc2.
acu(n);
154 }
155 return s;
156}
◆ operator+() [4/4]
Definition at line 114 of file multiply.cpp.
115 {
116 mfunname(
"DoubleAc operator+(const DynLinArr<DoubleAc>& vc1, const "
117 "DynLinArr<double>& vc2)");
122 long n;
123 for (n = 0; n < q1; n++) {
124 s.acu(n) = vc1.
acu(n) + vc2.
acu(n);
125 }
126 return s;
127}
◆ operator-() [1/4]
Definition at line 228 of file multiply.cpp.
229 {
230 mfunname(
"DynArr<DoubleAc> operator-(const DynArr<double>& mt1, const "
231 "DynArr<DoubleAc>& mt2)");
241 while ((at = iter.more()) != NULL) {
242 (*at) = -(*at) + mt1.
acu(iter.get_ncur());
243 }
244 return ms;
245}
◆ operator-() [2/4]
Definition at line 190 of file multiply.cpp.
191 {
192 mfunname(
"DynArr<DoubleAc> operator-(const DynArr<DoubleAc>& mt1, const "
193 "DynArr<double>& mt2)");
203 while ((at = iter.more()) != NULL) {
204 (*at) = (*at) - mt2.
acu(iter.get_ncur());
205 }
206 return ms;
207}
◆ operator-() [3/4]
Definition at line 157 of file multiply.cpp.
158 {
159 mfunname(
"DoubleAc operator-(const DynLinArr<double>& vc1, const "
160 "DynLinArr<DoubleAc>& vc2)");
165 long n;
166 for (n = 0; n < q1; n++) {
167 s.acu(n) = vc1.
acu(n) - vc2.
acu(n);
168 }
169 return s;
170}
◆ operator-() [4/4]
Definition at line 128 of file multiply.cpp.
129 {
130 mfunname(
"DoubleAc operator-(const DynLinArr<DoubleAc>& vc1, const "
131 "DynLinArr<double>& vc2)");
136 long n;
137 for (n = 0; n < q1; n++) {
138 s.acu(n) = vc1.
acu(n) - vc2.
acu(n);
139 }
140 return s;
141}