File corre_matrix.hpp
Functions
-
template<typename NT>
CorreMatrix<NT> operator*(const NT k, CorreMatrix<NT> p)
-
template<typename NT>
std::ostream &operator<<(std::ostream &os, const CorreMatrix<NT> &p)
-
template<typename NT>
class CorreMatrix - #include <corre_matrix.hpp>
This class handles the PointType used by CorreSpectra_MT class. Every point is a correlation matrix and only the lower triangular part is stored.
- Template Parameters:
NT – Number Type
Public Types
-
typedef NT FT
The numeric/matrix/vector types we use.
Public Functions
-
inline CorreMatrix()
-
inline CorreMatrix(unsigned int n)
-
inline CorreMatrix(MT const &mat)
-
inline CorreMatrix(VT const &coeffs)
-
inline int dimension() const
-
inline void operator+=(const CorreMatrix<NT> &p)
-
inline void operator-=(const CorreMatrix<NT> &p)
-
inline void operator=(const CorreMatrix<NT> &p)
-
inline CorreMatrix<NT> operator+(const CorreMatrix<NT> &p) const
-
inline CorreMatrix<NT> operator-() const
-
inline void operator*=(const FT k)
-
inline CorreMatrix<NT> operator*(const FT k) const
-
inline void operator/=(const FT k)
-
inline NT dot(CorreMatrix<NT> c)
-
inline NT squared_length() const
-
inline void print() const
-
inline VT getCoefficients() const
Public Members
-
MT mat