|
Phyth v0.1.0
A dimensional safe C++ header-only mechanics and electromagnetics simulation library.
|
#include "Phyth/Core/Quantity.hpp"#include "Phyth/Core/Quantities.hpp"#include "QuantityFuncs.hpp"#include "Vector3.hpp"#include <ostream>

Go to the source code of this file.
Classes | |
| struct | Phyth::Quaternion< T > |
| Quaternion with Quantity components. More... | |
| struct | Phyth::is_quaternion< typename > |
| Trait: check if a type is a Quaternion instantiation. More... | |
| struct | Phyth::is_quaternion< Quaternion< T > > |
Namespaces | |
| namespace | Phyth |
Functions | |
| template<typename T , typename U > | |
| constexpr auto | Phyth::operator* (const Quantity< T > scalar, const Quaternion< U > &q) |
| Scalar * Quaternion multiplication (commutative) | |
Variables | |
| template<typename T > | |
| constexpr auto | Phyth::is_quaternion_v = is_quaternion<T>::value |
| Convenience variable template for is_quaternion. | |