Magnum/Math/Complex.h file

Class Magnum::Math::Complex, function Magnum::Math::dot(), Magnum::math::angle()

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Math
Math library.

Classes

template<class T>
class Magnum::Math::Complex
Complex number.
template<class T>
struct Corrade::Utility::ConfigurationValue<Magnum::Math::Complex<T>>
Configuration value parser and writer.

Functions

template<class T>
auto dot(const Complex<T>& a, const Complex<T>& b) -> T
Dot product of two complex numbers.
template<class T>
auto angle(const Complex<T>& normalizedA, const Complex<T>& normalizedB) -> Rad<T>
Angle between normalized complex numbers.
template<class T>
auto operator*(const Vector2<T>& vector, const Complex<T>& complex) -> Complex<T>
Multiply a vector with a complex number.
template<class T>
auto lerp(const Complex<T>& normalizedA, const Complex<T>& normalizedB, T t) -> Complex<T>
Linear interpolation of two complex numbers.
template<class T>
auto slerp(const Complex<T>& normalizedA, const Complex<T>& normalizedB, T t) -> Complex<T>
Spherical linear interpolation of two complex numbers.
template<class T>
auto operator<<(Corrade::Utility::Debug& debug, const Complex<T>& value) -> Corrade::Utility::Debug&
Debug output operator.