verry.affine.Context#

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

Bases: object

Create a new context.

Context can be regarded as a collection of noise symbols. Each instance of AffineForm belongs to one context, and affine forms belonging to different contexts are considered independent.

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.