MyraMath
ProductAction.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_ITERATIVE_PRODUCTACTION_H
7 #define MYRAMATH_ITERATIVE_PRODUCTACTION_H
8 
14 #include <myramath/MYRAMATH_EXPORT.h>
16 
17 namespace myra {
18 
19 // Forward declarations.
20 template<class Number> class Action;
21 
23 MYRAMATH_EXPORT Action<NumberS> make_ProductAction(const Action<NumberS>& A, const Action<NumberS>& B);
25 MYRAMATH_EXPORT Action<NumberD> make_ProductAction(const Action<NumberD>& A, const Action<NumberD>& B);
26 MYRAMATH_EXPORT Action<NumberC> make_ProductAction(const Action<NumberC>& A, const Action<NumberC>& B);
27 MYRAMATH_EXPORT Action<NumberZ> make_ProductAction(const Action<NumberZ>& A, const Action<NumberZ>& B);
29 
31 MYRAMATH_EXPORT Action<NumberS> operator* (const Action<NumberS>& A, const Action<NumberS>& B);
33 MYRAMATH_EXPORT Action<NumberD> operator* (const Action<NumberD>& A, const Action<NumberD>& B);
34 MYRAMATH_EXPORT Action<NumberC> operator* (const Action<NumberC>& A, const Action<NumberC>& B);
35 MYRAMATH_EXPORT Action<NumberZ> operator* (const Action<NumberZ>& A, const Action<NumberZ>& B);
37 
38 } // namespace myra
39 
40 #endif
Definition: syntax.dox:1
Various utility functions/classes related to scalar Number types.