MyraMath
heev.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_DENSE_HEEV_H
7 #define MYRAMATH_DENSE_HEEV_H
8 
14 #include <myramath/MYRAMATH_EXPORT.h>
16 
17 #include <utility>
18 
19 namespace myra {
20 
21 // Forward declarations.
22 template<class Number> class Matrix;
23 template<class Number> class MatrixRange;
24 template<class Number> class CMatrixRange;
25 template<class Number> class DiagonalMatrix;
26 
28 // Note, only the lower triangle of A needs to be defined upon input, the other triangle is assumed.
30 MYRAMATH_EXPORT DiagonalMatrix<NumberS> heev_inplace(const MatrixRange<NumberC>& A);
31 MYRAMATH_EXPORT DiagonalMatrix<NumberD> heev_inplace(const MatrixRange<NumberZ>& A);
33 
35 // Note, only the lower triangle of A needs to be defined upon input, the other triangle is assumed.
37 MYRAMATH_EXPORT std::pair<Matrix<NumberC>, DiagonalMatrix<NumberS> > heev(const CMatrixRange<NumberC>& A);
38 MYRAMATH_EXPORT std::pair<Matrix<NumberZ>, DiagonalMatrix<NumberD> > heev(const CMatrixRange<NumberZ>& A);
40 
41 } // namespace
42 
43 #endif
Definition: syntax.dox:1
Various utility functions/classes related to scalar Number types.