ARTS 2.5.4 (git: 31ce4f0e)
Quantum::Number::HalfIntegerValue Struct Reference

Holds half integer values, but only its denominator. More...

#include <quantum_numbers.h>

Public Member Functions

constexpr Rational val () const noexcept
 Returns the value as a Rational, keeping that this is a half-integer. More...
 

Public Attributes

Index x {std::numeric_limits<Index>::lowest()}
 

Detailed Description

Holds half integer values, but only its denominator.

Definition at line 74 of file quantum_numbers.h.

Member Function Documentation

◆ val()

constexpr Rational Quantum::Number::HalfIntegerValue::val ( ) const
inlineconstexprnoexcept

Returns the value as a Rational, keeping that this is a half-integer.

Definition at line 78 of file quantum_numbers.h.

References x.

Referenced by Quantum::Number::Value::low(), and Quantum::Number::Value::upp().

Member Data Documentation

◆ x

Index Quantum::Number::HalfIntegerValue::x {std::numeric_limits<Index>::lowest()}

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