Phyth v0.1.0
A dimensional safe C++ header-only mechanics and electromagnetics simulation library.
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions | Variables
Vector3.hpp File Reference
#include "Phyth/Core/Quantity.hpp"
#include "Vector.hpp"
#include "QuantityFuncs.hpp"
#include <ostream>
Include dependency graph for Vector3.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Phyth::Vector< 3, T >
 3D vector with Quantity components More...
 

Namespaces

namespace  Phyth
 

Typedefs

template<typename T >
using Phyth::Vector3 = Vector< 3, T >
 

Functions

template<typename T , typename U , typename = std::enable_if_t<!is_vector3_v<T>>>
constexpr auto Phyth::operator* (T scalar, const Vector3< U > &v)
 Scalar multiplication (scalar * vector)
 

Variables

template<typename T >
constexpr auto Phyth::is_vector3_v = is_vector_of_n_v<3, T>
 Convenience variable template for is_vector3.