MyraMath
permdim.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_EXPRESSION_PERMDIM_H
7 #define MYRAMATH_EXPRESSION_PERMDIM_H
8 
14 #include <myramath/MYRAMATH_EXPORT.h>
16 
17 namespace myra {
18 
19 // Forward declarations.
20 template<int Arity, class Number> class Expression;
21 template<int Arity> class Index;
22 
24 MYRAMATH_EXPORT Expression<2,NumberS> permdim(const Expression<2,NumberS>& A, Index<2> perm);
26 MYRAMATH_EXPORT Expression<2,NumberD> permdim(const Expression<2,NumberD>& A, Index<2> perm);
27 MYRAMATH_EXPORT Expression<2,NumberC> permdim(const Expression<2,NumberC>& A, Index<2> perm);
28 MYRAMATH_EXPORT Expression<2,NumberZ> permdim(const Expression<2,NumberZ>& A, Index<2> perm);
30 
31 } // namespace myra
32 
33 #endif
Definition: syntax.dox:1
Various utility functions/classes related to scalar Number types.