Physical Quantities  v1.0.0
C++ library of physical quantities, physical models, and units of measure for scientific computing. https://github.com/acodcha/phq
Classes | Namespaces | Functions
TransportEnergyConsumption.hpp File Reference
#include <cstddef>
#include <functional>
#include <ostream>
#include "DimensionalScalar.hpp"
#include "Length.hpp"
#include "Power.hpp"
#include "Speed.hpp"
#include "Unit/TransportEnergyConsumption.hpp"

Go to the source code of this file.

Classes

class  PhQ::TransportEnergyConsumption< NumericType >
 Transport energy consumption, also known as energy consumption in transport. A measure of energy use per distance traveled. Energy consumption in transport is often measured in joules per metre (J/m), kilowatt-hours per kilometre (kW·hr/km), or kilowatt-hours per mile (kW·hr/mi). More...
 

Namespaces

 PhQ
 Namespace that encompasses all of the Physical Quantities library's content.
 

Functions

template<typename NumericType >
constexpr bool PhQ::operator== (const TransportEnergyConsumption< NumericType > &left, const TransportEnergyConsumption< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator!= (const TransportEnergyConsumption< NumericType > &left, const TransportEnergyConsumption< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator< (const TransportEnergyConsumption< NumericType > &left, const TransportEnergyConsumption< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator> (const TransportEnergyConsumption< NumericType > &left, const TransportEnergyConsumption< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator<= (const TransportEnergyConsumption< NumericType > &left, const TransportEnergyConsumption< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator>= (const TransportEnergyConsumption< NumericType > &left, const TransportEnergyConsumption< NumericType > &right) noexcept
 
template<typename NumericType >
std::ostream & PhQ::operator<< (std::ostream &stream, const TransportEnergyConsumption< NumericType > &transport_energy_consumption)
 
template<typename NumericType >
constexpr TransportEnergyConsumption< NumericType > PhQ::operator* (const NumericType number, const TransportEnergyConsumption< NumericType > &transport_energy_consumption)