XX CMake Package
Loading...
Searching...
No Matches
XX::Linalg Namespace Reference

Classes

class  Matrix
 NxM martix. More...
class  Quaternion
 quaternions, used to represent rotations in 3D space. More...
class  Spherical
 Spherical coordinates, used to represent points in 3D space. More...
class  Vector3
 3D vector, used to represent points or directions in 3D space. More...

Functions

template<typename RealType = float>
std::complex< RealType > cartesianToPolar (const std::complex< RealType > &cartesian)
template<typename RealType = float>
std::complex< RealType > polarToCartesian (const std::complex< RealType > &polar)
QDebug operator<< (QDebug stream, const Matrix &matrix)
QTextStream & operator>> (QTextStream &stream, Matrix &matrix)
QTextStream & operator<< (QTextStream &stream, const Matrix &matrix)
std::ostream & operator<< (std::ostream &out, const Spherical &spherial)
QDebug operator<< (QDebug stream, const Spherical &spherial)
std::ostream & operator<< (std::ostream &out, const Vector3 &vector)
QDebug operator<< (QDebug stream, const Vector3 &vector)
QTextStream & operator>> (QTextStream &stream, Vector3 &vector)
QTextStream & operator<< (QTextStream &stream, const Vector3 &vector)

Function Documentation

◆ cartesianToPolar()

template<typename RealType = float>
std::complex< RealType > XX::Linalg::cartesianToPolar ( const std::complex< RealType > & cartesian)

◆ polarToCartesian()

template<typename RealType = float>
std::complex< RealType > XX::Linalg::polarToCartesian ( const std::complex< RealType > & polar)