dune-common 2.11
Loading...
Searching...
No Matches
transpose.hh File Reference

Go to the source code of this file.

Namespaces

namespace  Dune
 Dune namespace

Functions

template<class Matrix, std::enable_if_t< Impl::HasMemberFunctionTransposed< Matrix >::value, int > = 0>
auto Dune::transpose (const Matrix &matrix)
 Return the transposed of the given matrix.
template<class Matrix, std::enable_if_t< not Impl::HasMemberFunctionTransposed< std::decay_t< Matrix > >::value, int > = 0>
auto Dune::transpose (Matrix &&matrix)
 Create a wrapper modelling the transposed matrix.
template<class Matrix>
auto Dune::transpose (const std::reference_wrapper< Matrix > &matrix)
 Create a wrapper modelling the transposed matrix.
template<class Matrix>
auto Dune::transposedView (const Matrix &matrix)
 Create a view modelling the transposed matrix.