|
MGIS 3.1.0
|
File which defines the QuantityView class, a view returning the values of a function with one component as TFEL's quantities, i.e. scalar values associated with a physical unit. More...
#include "TFEL/Math/qt.hxx"#include "MGIS/Function/FunctionConcept.hxx"#include "MGIS/Function/TFEL/General.hxx"#include "MGIS/Function/TFEL/QuantityView.ixx"Classes | |
| struct | mgis::function::internals::FunctionResultTypeTraits<::tfel::math::qt_ref< UnitType, real > > |
| partial specialization allowing functions to return a mutable reference to a quantity, i.e. a qt_ref object of TFEL/Math More... | |
| struct | mgis::function::QuantityView< FunctionType, UnitType > |
| a view returning the values of a function as quantities More... | |
| struct | mgis::function::LightweightViewTraits< QuantityView< FunctionType, UnitType > > |
| partial specialisation stating that a QuantityView is its own view: it only stores a view of the underlying function, so copying it is cheap More... | |
Namespaces | |
| namespace | mgis |
| the namespace mgis encloses all the MGIS project. | |
Functions | |
| template<FunctionConcept FunctionType, ::tfel::math::unit::UnitConcept UnitType> | |
| constexpr decltype(auto) | mgis::function::getSpace (const QuantityView< FunctionType, UnitType > &) |
| return the underlying space | |
| template<FunctionConcept FunctionType, ::tfel::math::unit::UnitConcept UnitType> | |
| constexpr bool | mgis::function::check (AbstractErrorHandler &, const QuantityView< FunctionType, UnitType > &) |
| perform consistency checks | |
| template<FunctionConcept FunctionType, ::tfel::math::unit::UnitConcept UnitType> | |
| constexpr size_type | mgis::function::getNumberOfComponents (const QuantityView< FunctionType, UnitType > &) MGIS_NOEXCEPT |
| return the number of components | |
File which defines the QuantityView class, a view returning the values of a function with one component as TFEL's quantities, i.e. scalar values associated with a physical unit.
|
nodiscardconstexpr |
perform consistency checks
| FunctionType | type of the underlying function |
| UnitType | unit of the quantities returned by the view |
| [in] | eh | error handler used to report the errors |
| [in] | v | quantity view |
|
nodiscardconstexpr |
return the number of components
| FunctionType | type of the underlying function |
| UnitType | unit of the quantities returned by the view |
| [in] | v | quantity view |
|
nodiscardconstexpr |
return the underlying space
| FunctionType | type of the underlying function |
| UnitType | unit of the quantities returned by the view |
| [in] | v | quantity view |