verry.affineform.Context#

class verry.affineform.Context(rounding='BRUTE')#

Bases: object

Create a new context.

Context can be regarded as a collection of noise symbols. All instances of AffineForm belong to the context in which they were initialized, and all operations must be performed within the context.

Parameters:

rounding (Literal["BRUTE", "FAST"], default="BRUTE") – Rounding mode. If rounding is "FAST", no new noise symbols are appended by addition, subtraction, or constant multiplication. Thus, the operations are relatively fast. Instead, the radius of the resulting interval may be increased.