Standard implementation of the "transpose" algorithm.
More...
#include "etl/temporary.hpp"
Go to the source code of this file.
Standard implementation of the "transpose" algorithm.
◆ inplace_rectangular_transpose()
template<typename C >
| void etl::impl::standard::inplace_rectangular_transpose |
( |
C && |
mat | ) |
|
Inplace transposition of the rectangular matrix c.
- Parameters
-
| mat | The matrix to transpose |
◆ inplace_square_transpose()
template<typename C >
| void etl::impl::standard::inplace_square_transpose |
( |
C && |
c | ) |
|
Inplace transposition of the square matrix c.
- Parameters
-
◆ real_inplace()
template<typename C >
| void etl::impl::standard::real_inplace |
( |
C && |
mat | ) |
|
Perform an inplace matrix transposition in O(1).
This implementation is quite slow and should only be used when space is of the essence.
- Parameters
-
| mat | the matrix to transpose inplace |
◆ transpose()
template<typename A , typename C >
| void etl::impl::standard::transpose |
( |
A && |
a, |
|
|
C && |
c |
|
) |
| |
Transpose the matrix a and the store the result in c.
- Parameters
-
| a | The matrix to transpose |
| c | The target matrix |