sequences

Members

(static, constant) goldenRatio :number

Description:
  • The standard float approximation of the Golden Ratio (phi).
Source:
See:
The standard float approximation of the Golden Ratio (phi).
Type:
  • number

(static, constant) goldenRatioBI

Description:
  • Calculates the Golden Ratio (phi) to an arbitrary precision using BigInt.
Source:
See:
Calculates the Golden Ratio (phi) to an arbitrary precision using BigInt.

(static, constant) goldenRatioStr

Description:
  • Calculates the Golden Ratio (phi) to an arbitrary precision and returns it as a formatted string.
Source:
See:
Calculates the Golden Ratio (phi) to an arbitrary precision and returns it as a formatted string.

(static, constant) gpn

Description:
  • Generalized Pentagonal Numbers (GPN). Formula: P_k = k(3k - 1) / 2 The sequence includes k = 0, 1, -1, 2, -2, 3, -3... https://oeis.org/A001318
Source:
See:
Generalized Pentagonal Numbers (GPN). Formula: P_k = k(3k - 1) / 2 The sequence includes k = 0, 1, -1, 2, -2, 3, -3... https://oeis.org/A001318

(static, constant) gpnBI

Description:
  • Generalized Pentagonal Numbers (GPN) - BigInt version.
Source:
See:
Generalized Pentagonal Numbers (GPN) - BigInt version.

(static, constant) heronsFormula

Description:
  • Calculates the area of a triangle given the lengths of its three sides. Uses Heron's formula.
Source:
See:
Calculates the area of a triangle given the lengths of its three sides. Uses Heron's formula.

(static, constant) heronsFormulaBI

Description:
  • Calculates the area of a triangle given the lengths of its three sides (BigInt version). Returns the integer part of the area (truncated).
Source:
See:
Calculates the area of a triangle given the lengths of its three sides (BigInt version). Returns the integer part of the area (truncated).

(static, constant) squareRoot

Description:
  • Calculates the square root of a number.
Source:
See:
Calculates the square root of a number.

(static, constant) squareRootBI

Description:
  • Calculates the integer square root of a BigInt using Newton's method.
Source:
See:
Calculates the integer square root of a BigInt using Newton's method.

Members

(static, constant) goldenRatio :number

Description:
  • The standard float approximation of the Golden Ratio (phi).
Source:
See:
The standard float approximation of the Golden Ratio (phi).
Type:
  • number

(static, constant) goldenRatioBI

Description:
  • Calculates the Golden Ratio (phi) to an arbitrary precision using BigInt.
Source:
See:
Calculates the Golden Ratio (phi) to an arbitrary precision using BigInt.

(static, constant) goldenRatioStr

Description:
  • Calculates the Golden Ratio (phi) to an arbitrary precision and returns it as a formatted string.
Source:
See:
Calculates the Golden Ratio (phi) to an arbitrary precision and returns it as a formatted string.

(static, constant) gpn

Description:
  • Generalized Pentagonal Numbers (GPN). Formula: P_k = k(3k - 1) / 2 The sequence includes k = 0, 1, -1, 2, -2, 3, -3... https://oeis.org/A001318
Source:
See:
Generalized Pentagonal Numbers (GPN). Formula: P_k = k(3k - 1) / 2 The sequence includes k = 0, 1, -1, 2, -2, 3, -3... https://oeis.org/A001318

(static, constant) gpnBI

Description:
  • Generalized Pentagonal Numbers (GPN) - BigInt version.
Source:
See:
Generalized Pentagonal Numbers (GPN) - BigInt version.

(static, constant) heronsFormula

Description:
  • Calculates the area of a triangle given the lengths of its three sides. Uses Heron's formula.
Source:
See:
Calculates the area of a triangle given the lengths of its three sides. Uses Heron's formula.

(static, constant) heronsFormulaBI

Description:
  • Calculates the area of a triangle given the lengths of its three sides (BigInt version). Returns the integer part of the area (truncated).
Source:
See:
Calculates the area of a triangle given the lengths of its three sides (BigInt version). Returns the integer part of the area (truncated).

(static, constant) squareRoot

Description:
  • Calculates the square root of a number.
Source:
See:
Calculates the square root of a number.

(static, constant) squareRootBI

Description:
  • Calculates the integer square root of a BigInt using Newton's method.
Source:
See:
Calculates the integer square root of a BigInt using Newton's method.

