|
SpECTRE
2021.08.02
|
Sum a continued fraction. More...
#include <FractionUtilities.hpp>
Public Types | |
| using | Term_t = std::decay_t< decltype(std::declval< Fraction >().numerator())> |
Public Member Functions | |
| Fraction | value () const noexcept |
| Sum of the supplied continued fraction terms. | |
| void | insert (Term_t term) noexcept |
| Insert a new term. Terms should be supplied from most to least significant. | |
Sum a continued fraction.
| Fraction | the result type, which must be a fraction type |