Coefficients of Legendre polynomials
Multiplies polynomials by brute force
Generates an array of consecutive integers starting at 0
Removes duplicates from a sorted array in place
Computes the derivative a polynomial. Formally the same thing as multiplying by the index and shifting left.
Test if two floats are almost equal
Rounds an integer up to a power of 2
Maximal independent vertex sets
The constant NaN derived mathematically by 0 / 0.
ES6-compliant shim for Number.isNaN - the global isNaN returns false positives.
Return true if the given number is even.
Natural Sort algorithm for ArkTS.
A high-performance ArkTS 2D polyline simplification library.
Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.
Clamp a value between two other values
Computes the least common multiple (lcm).
Computes the greatest common divisor (gcd).
Validates if a value is an integer array.
Generate uniformly distributed ints in any base from a bit sequence