Class ModularSetObj#

Inheritance Relationships#

Base Type#

  • public ffi::Object

Class Documentation#

class ModularSetObj : public ffi::Object#

Integer congruence class {coeff * x + base | x in Z}.

A zero coefficient represents the singleton {base}; a coefficient of one represents all integers. This information can establish divisibility, for example every element of {4 * x | x in Z} is divisible by four.

Public Members

int64_t coeff#

Coefficient of the arbitrary integer multiplier.

int64_t base#

Constant offset of the congruence class.

Public Static Functions

static inline void RegisterReflection()#

Register the fields exposed through FFI reflection.

static inline int32_t _GetOrAllocRuntimeTypeIndex()#
static inline int32_t RuntimeTypeIndex() noexcept#