PrimeMath module for the UOR Math-JS library Provides a namespace with advanced arithmetic and number theory functions Based on the Prime Framework for universal number representation
- Source
Namespaces
Members
(inner) UniversalNumber :Object|null
Type:
- Object |
null
- Source
Type Definitions
UniversalNumber
Type:
Properties- Object
Name | Type | Description |
---|---|---|
add | function | Add method |
subtract | function | Subtract method |
multiply | function | Multiply method |
divide | function | Divide method |
pow | function | Power method |
gcd | function | GCD method |
lcm | function | LCM method |
isIntrinsicPrime | function | Check if number is prime |
toBigInt | function | Convert to BigInt |
getFactorization | function | Get prime factorization |
- Source