pimath 0.0.92 → 0.0.93
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/dist/pi.js +300 -297
- package/dist/pi.min.js +1 -1
- package/dist/pi.min.js.map +1 -1
- package/esm/maths/algebra/polynom.d.ts +2 -0
- package/esm/maths/algebra/rational.d.ts +1 -0
- package/esm/maths/algebra/study.d.ts +2 -1
- package/package.json +12 -12
|
@@ -7,10 +7,12 @@ import {Fraction} from "../coefficients/fraction";
|
|
|
7
7
|
import {ISolution} from "./equation";
|
|
8
8
|
|
|
9
9
|
export declare type PolynomParsingType = string | Polynom | number | Fraction | Monom;
|
|
10
|
+
|
|
10
11
|
export interface IEuclidian {
|
|
11
12
|
quotient: Polynom;
|
|
12
13
|
reminder: Polynom;
|
|
13
14
|
}
|
|
15
|
+
|
|
14
16
|
/**
|
|
15
17
|
* Polynom class can handle polynoms, reorder, resolve, ...
|
|
16
18
|
* ```
|
|
@@ -7,11 +7,13 @@ import {ISolution} from "./equation";
|
|
|
7
7
|
import {Polynom} from "./polynom";
|
|
8
8
|
|
|
9
9
|
export declare type StudyableFunction = Rational;
|
|
10
|
+
|
|
10
11
|
export declare enum ZEROTYPE {
|
|
11
12
|
ZERO = "z",
|
|
12
13
|
DEFENCE = "d",
|
|
13
14
|
NOTHING = "t"
|
|
14
15
|
}
|
|
16
|
+
|
|
15
17
|
export interface IZero extends ISolution {
|
|
16
18
|
extrema: FUNCTION_EXTREMA;
|
|
17
19
|
type: ZEROTYPE;
|
|
@@ -22,7 +24,6 @@ export declare enum ASYMPTOTE {
|
|
|
22
24
|
SLOPE = "ao",
|
|
23
25
|
HOLE = "hole"
|
|
24
26
|
}
|
|
25
|
-
|
|
26
27
|
export declare enum ASYMPTOTE_POSITION {
|
|
27
28
|
"LT" = "LT",
|
|
28
29
|
"RT" = "RT",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pimath",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.93",
|
|
4
4
|
"description": "A math library for teacher :)",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "mocha -r ts-node/register 'tests/**/*.test.ts'",
|
|
@@ -17,18 +17,18 @@
|
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/chai": "*",
|
|
19
19
|
"@types/mocha": "*",
|
|
20
|
-
"@types/node": "^
|
|
21
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
22
|
-
"@typescript-eslint/parser": "^5.
|
|
20
|
+
"@types/node": "^18.11.0",
|
|
21
|
+
"@typescript-eslint/eslint-plugin": "^5.40.0",
|
|
22
|
+
"@typescript-eslint/parser": "^5.40.0",
|
|
23
23
|
"chai": "*",
|
|
24
24
|
"mocha": "*",
|
|
25
|
-
"eslint": "^8.
|
|
26
|
-
"ts-loader": "^9.
|
|
27
|
-
"ts-node": "^10.
|
|
28
|
-
"typedoc": "^0.
|
|
29
|
-
"typescript": "^4.
|
|
30
|
-
"webpack": "^5.
|
|
31
|
-
"webpack-bundle-analyzer": "^4.
|
|
32
|
-
"webpack-cli": "^4.
|
|
25
|
+
"eslint": "^8.25.0",
|
|
26
|
+
"ts-loader": "^9.4.1",
|
|
27
|
+
"ts-node": "^10.9.1",
|
|
28
|
+
"typedoc": "^0.23.16",
|
|
29
|
+
"typescript": "^4.8.4",
|
|
30
|
+
"webpack": "^5.74.0",
|
|
31
|
+
"webpack-bundle-analyzer": "^4.6.1",
|
|
32
|
+
"webpack-cli": "^4.10.0"
|
|
33
33
|
}
|
|
34
34
|
}
|