MyraMath
pinv.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_PINV_H
7 #define MYRAMATH_DENSE_PINV_H
8 
15 #include <myramath/MYRAMATH_EXPORT.h>
16 
17 namespace myra {
18 
19 // Forward declarations.
20 template<class Number> class Matrix;
21 template<class Number> class CMatrixRange;
22 
24 MYRAMATH_EXPORT Matrix<NumberS> pinv(const CMatrixRange<NumberS>& A, float tolerance = 1.0e-5 );
26 MYRAMATH_EXPORT Matrix<NumberD> pinv(const CMatrixRange<NumberD>& A, double tolerance = 1.0e-12);
27 MYRAMATH_EXPORT Matrix<NumberC> pinv(const CMatrixRange<NumberC>& A, float tolerance = 1.0e-5 );
28 MYRAMATH_EXPORT Matrix<NumberZ> pinv(const CMatrixRange<NumberZ>& A, double tolerance = 1.0e-12);
30 
31 } // namespace
32 
33 #endif
Definition: syntax.dox:1
Various utility functions/classes related to scalar Number types.