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::UnaryGenerator Struct Reference

Unary: g(x) = x + 1, sequence = 1, 2, 3, 4, ... Simplest possible generator. More...

#include <generators.hpp>

Public Member Functions

template<typename R>
R operator() (const R &x) const

Detailed Description

Unary: g(x) = x + 1, sequence = 1, 2, 3, 4, ... Simplest possible generator.

Linear bracketing.

Member Function Documentation

◆ operator()()

template<typename R>
R sw::universal::UnaryGenerator::operator() ( const R & x) const
inline

The documentation for this struct was generated from the following file:
  • /home/runner/work/universal/universal/include/sw/universal/number/bisection/generators.hpp