You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Fignumbers** is a TypeScript library for generating *figurate numbers*, numbers that can be visualized as geometric shapes.
7
+
**Fignumbers** is a comprehensive TypeScript library designed to generate and explore *figurate numbers*, numbers that can be visualized as geometric shapes in 2D, 3D, and higher-dimensional spaces.
8
8
9
-
Based on Figurate Numbers (2012) by Elena and Michel Deza, it implements a variety of infinite sequences corresponding to shapes in 2D, 3D, and beyond.
9
+
Based on the book Figurate Numbers (2012) by Elena and Michel Deza, this library supports a wide range of infinite sequences.
10
10
11
11
## Why fignumbers? 🚀
12
12
@@ -15,16 +15,15 @@ Based on Figurate Numbers (2012) by Elena and Michel Deza, it implements a varie
15
15
16
16
### BigInt Support Required ⚠️
17
17
18
-
Fignumbers uses `BigInt` to handle large integers beyond the `Number` type limit `(2^53 - 1)`.
19
-
Ensure your environment supports **BigInt** before using this library.
18
+
Fignumbers utilizes `BigInt` to manage large integers that exceed the `Number` type limit of `(2^53 - 1)`. Ensure that your environment supports **BigInt** before using this library.
20
19
21
20
## Three main classes ⚙️
22
21
23
-
**Fignumbers** is structured around three main classes based on their spatial dimensions (as detailed in the book). These are:
22
+
**Fignumbers** is structured around three main classes, each corresponding to a different spatial dimension, as described in the book:
24
23
25
-
1. PlaneFigNumbers = 10
26
-
2. SpaceFigNumbers = 19
27
-
3. MultiDimensionalFigNumbers = 15
24
+
1.`PlaneFigNumbers` = 10
25
+
2.`SpaceFigNumbers` = 19
26
+
3.`MultiDimensionalFigNumbers` = 17
28
27
29
28
Each class offers specialized methods for generating different types of figurate numbers.
0 commit comments