Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
sw::universal::OperationStruc< NumberType, Op > Struct Template Reference

#include <generateClosurePlots.hpp>

Public Member Functions

NumberType executeOperation (NumberType a, NumberType b) const
NumberType executeInverseOperation (NumberType a, NumberType b) const

Static Public Member Functions

static constexpr char getOperationChar ()
static constexpr std::string_view getOperationString ()
static NumberType primary (NumberType a, NumberType b)
static NumberType inverse (NumberType a, NumberType b)

Member Function Documentation

◆ executeInverseOperation()

template<typename NumberType, char Op>
NumberType sw::universal::OperationStruc< NumberType, Op >::executeInverseOperation ( NumberType a,
NumberType b ) const
inline

◆ executeOperation()

template<typename NumberType, char Op>
NumberType sw::universal::OperationStruc< NumberType, Op >::executeOperation ( NumberType a,
NumberType b ) const
inline

◆ getOperationChar()

template<typename NumberType, char Op>
constexpr char sw::universal::OperationStruc< NumberType, Op >::getOperationChar ( )
inlinestaticconstexpr

◆ getOperationString()

template<typename NumberType, char Op>
constexpr std::string_view sw::universal::OperationStruc< NumberType, Op >::getOperationString ( )
inlinestaticconstexpr

◆ inverse()

template<typename NumberType, char Op>
NumberType sw::universal::OperationStruc< NumberType, Op >::inverse ( NumberType a,
NumberType b )
inlinestatic

◆ primary()

template<typename NumberType, char Op>
NumberType sw::universal::OperationStruc< NumberType, Op >::primary ( NumberType a,
NumberType b )
inlinestatic

The documentation for this struct was generated from the following file: