Magnum/Math/Dual.h file

Class Magnum::Math::Dual.

Namespaces

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

Classes

template<class T>
class Magnum::Math::Dual
Dual number.

Functions

template<class T>
auto operator<<(Debug& debug, const Dual<T>& value) -> Debug&
Debug output operator.
template<class T>
auto sqrt(const Dual<T>& dual) -> Dual<T>
Square root of dual number.
template<class T>
auto sincos(const Dual<Rad<T>>& angle) -> Containers::Pair<Dual<T>, Dual<T>>
Sine and cosine of dual angle.