MyraMath
equilibrate.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_EQUILIBRATE_H
7 #define MYRAMATH_SPARSE_EQUILIBRATE_H
8 
14 #include <myramath/MYRAMATH_EXPORT.h>
16 
18 
19 namespace myra {
20 
21 // Forward declaration.
22 template<class Number> class SparseMatrixRange;
23 
25 // TODO E is always pure real. Update signatures accordingly. Make sure E*A and A*E are defined within dimm(), need real*complex*real scaling.
27 MYRAMATH_EXPORT DiagonalMatrix<NumberS> equilibrate(const SparseMatrixRange<NumberS>& A);
28 MYRAMATH_EXPORT DiagonalMatrix<NumberD> equilibrate(const SparseMatrixRange<NumberD>& A);
29 MYRAMATH_EXPORT DiagonalMatrix<NumberC> equilibrate(const SparseMatrixRange<NumberC>& A);
30 MYRAMATH_EXPORT DiagonalMatrix<NumberZ> equilibrate(const SparseMatrixRange<NumberZ>& A);
32 
33 } // namespace myra
34 
35 #endif
Definition: syntax.dox:1
Various utility functions/classes related to scalar Number types.
Container for a diagonal matrix, O(n) storage. Used by SVD, row/column scaling, etc.