tfel
Loading...
Searching...
No Matches
Unit.hxx File Reference

This file declares the classes Unit, GenerateUnit, AddUnit_, SubUnit_, PowUnit_ and RootUnit_. More...

#include <algorithm>
#include <type_traits>
#include "TFEL/Config/TFELConfig.hxx"
#include "TFEL/Math/Forward/Unit.hxx"

Classes

struct  tfel::math::unit::internals::AddUnit< UnitType1, UnitType2 >
struct  tfel::math::unit::internals::SubtractUnit< UnitType1, UnitType2 >
struct  tfel::math::unit::internals::PowerUnit< N, D, UnitType1 >

Namespaces

namespace  tfel
 the namespace tfel encloses all the TFEL project. This namespace is empty.
namespace  tfel::math
 This namespace contains various classes and functions défining mathematical objects and numerical algorithms.

Functions

constexpr UnitExponent tfel::math::unit::add (const UnitExponent &e1, const UnitExponent &e2) noexcept
constexpr UnitExponent tfel::math::unit::subtract (const UnitExponent &e1, const UnitExponent &e2) noexcept
constexpr UnitExponent tfel::math::unit::multiply (const UnitExponent &e1, const UnitExponent &e2) noexcept
constexpr UnitExponents tfel::math::unit::add (const UnitExponents &e1, const UnitExponents &e2) noexcept
constexpr UnitExponents tfel::math::unit::subtract (const UnitExponents &e1, const UnitExponents &e2) noexcept
constexpr UnitExponents tfel::math::unit::multiply (const UnitExponents &e1, const UnitExponents &e2) noexcept

Detailed Description

This file declares the classes Unit, GenerateUnit, AddUnit_, SubUnit_, PowUnit_ and RootUnit_.

Author
Thomas Helfer
Date
07/06/2006