wuzp
Wrong Unit? Zero Points! Compile-time checks for units, coordinate systems and points vs. vectors.
Loading...
Searching...
No Matches
Quantity.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cmath>
4#include <ostream>
5#include <tuple>
6#include <type_traits>
7
11#include "wuzp/core/Units.hpp"
14#include "wuzp/core/traits.hpp"
15
16namespace wuzp {
17
28template <typename ValueT_, typename UnitT_>
30
31// The aliases of quantities with a value type, e.g. QuantityD<UnitT_>, are defined by the value matrix backends, e.g.
32// wuzp_eigen::QuantityD<UnitT_>, since they need a value matrix backend.
33
34} // namespace wuzp
Container to store quantities.
Quantities< ValueT_, TypeMatrixImpl< MatrixSize< 1, 1 >, std::tuple< UnitT_ > > > Quantity
Container to store a single quantity.
Definition Quantity.hpp:29