Members

(static, constant) goldenRatio :number

Description:
  • The standard float approximation of the Golden Ratio (phi).
Source:
See:
The standard float approximation of the Golden Ratio (phi).
Type:
  • number

(static, constant) goldenRatioBI

Description:
  • Calculates the Golden Ratio (phi) to an arbitrary precision using BigInt.
Source:
See:
Calculates the Golden Ratio (phi) to an arbitrary precision using BigInt.

(static, constant) goldenRatioStr

Description:
  • Calculates the Golden Ratio (phi) to an arbitrary precision and returns it as a formatted string.
Source:
See:
Calculates the Golden Ratio (phi) to an arbitrary precision and returns it as a formatted string.

(static, constant) gpn

Description:
  • Generalized Pentagonal Numbers (GPN). Formula: P_k = k(3k - 1) / 2 The sequence includes k = 0, 1, -1, 2, -2, 3, -3... https://oeis.org/A001318
Source:
See:
Generalized Pentagonal Numbers (GPN). Formula: P_k = k(3k - 1) / 2 The sequence includes k = 0, 1, -1, 2, -2, 3, -3... https://oeis.org/A001318

(static, constant) gpnBI

Description:
  • Generalized Pentagonal Numbers (GPN) - BigInt version.
Source:
See:
Generalized Pentagonal Numbers (GPN) - BigInt version.

(static, constant) heronsFormula

Description:
  • Calculates the area of a triangle given the lengths of its three sides. Uses Heron's formula.
Source:
See:
Calculates the area of a triangle given the lengths of its three sides. Uses Heron's formula.

(static, constant) heronsFormulaBI

Description:
  • Calculates the area of a triangle given the lengths of its three sides (BigInt version). Returns the integer part of the area (truncated).
Source:
See:
Calculates the area of a triangle given the lengths of its three sides (BigInt version). Returns the integer part of the area (truncated).

(static, constant) squareRoot

Description:
  • Calculates the square root of a number.
Source:
See:
Calculates the square root of a number.

(static, constant) squareRootBI

Description:
  • Calculates the integer square root of a BigInt using Newton's method.
Source:
See:
Calculates the integer square root of a BigInt using Newton's method.

Members

(static, constant) goldenRatio :number

Description:
  • The standard float approximation of the Golden Ratio (phi).
Source:
See:
The standard float approximation of the Golden Ratio (phi).
Type:
  • number

(static, constant) goldenRatioBI

Description:
  • Calculates the Golden Ratio (phi) to an arbitrary precision using BigInt.
Source:
See:
Calculates the Golden Ratio (phi) to an arbitrary precision using BigInt.

(static, constant) goldenRatioStr

Description:
  • Calculates the Golden Ratio (phi) to an arbitrary precision and returns it as a formatted string.
Source:
See:
Calculates the Golden Ratio (phi) to an arbitrary precision and returns it as a formatted string.

(static, constant) gpn

Description:
  • Generalized Pentagonal Numbers (GPN). Formula: P_k = k(3k - 1) / 2 The sequence includes k = 0, 1, -1, 2, -2, 3, -3... https://oeis.org/A001318
Source:
See:
Generalized Pentagonal Numbers (GPN). Formula: P_k = k(3k - 1) / 2 The sequence includes k = 0, 1, -1, 2, -2, 3, -3... https://oeis.org/A001318

(static, constant) gpnBI

Description:
  • Generalized Pentagonal Numbers (GPN) - BigInt version.
Source:
See:
Generalized Pentagonal Numbers (GPN) - BigInt version.

(static, constant) heronsFormula

Description:
  • Calculates the area of a triangle given the lengths of its three sides. Uses Heron's formula.
Source:
See:
Calculates the area of a triangle given the lengths of its three sides. Uses Heron's formula.

(static, constant) heronsFormulaBI

Description:
  • Calculates the area of a triangle given the lengths of its three sides (BigInt version). Returns the integer part of the area (truncated).
Source:
See:
Calculates the area of a triangle given the lengths of its three sides (BigInt version). Returns the integer part of the area (truncated).

(static, constant) squareRoot

Description:
  • Calculates the square root of a number.
Source:
See:
Calculates the square root of a number.

(static, constant) squareRootBI

Description:
  • Calculates the integer square root of a BigInt using Newton's method.
Source:
See:
Calculates the integer square root of a BigInt using Newton's method.