@pacem/pacem-numerical 1.0.0-amaldi → 1.0.0-archimedes

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,45 @@
1
+ [![npm version](https://img.shields.io/npm/v/%40pacem%2Fpacem-numerical.svg)](https://www.npmjs.com/package/@pacem/pacem-numerical)
2
+ [![license](https://img.shields.io/npm/l/%40pacem%2Fpacem-numerical.svg)](https://github.com/pacem-it/pacem/blob/main/LICENSE)
3
+
4
+ # @pacem/pacem-numerical
5
+
6
+ Numerical helpers for the [Pacem JS](https://js.pacem.it) ecosystem, grouped into two namespaces:
7
+
8
+ - `Geometry` — 2D/3D geometry primitives, polygon utilities, and a `LinearAlgebra` sub-namespace.
9
+ - `Mathematics` — complex numbers, a `DataAnalysis` sub-namespace, and a `NumberTheory` sub-namespace.
10
+
11
+ No DOM dependency, no custom elements — just plain utility classes. Depends only on [`@pacem/pacem-foundation`](https://www.npmjs.com/package/@pacem/pacem-foundation).
12
+
13
+ Part of the [Pacem JS](https://js.pacem.it) ecosystem. Install [`@pacem/pacem`](https://www.npmjs.com/package/@pacem/pacem) instead if you want every package bundled together.
14
+
15
+ ## Installation
16
+
17
+ ```sh
18
+ npm install @pacem/pacem-numerical
19
+ ```
20
+
21
+ ## Usage
22
+
23
+ ### As an ES module
24
+
25
+ ```js
26
+ import { Geometry, Mathematics } from '@pacem/pacem-numerical';
27
+ ```
28
+
29
+ ### In the browser, without a bundler
30
+
31
+ ```html
32
+ <script src="node_modules/@pacem/pacem-foundation/dist/browser/pacem-foundation.min.js"></script>
33
+ <script src="node_modules/@pacem/pacem-numerical/dist/browser/pacem-numerical.min.js"></script>
34
+ <script>
35
+ Pacem.Geometry; Pacem.Mathematics;
36
+ </script>
37
+ ```
38
+
39
+ ### TypeScript
40
+
41
+ Typings ship in `typings/index.d.ts` and are resolved automatically via the package's `exports` field — both for the ES module import style and for the ambient `Pacem` global used by the plain `<script>` include above.
42
+
43
+ ## License
44
+
45
+ [Apache-2.0](https://github.com/pacem-it/pacem/blob/main/LICENSE) &copy; [Pacem](https://pacem.it)
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @pacem/pacem-numerical v1.0.0-amaldi (https://js.pacem.it)
2
+ * @pacem/pacem-numerical v1.0.0-archimedes (https://js.pacem.it)
3
3
  * Pacem (https://pacem.it)
4
4
  * Licensed under Apache-2.0
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @pacem/pacem-numerical v1.0.0-amaldi (https://js.pacem.it)
2
+ * @pacem/pacem-numerical v1.0.0-archimedes (https://js.pacem.it)
3
3
  * Pacem (https://pacem.it)
4
4
  * Licensed under Apache-2.0
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @pacem/pacem-numerical v1.0.0-amaldi (https://js.pacem.it)
2
+ * @pacem/pacem-numerical v1.0.0-archimedes (https://js.pacem.it)
3
3
  * Pacem (https://pacem.it)
4
4
  * Licensed under Apache-2.0
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @pacem/pacem-numerical v1.0.0-amaldi (https://js.pacem.it)
2
+ * @pacem/pacem-numerical v1.0.0-archimedes (https://js.pacem.it)
3
3
  * Pacem (https://pacem.it)
4
4
  * Licensed under Apache-2.0
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @pacem/pacem-numerical v1.0.0-amaldi (https://js.pacem.it)
2
+ * @pacem/pacem-numerical v1.0.0-archimedes (https://js.pacem.it)
3
3
  * Pacem (https://pacem.it)
4
4
  * Licensed under Apache-2.0
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @pacem/pacem-numerical v1.0.0-amaldi (https://js.pacem.it)
2
+ * @pacem/pacem-numerical v1.0.0-archimedes (https://js.pacem.it)
3
3
  * Pacem (https://pacem.it)
4
4
  * Licensed under Apache-2.0
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @pacem/pacem-numerical v1.0.0-amaldi (https://js.pacem.it)
2
+ * @pacem/pacem-numerical v1.0.0-archimedes (https://js.pacem.it)
3
3
  * Pacem (https://pacem.it)
4
4
  * Licensed under Apache-2.0
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @pacem/pacem-numerical v1.0.0-amaldi (https://js.pacem.it)
2
+ * @pacem/pacem-numerical v1.0.0-archimedes (https://js.pacem.it)
3
3
  * Pacem (https://pacem.it)
4
4
  * Licensed under Apache-2.0
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @pacem/pacem-numerical v1.0.0-amaldi (https://js.pacem.it)
2
+ * @pacem/pacem-numerical v1.0.0-archimedes (https://js.pacem.it)
3
3
  * Pacem (https://pacem.it)
4
4
  * Licensed under Apache-2.0
5
5
  */
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @pacem/pacem-numerical v1.0.0-amaldi (https://js.pacem.it)
2
+ * @pacem/pacem-numerical v1.0.0-archimedes (https://js.pacem.it)
3
3
  * Pacem (https://pacem.it)
4
4
  * Licensed under Apache-2.0
5
5
  */
package/package.json CHANGED
@@ -27,7 +27,7 @@
27
27
  "types": "./typings/index.d.ts"
28
28
  }
29
29
  },
30
- "version": "1.0.0-amaldi",
30
+ "version": "1.0.0-archimedes",
31
31
  "author": {
32
32
  "name": "Pacem",
33
33
  "url": "https://pacem.it"