Expression Templates Library (ETL)
Functions
transpose.hpp File Reference

Standard implementation of the "transpose" algorithm. More...

#include "etl/temporary.hpp"
Include dependency graph for transpose.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename C >
void etl::impl::standard::inplace_square_transpose (C &&c)
 Inplace transposition of the square matrix c. More...
 
template<typename C >
void etl::impl::standard::inplace_rectangular_transpose (C &&mat)
 Inplace transposition of the rectangular matrix c. More...
 
template<typename C >
void etl::impl::standard::real_inplace (C &&mat)
 Perform an inplace matrix transposition in O(1). More...
 
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. More...
 

Detailed Description

Standard implementation of the "transpose" algorithm.

Function Documentation

◆ inplace_rectangular_transpose()

template<typename C >
void etl::impl::standard::inplace_rectangular_transpose ( C &&  mat)

Inplace transposition of the rectangular matrix c.

Parameters
matThe 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
cThe matrix to transpose

◆ 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
matthe 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
aThe matrix to transpose
cThe target matrix