UniversalNumber class for the UOR Math-JS library Represents integers using their prime factorization (universal coordinates) Implements the Prime Framework for lossless arithmetic
- Source
Classes
Type Definitions
Coordinates
Type:
Properties- Object
Name | Type | Attributes | Description |
---|---|---|---|
factorization | Map.<BigInt, BigInt> | Map where keys are prime factors and values are their exponents | |
isNegative | boolean | Whether the number is negative | |
isZero | boolean | <optional> | Whether the number is zero |
- Source
FiberAlgebra
Type:
Properties- Object
Name | Type | Description |
---|---|---|
referencePoint | string | The reference point in manifold (default: "standard") |
gradedComponents | Map.<number, Array.<number>> | The graded components (by base) of the representation |
- Source
PartialFactorization
Support for partial factorization of very large numbers
Type:
Properties- Object
Name | Type | Description |
---|---|---|
knownFactors | Map.<BigInt, BigInt> | Factors that have been found |
remainingPart | BigInt | Part that hasn't been factorized yet |
- Source
ReferenceFrame
Type:
Properties- Object
Name | Type | Description |
---|---|---|
id | string | Unique identifier for the reference frame |
transformationRules | Object | Rules for transforming between frames |
- Source