Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
Loading...
Searching...
No Matches
bertini::tracking::FixedPrecisionConfig Struct Reference

Settings for a fixed-precision tracker (carries the single working precision in effect). More...

#include <config.hpp>

Public Types

using RealT = double
 The real number type.

Public Member Functions

 FixedPrecisionConfig (System const &)
 Construct a ready-to-go set of fixed precision settings from a system.
 FixedPrecisionConfig ()=default

Public Attributes

unsigned precision = 0
 The number of digits to always work at.

Detailed Description

Settings for a fixed-precision tracker (carries the single working precision in effect).

Member Typedef Documentation

◆ RealT

The real number type.

Constructor & Destructor Documentation

◆ FixedPrecisionConfig() [1/2]

bertini::tracking::FixedPrecisionConfig::FixedPrecisionConfig ( System const & )
inlineexplicit

Construct a ready-to-go set of fixed precision settings from a system.

◆ FixedPrecisionConfig() [2/2]

bertini::tracking::FixedPrecisionConfig::FixedPrecisionConfig ( )
default

Member Data Documentation

◆ precision

unsigned bertini::tracking::FixedPrecisionConfig::precision = 0

The number of digits to always work at.

For a double-precision tracker this is DoublePrecision() (16) and cannot be changed. For a fixed-multiple tracker it is the precision the whole solve runs at – the tracker, the system, the start points, and the working precision all sit at this one value. A tracker keeps this field in sync with its actual precision, so reading it tells you the precision in effect; set it to choose a different fixed precision (the algorithm then lifts the system and start points to match). The sentinel 0 means "unset -- use the tracker's natural precision".