1 #ifndef SELDON_FILE_TINY_VECTOR_EXPRESSION_INLINE_CXX
7 template<
class T,
int m,
class E>
10 return static_cast<const E&
>(*this)(i);
15 template<
class T,
int m,
class E1,
class E2>
template<
class T1,
class T2>
25 template<
class T,
int m,
class E1,
class E2>
33 template<
class T,
int m,
class E1,
class E2>
template<
class T1,
class T2>
43 template<
class T,
int m,
class E1,
class E2>
51 template<
class T,
int m,
class E1,
class E2>
template<
class T1,
class T2>
61 template<
class T,
int m,
class E1,
class E2>
69 template<
class T,
int m,
class E1,
class E2>
template<
class T1,
class T2>
79 template<
class T,
int m,
class E1,
class E2>
87 template<
class T,
int m,
class T0,
class E>
template<
class T1>
90 : alpha_(alpha), u_(u)
96 template<
class T,
int m,
class T0,
class E>
104 template<
class T,
int m,
class T0,
class E>
template<
class T1>
107 : alpha_(alpha), u_(u)
113 template<
class T,
int m,
class T0,
class E>
116 return alpha_ / u_(i);
121 template<
class T,
int m,
class T0,
class E>
template<
class T1>
124 : alpha_(alpha), u_(u)
130 template<
class T,
int m,
class T0,
class E>
133 return alpha_ + u_(i);
138 template<
class T,
int m,
class T0,
class E>
template<
class T1>
141 : alpha_(alpha), u_(u)
147 template<
class T,
int m,
class T0,
class E>
150 return alpha_ - u_(i);
155 template<
class T,
int m,
class E>
163 template<
class T,
int m,
class E>
176 template<
class T,
int m,
class E1,
class E2>
186 template<
class T,
int m,
class E1,
class E2>
187 inline const TinyVectorSum<complex<T>, m, E1, E2>
196 template<
class T,
int m,
class E1,
class E2>
197 inline const TinyVectorSum<complex<T>, m, E1, E2>
206 template<
class T,
int m,
class E1,
class E2>
207 inline const TinyVectorDifference<T, m, E1, E2>
216 template<
class T,
int m,
class E1,
class E2>
217 inline const TinyVectorDifference<complex<T>, m, E1, E2>
226 template<
class T,
int m,
class E1,
class E2>
227 inline const TinyVectorDifference<complex<T>, m, E1, E2>
236 template<
class T,
int m,
class E1,
class E2>
237 inline const TinyVectorProduct<T, m, E1, E2>
246 template<
class T,
int m,
class E1,
class E2>
247 inline const TinyVectorProduct<complex<T>, m, E1, E2>
256 template<
class T,
int m,
class E1,
class E2>
257 inline const TinyVectorProduct<complex<T>, m, E1, E2>
266 template<
class T,
int m,
class E1,
class E2>
267 inline const TinyVectorDivision<T, m, E1, E2>
276 template<
class T,
int m,
class E1,
class E2>
277 inline const TinyVectorDivision<complex<T>, m, E1, E2>
286 template<
class T,
int m,
class E1,
class E2>
287 inline const TinyVectorDivision<complex<T>, m, E1, E2>
296 template<
class T,
int m,
class E>
305 template<
class T,
int m,
class E>
306 inline const TinyVectorScaled<complex<T>, m, complex<T>, E>
315 template<
class T,
int m,
class E>
316 inline const TinyVectorScaled<complex<T>, m, T, E>
325 template<
class T,
int m,
class E>
334 template<
class T,
int m,
class E>
335 inline const TinyVectorScaled<complex<T>, m, complex<T>, E>
337 const complex<T>& alpha)
344 template<
class T,
int m,
class E>
345 inline const TinyVectorScaled<complex<T>, m, T, E>
354 template<
class T,
int m,
class E>
363 template<
class T,
int m,
class E>
364 inline const TinyVectorScalDiv<complex<T>, m, complex<T>, E>
373 template<
class T,
int m,
class E>
374 inline const TinyVectorScalDiv<complex<T>, m, T, E>
383 template<
class T,
int m,
class E>
387 T one; SetComplexOne(one);
393 template<
class T,
int m,
class E>
394 inline const TinyVectorScaled<complex<T>, m, complex<T>, E>
396 const complex<T>& alpha)
398 T one; SetComplexOne(one);
404 template<
class T,
int m,
class E>
405 inline const TinyVectorScaled<complex<T>, m, T, E>
409 T one; SetComplexOne(one);
415 template<
class T,
int m,
class E>
424 template<
class T,
int m,
class E>
425 inline const TinyVectorScalSum<complex<T>, m, complex<T>, E>
434 template<
class T,
int m,
class E>
435 inline const TinyVectorScalSum<complex<T>, m, T, E>
444 template<
class T,
int m,
class E>
453 template<
class T,
int m,
class E>
454 inline const TinyVectorScalSum<complex<T>, m, complex<T>, E>
456 const complex<T>& alpha)
463 template<
class T,
int m,
class E>
464 inline const TinyVectorScalSum<complex<T>, m, T, E>
473 template<
class T,
int m,
class E>
482 template<
class T,
int m,
class E>
483 inline const TinyVectorScalSum<complex<T>, m, complex<T>, E>
485 const complex<T>& alpha)
492 template<
class T,
int m,
class E>
493 inline const TinyVectorScalSum<complex<T>, m, T, E>
502 template<
class T,
int m,
class E>
511 template<
class T,
int m,
class E>
512 inline const TinyVectorScalDiff<complex<T>, m, complex<T>, E>
521 template<
class T,
int m,
class E>
522 inline const TinyVectorScalDiff<complex<T>, m, T, E>
531 template<
class T,
int m,
class E>
539 #define SELDON_FILE_TINY_VECTOR_EXPRESSION_INLINE_CXX