2#include <cusp/transpose.h>
6#include "blas2_dispatch_mpi.h"
15template <
class Matrix>
16Matrix doTranspose(
const Matrix& src, CuspMatrixTag)
23template <
class LocalMatrix,
class Collective>
24MPIDistMat<LocalMatrix, Collective> doTranspose(
const MPIDistMat<LocalMatrix, Collective>& src, MPIMatrixTag)
26 LocalMatrix tr = doTranspose( src.matrix(), get_tensor_category<LocalMatrix>());
27 MPIDistMat<LocalMatrix, Collective> out( tr, src.collective());
Matrix transpose(const Matrix &src)
Generic matrix transpose method.
Definition: transpose.h:48
void transpose(unsigned nx, unsigned ny, const ContainerType &in, ContainerType &out)
Transpose vector.
Definition: average_dispatch.h:26
@ col_dist
Column distributed.
Definition: mpi_matrix.h:200
@ row_dist
Row distributed.
Definition: mpi_matrix.h:199
typename TensorTraits< std::decay_t< Vector > >::tensor_category get_tensor_category
Definition: tensor_traits.h:40
This is the namespace for all functions and classes defined and used by the discontinuous Galerkin li...