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

Go to the source code of this file.
Classes | |
| struct | Phyth::Vector< N, T > |
| struct | Phyth::is_vector< typename > |
| struct | Phyth::is_vector< Vector< N, QuantityT > > |
| struct | Phyth::is_vector_of_n< N, T > |
| struct | Phyth::is_vector_of_n< N, Vector< N, T > > |
Namespaces | |
| namespace | Phyth |
Functions | |
| template<typename T , std::size_t N, typename U , typename = std::enable_if_t<!is_vector_of_n_v<N, T>>> | |
| constexpr auto | Phyth::operator* (T scalar, const Vector< N, U > &v) |
Variables | |
| template<typename VecT > | |
| constexpr auto | Phyth::is_vector_v = is_vector<VecT>::value |
| template<std::size_t N, typename T > | |
| constexpr bool | Phyth::is_vector_of_n_v = is_vector_of_n<N, T>::value |