MyraMath
ZeroAction.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_ZEROACTION_H
7 #define MYRAMATH_ITERATIVE_ZEROACTION_H
8 
15 #include <myramath/MYRAMATH_EXPORT.h>
16 
17 namespace myra {
18 
19 // Forward declarations.
20 template<class Number> class Action;
21 
23 template<class Number> Action<Number> make_ZeroAction(int I, int J);
25 template<> Action<NumberS> make_ZeroAction<NumberS>(int I, int J);
26 template<> Action<NumberD> make_ZeroAction<NumberD>(int I, int J);
27 template<> Action<NumberC> make_ZeroAction<NumberC>(int I, int J);
28 template<> Action<NumberZ> make_ZeroAction<NumberZ>(int I, int J);
30 
31 } // namespace
32 
33 #endif
Action< Number > make_ZeroAction(int I, int J)
Returns an all-zero Action of specified size.
Definition: syntax.dox:1
Various utility functions/classes related to scalar Number types.