MyraMath
jacobi.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_JACOBI_H
7 #define MYRAMATH_DENSE_JACOBI_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 CMatrixRange;
24 template<class Number> class MatrixRange;
25 template<class Number> class DiagonalMatrix;
26 
28 MYRAMATH_EXPORT DiagonalMatrix<NumberS> jacobi_inplace(const MatrixRange<NumberS>& A, int S = 10);
30 MYRAMATH_EXPORT DiagonalMatrix<NumberD> jacobi_inplace(const MatrixRange<NumberD>& A, int S = 10);
32 
34 MYRAMATH_EXPORT std::pair< Matrix<NumberS>, DiagonalMatrix<NumberS> > jacobi(const CMatrixRange<NumberS>& A, int S = 10);
36 MYRAMATH_EXPORT std::pair< Matrix<NumberD>, DiagonalMatrix<NumberD> > jacobi(const CMatrixRange<NumberD>& A, int S = 10);
38 
39 } // namespace
40 
41 #endif
Definition: syntax.dox:1
Various utility functions/classes related to scalar Number types.