Magnum/Math/Dual.h file

Class Magnum::Math::Dual.

Contents

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<<(Corrade::Utility::Debug& debug, const Dual<T>& value) -> Corrade::Utility::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) -> std::pair<Dual<T>, Dual<T>>
Sine and cosine of dual angle.