MyraMath
expr.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_SPARSE_EXPR_H
7 #define MYRAMATH_SPARSE_EXPR_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<class Number> class CSparseMatrixRange;
22 class PatternRange;
23 
25 MYRAMATH_EXPORT Expression<2,NumberS> expr(const CSparseMatrixRange<NumberS>& A);
27 MYRAMATH_EXPORT Expression<2,NumberD> expr(const CSparseMatrixRange<NumberD>& A);
28 MYRAMATH_EXPORT Expression<2,NumberC> expr(const CSparseMatrixRange<NumberC>& A);
29 MYRAMATH_EXPORT Expression<2,NumberZ> expr(const CSparseMatrixRange<NumberZ>& A);
31 
33 MYRAMATH_EXPORT Expression<2,bool> expr(const PatternRange& P);
34 
35 } // namespace myra
36 #endif
Definition: syntax.dox:1
Various utility functions/classes related to scalar Number types.