MyraMath
transpose.h
Go to the documentation of this file.
1 // ========================================================================= //
2 // This file is part of MyraMath, copyright (c) 2014-2019 by Ryan A Chilton //
3 // and distributed by MyraCore, LLC. See LICENSE.txt for license terms. //
4 // ========================================================================= //
5 
6 #ifndef MYRAMATH_DENSE_TRANSPOSE_H
7 #define MYRAMATH_DENSE_TRANSPOSE_H
8 
14 #include <myramath/utility/detail/LIBPUBLIC.h>
16 
17 namespace myra {
18 
19 // Forward declarations.
20 template<class Number> class Matrix;
21 template<class Number> class MatrixRange;
22 template<class Number> class CMatrixRange;
23 
25 LIBPUBLIC Matrix<NumberS> transpose(const CMatrixRange<NumberS>& A);
27 LIBPUBLIC Matrix<NumberD> transpose(const CMatrixRange<NumberD>& A);
28 LIBPUBLIC Matrix<NumberC> transpose(const CMatrixRange<NumberC>& A);
29 LIBPUBLIC Matrix<NumberZ> transpose(const CMatrixRange<NumberZ>& A);
31 
33 LIBPUBLIC void transpose_inplace(const MatrixRange<NumberS>& A);
35 LIBPUBLIC void transpose_inplace(const MatrixRange<NumberD>& A);
36 LIBPUBLIC void transpose_inplace(const MatrixRange<NumberC>& A);
37 LIBPUBLIC void transpose_inplace(const MatrixRange<NumberZ>& A);
39 
40 } // namespace
41 
42 #endif
Definition: syntax.dox:1
Various utility functions/classes related to scalar Number types.