|
FreePOOMA
2.4.1
|
Defines a general reverseBytes template and a specialization for complex. More...

Functions | |
| template<class T > | |
| void | reverseBytes (T &t) |
| The exported interface to the above template is the global reverseBytes template. | |
| template<class FloatType > | |
| void | reverseBytes (std::complex< FloatType > &t) |
| We overload directly for class complex. | |
Defines a general reverseBytes template and a specialization for complex.
The general template is implemented by the struct ByteReverser, which is not published.
| void reverseBytes | ( | T & | t | ) | [inline] |
The exported interface to the above template is the global reverseBytes template.
The general template delegates directly to the ByteReverser class above.
References reverseBytes().
Referenced by reverseBytes(), VectorEngine< D, T, Full >::reverseBytes(), TinyMatrixEngine< D1, D2, T, Full >::reverseBytes(), TensorEngine< D, T, Full >::reverseBytes(), TensorEngine< D, T, Antisymmetric >::reverseBytes(), TensorEngine< D, T, Symmetric >::reverseBytes(), and TensorEngine< D, T, Diagonal >::reverseBytes().
| void reverseBytes | ( | std::complex< FloatType > & | t | ) | [inline] |
We overload directly for class complex.
References imag(), real(), and reverseBytes().
1.7.6.1