Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
Loading...
Searching...
No Matches
draw_functions.hpp File Reference

Dependency-free declarations of the pinned draw primitives (ADR-0044). More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bertini
namespace  bertini::records

Functions

double bertini::records::DrawUnitDouble ()
 A draw from this thread's pinned stream, uniform on [0,1) (exactly 53 bits).
double bertini::records::DrawSymmetricDouble ()
 A draw from this thread's pinned stream, uniform on [-1,1].

Detailed Description

Dependency-free declarations of the pinned draw primitives (ADR-0044).

The foundational headers (num_traits, double_extensions) need double draws from the per-thread pinned stream but must not include the full derive.hpp (which needs the multiprecision types those headers define). These free functions break the cycle; definitions live in src/records/derive.cpp.