|
Bertini 2 - C++ Core
Software for Numerical Algebraic Geometry
|
Functions for dealing with precisions of objects, particularly in the context of adaptive precision. More...
#include "bertini2/trackers/config.hpp"Go to the source code of this file.
Functions | |
| unsigned | bertini::tracking::adaptive::EnsureAtUniformPrecision (TimeCont< dbl > ×, SampCont< dbl > &samples) |
| Does not a thing, because cannot. | |
| unsigned | bertini::tracking::adaptive::EnsureAtUniformPrecision (TimeCont< mpfr_complex > ×, SampCont< mpfr_complex > &samples) |
| Changes precision of mpfr_complex to highest needed precision for the samples. | |
| unsigned | bertini::tracking::adaptive::EnsureAtUniformPrecision (TimeCont< mpfr_complex > ×, SampCont< mpfr_complex > &samples, SampCont< mpfr_complex > &derivatives) |
| Changes precision of mpfr_complex to highest needed precision for the samples. | |
| unsigned | bertini::tracking::adaptive::MaxPrecision (SampCont< mpfr_complex > const &samples) |
| Get the maximum precision among an input set of space samples. | |
| unsigned | bertini::tracking::adaptive::MaxPrecision (TimeCont< mpfr_complex > const ×) |
| Gets the maximum precision among a set of times. | |
| void | bertini::tracking::adaptive::SetPrecision (SampCont< mpfr_complex > &samples, unsigned prec) |
| Sets the precision of each space sample to be of input precision. | |
| void | bertini::tracking::adaptive::SetPrecision (TimeCont< mpfr_complex > ×, unsigned prec) |
| Sets the precision of each time sample to be of input precision. | |
Functions for dealing with precisions of objects, particularly in the context of adaptive precision.
These definitions are provided for use in trackers and endgames. This allows a uniform interface regardless of tracker details.
|
inline |
Does not a thing, because cannot.
Cannot change precision of fixed precision hardware doubles. This function is provided for template lookup, and interface completeness.
| times | Some times \(\in \mathbb{C}\). |
| samples | Some space samples \(\in \mathbb{C}^n\). |
|
inline |
Changes precision of mpfr_complex to highest needed precision for the samples.
| times | Some times \(\in \mathbb{C}\). |
| samples | Some space samples \(\in \mathbb{C}^n\). |
|
inline |
Changes precision of mpfr_complex to highest needed precision for the samples.
This function does NOT do any refinement, it merely changes the precision of default, and of the input objects.
| times | The times of some space samples |
| samples | Some spatial samples, probably obtained from an Endgame |
| derivatives | The derivatives of the space samples, at the time samples. Again, probably obtained from Endgame. |
|
inline |
Get the maximum precision among an input set of space samples.
This is computed based on the first coordinate. Length-zero samples will cause either an assert or a throw (from Eigen, not Bertini2).
| samples | Some complex samples in space, obtained from tracking probably. |
|
inline |
Gets the maximum precision among a set of times.
| times | Some complex times. |
|
inline |
Sets the precision of each space sample to be of input precision.
| samples | The samples of which to change precision. |
| prec | The new precision the samples should have. |
|
inline |
Sets the precision of each time sample to be of input precision.
| times | The times of which to change precision. |
| prec | The new precision the times should have. |