MyraMath
lower_precision.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_LOWERPRECISION_H
7 #define MYRAMATH_SPARSE_LOWERPRECISION_H
8 
14 #include <myramath/MYRAMATH_EXPORT.h>
16 
17 namespace myra {
18 
19 // Forward declarations.
20 template<class Number> class SparseMatrix;
21 template<class Number> class CSparseMatrixRange;
22 
24 MYRAMATH_EXPORT SparseMatrix<NumberS> lower_precision(const CSparseMatrixRange<NumberD>& A);
26 MYRAMATH_EXPORT SparseMatrix<NumberC> lower_precision(const CSparseMatrixRange<NumberZ>& A);
27 //@]
28 
29 } // namespace
30 
31 #endif
Definition: syntax.dox:1
Various utility functions/classes related to scalar Number types.