pimath 0.0.128 → 0.0.130
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/main.d.ts +39 -0
- package/dist/maths/algebra/equation.d.ts +120 -0
- package/dist/maths/algebra/linearSystem.d.ts +40 -0
- package/dist/maths/algebra/logicalset.d.ts +28 -0
- package/dist/maths/algebra/monom.d.ts +207 -0
- package/dist/maths/algebra/polynom.d.ts +155 -0
- package/dist/maths/algebra/rational.d.ts +44 -0
- package/dist/maths/algebra/study/rationalStudy.d.ts +14 -0
- package/dist/maths/algebra/study.d.ts +140 -0
- package/dist/maths/coefficients/fraction.d.ts +90 -0
- package/dist/maths/coefficients/nthRoot.d.ts +23 -0
- package/dist/maths/geometry/circle.d.ts +46 -0
- package/dist/maths/geometry/line.d.ts +102 -0
- package/dist/maths/geometry/point.d.ts +36 -0
- package/dist/maths/geometry/triangle.d.ts +92 -0
- package/dist/maths/geometry/vector.d.ts +38 -0
- package/dist/maths/numeric.d.ts +28 -0
- package/dist/maths/numexp.d.ts +19 -0
- package/dist/maths/randomization/random.d.ts +26 -0
- package/dist/maths/randomization/randomCore.d.ts +7 -0
- package/dist/maths/randomization/rndFraction.d.ts +13 -0
- package/dist/maths/randomization/rndGeometryCircle.d.ts +13 -0
- package/dist/maths/randomization/rndGeometryLine.d.ts +13 -0
- package/dist/maths/randomization/rndGeometryPoint.d.ts +13 -0
- package/dist/maths/randomization/rndHelpers.d.ts +23 -0
- package/dist/maths/randomization/rndMonom.d.ts +13 -0
- package/dist/maths/randomization/rndPolynom.d.ts +14 -0
- package/dist/maths/randomization/rndTypes.d.ts +40 -0
- package/dist/maths/shutingyard.d.ts +59 -0
- package/dist/pimath.js +85 -85
- package/lib/main.ts +42 -0
- package/{src → lib}/maths/algebra/equation.ts +52 -58
- package/{src → lib}/maths/algebra/linearSystem.ts +5 -6
- package/lib/maths/algebra/logicalset.ts +183 -0
- package/{src → lib}/maths/algebra/monom.ts +7 -8
- package/{src → lib}/maths/algebra/polynom.ts +2 -2
- package/{src → lib}/maths/algebra/study.ts +9 -9
- package/{src → lib}/maths/coefficients/fraction.ts +4 -4
- package/{src → lib}/maths/geometry/circle.ts +6 -9
- package/{src → lib}/maths/geometry/line.ts +1 -1
- package/{src → lib}/maths/geometry/vector.ts +35 -34
- package/{src → lib}/maths/numexp.ts +91 -77
- package/{src → lib}/maths/randomization/rndHelpers.ts +1 -1
- package/{src → lib}/maths/randomization/rndMonom.ts +13 -13
- package/{src → lib}/maths/randomization/rndPolynom.ts +24 -24
- package/package.json +11 -12
- package/.eslintrc.js +0 -24
- package/.idea/$CACHE_FILE$ +0 -6
- package/.idea/PI.iml +0 -14
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/jsLibraryMappings.xml +0 -6
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/php.xml +0 -19
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_07_11_2023_08_30_[Default_Changelist]/shelved.patch +0 -192
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_07_11_2023_08_30_[Default_Changelist]1/shelved.patch +0 -0
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_07_11_2023_08_30__Default_Changelist_.xml +0 -4
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_09_11_2023_10_43_[Default_Changelist]/shelved.patch +0 -2404
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_09_11_2023_10_43__Default_Changelist_.xml +0 -4
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_09_11_2023_11_01_[Default_Changelist]/shelved.patch +0 -1362
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_09_11_2023_11_01__Default_Changelist_.xml +0 -4
- package/.idea/shelf/Uncommitted_changes_before_Update_at_24_07_2023_15_31_[Default_Changelist]/shelved.patch +0 -90
- package/.idea/shelf/Uncommitted_changes_before_Update_at_24_07_2023_15_31__Default_Changelist_.xml +0 -4
- package/.idea/vcs.xml +0 -6
- package/dist/demo/exercises.html +0 -283
- package/dist/demo/matrices.html +0 -39
- package/dist/demo/playground.html +0 -20
- package/dist/demo.css +0 -3
- package/dist/pimath.umd.cjs +0 -15
- package/docs/.nojekyll +0 -1
- package/docs/assets/highlight.css +0 -78
- package/docs/assets/main.js +0 -59
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1383
- package/docs/classes/Logicalset.Logicalset.html +0 -217
- package/docs/classes/Polynom.Rational.html +0 -397
- package/docs/classes/Vector-1.Vector.html +0 -490
- package/docs/classes/Vector.Point.html +0 -337
- package/docs/classes/algebra_equation.Equation.html +0 -790
- package/docs/classes/algebra_linearSystem.LinearSystem.html +0 -404
- package/docs/classes/algebra_monom.Monom.html +0 -962
- package/docs/classes/algebra_polynom.Polynom.html +0 -1275
- package/docs/classes/coefficients_fraction.Fraction.html +0 -934
- package/docs/classes/geometry_circle.Circle.html +0 -472
- package/docs/classes/geometry_line.Line.html +0 -774
- package/docs/classes/geometry_triangle.Triangle.html +0 -429
- package/docs/classes/numeric.Numeric.html +0 -265
- package/docs/classes/shutingyard.Shutingyard.html +0 -250
- package/docs/enums/algebra_equation.PARTICULAR_SOLUTION.html +0 -83
- package/docs/enums/geometry_line.LinePropriety.html +0 -97
- package/docs/enums/shutingyard.ShutingyardMode.html +0 -97
- package/docs/enums/shutingyard.ShutingyardType.html +0 -111
- package/docs/index.html +0 -63
- package/docs/interfaces/algebra_equation.ISolution.html +0 -105
- package/docs/interfaces/algebra_polynom.IEuclidian.html +0 -87
- package/docs/interfaces/geometry_triangle.remarquableLines.html +0 -163
- package/docs/modules/Logicalset.html +0 -65
- package/docs/modules/Polynom.html +0 -65
- package/docs/modules/Vector-1.html +0 -65
- package/docs/modules/Vector.html +0 -65
- package/docs/modules/algebra_equation.html +0 -69
- package/docs/modules/algebra_linearSystem.html +0 -61
- package/docs/modules/algebra_monom.html +0 -65
- package/docs/modules/algebra_polynom.html +0 -69
- package/docs/modules/coefficients_fraction.html +0 -65
- package/docs/modules/geometry_circle.html +0 -61
- package/docs/modules/geometry_line.html +0 -65
- package/docs/modules/geometry_triangle.html +0 -65
- package/docs/modules/numeric.html +0 -61
- package/docs/modules/shutingyard.html +0 -75
- package/docs/types/algebra_monom.literalType.html +0 -61
- package/docs/types/algebra_polynom.PolynomParsingType.html +0 -56
- package/docs/types/coefficients_fraction.FractionParsingType.html +0 -56
- package/docs/types/shutingyard.Token.html +0 -63
- package/docs/types/shutingyard.tokenType.html +0 -68
- package/docs/variables/shutingyard.tokenConstant.html +0 -61
- package/index.html +0 -15
- package/public/demo/exercises.html +0 -283
- package/public/demo/matrices.html +0 -39
- package/public/demo/playground.html +0 -20
- package/public/demo.css +0 -3
- package/src/demo/exercises.ts +0 -0
- package/src/demo/matrices.ts +0 -61
- package/src/demo/playground.ts +0 -153
- package/src/main.ts +0 -42
- package/src/maths/algebra/logicalset.ts +0 -183
- package/tests/algebra/equation.test.ts +0 -64
- package/tests/algebra/linear.test.ts +0 -58
- package/tests/algebra/monom.test.ts +0 -78
- package/tests/algebra/polynom.test.ts +0 -343
- package/tests/algebra/rationnal.test.ts +0 -64
- package/tests/algebra/study.test.ts +0 -48
- package/tests/coefficients/fraction.test.ts +0 -131
- package/tests/custom.test.ts +0 -33
- package/tests/geometry/circle.test.ts +0 -404
- package/tests/geometry/line.test.ts +0 -36
- package/tests/numeric.test.ts +0 -43
- package/tests/numexp.test.ts +0 -89
- package/tests/shutingyard.test.ts +0 -58
- package/tsconfig.json +0 -52
- package/tsconfig.testing.json +0 -28
- package/typedoc.katex.js +0 -11
- package/vite.config.js +0 -23
- package/webpack-production-min.config.js +0 -26
- package/webpack-production.config.js +0 -26
- package/webpack.config.js +0 -26
- /package/{src → lib}/maths/algebra/rational.ts +0 -0
- /package/{src → lib}/maths/algebra/study/rationalStudy.ts +0 -0
- /package/{src → lib}/maths/coefficients/nthRoot.ts +0 -0
- /package/{src → lib}/maths/geometry/point.ts +0 -0
- /package/{src → lib}/maths/geometry/triangle.ts +0 -0
- /package/{src → lib}/maths/numeric.ts +0 -0
- /package/{src → lib}/maths/randomization/random.ts +0 -0
- /package/{src → lib}/maths/randomization/randomCore.ts +0 -0
- /package/{src → lib}/maths/randomization/rndFraction.ts +0 -0
- /package/{src → lib}/maths/randomization/rndGeometryCircle.ts +0 -0
- /package/{src → lib}/maths/randomization/rndGeometryLine.ts +0 -0
- /package/{src → lib}/maths/randomization/rndGeometryPoint.ts +0 -0
- /package/{src → lib}/maths/randomization/rndTypes.ts +0 -0
- /package/{src → lib}/maths/shutingyard.ts +0 -0
package/tsconfig.json
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"typedocOptions": {
|
|
3
|
-
"entryPoints": [
|
|
4
|
-
"src/maths/algebra/equation.ts",
|
|
5
|
-
"src/maths/algebra/linearSystem.ts",
|
|
6
|
-
"src/maths/algebra/logicalset.ts",
|
|
7
|
-
"src/maths/algebra/monom.ts",
|
|
8
|
-
"src/maths/algebra/polynom.ts",
|
|
9
|
-
"src/maths/algebra/rational.ts",
|
|
10
|
-
"src/maths/coefficients/fraction.ts",
|
|
11
|
-
"src/maths/coefficients/nthroot.ts",
|
|
12
|
-
"src/maths/expressions/numexp.ts",
|
|
13
|
-
"src/maths/expressions/polynomexp.ts",
|
|
14
|
-
"src/maths/geometry/circle.ts",
|
|
15
|
-
"src/maths/geometry/line.ts",
|
|
16
|
-
"src/maths/geometry/point.ts",
|
|
17
|
-
"src/maths/geometry/triangle.ts",
|
|
18
|
-
"src/maths/geometry/vector.ts",
|
|
19
|
-
"src/maths/numeric.ts",
|
|
20
|
-
"src/maths/shutingyard.ts"
|
|
21
|
-
],
|
|
22
|
-
"plugin": [
|
|
23
|
-
"./typedoc.katex.js"
|
|
24
|
-
],
|
|
25
|
-
"out": "docs"
|
|
26
|
-
},
|
|
27
|
-
"compilerOptions": {
|
|
28
|
-
"target": "es2021",
|
|
29
|
-
"useDefineForClassFields": true,
|
|
30
|
-
"module": "ESNext",
|
|
31
|
-
"lib": [
|
|
32
|
-
"ES2021",
|
|
33
|
-
"DOM",
|
|
34
|
-
"DOM.Iterable"
|
|
35
|
-
],
|
|
36
|
-
"skipLibCheck": true,
|
|
37
|
-
"moduleResolution": "bundler",
|
|
38
|
-
"allowImportingTsExtensions": true,
|
|
39
|
-
"resolveJsonModule": true,
|
|
40
|
-
"isolatedModules": true,
|
|
41
|
-
"noEmit": true,
|
|
42
|
-
"outDir": "./esm/",
|
|
43
|
-
"noImplicitAny": true,
|
|
44
|
-
"allowJs": true,
|
|
45
|
-
"sourceMap": true,
|
|
46
|
-
"declaration": true,
|
|
47
|
-
"removeComments": false
|
|
48
|
-
},
|
|
49
|
-
"include": [
|
|
50
|
-
"./src/**/*"
|
|
51
|
-
]
|
|
52
|
-
}
|
package/tsconfig.testing.json
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"typedocOptions": {
|
|
3
|
-
"entryPoints": [
|
|
4
|
-
"src/maths/algebra/index.ts",
|
|
5
|
-
"src/maths/geometry/index.ts",
|
|
6
|
-
"src/maths/coefficients/index.ts",
|
|
7
|
-
"src/maths/random/index.ts",
|
|
8
|
-
"src/maths/numeric.ts",
|
|
9
|
-
"src/maths/shutingyard.ts"
|
|
10
|
-
],
|
|
11
|
-
"out": "docs"
|
|
12
|
-
},
|
|
13
|
-
"compilerOptions": {
|
|
14
|
-
"outDir": "./esm/",
|
|
15
|
-
"noImplicitAny": true,
|
|
16
|
-
"module": "commonjs",
|
|
17
|
-
"target": "esnext",
|
|
18
|
-
"allowJs": true,
|
|
19
|
-
"jsx": "react",
|
|
20
|
-
"sourceMap": true,
|
|
21
|
-
"moduleResolution": "node",
|
|
22
|
-
"declaration": true,
|
|
23
|
-
"removeComments": true
|
|
24
|
-
},
|
|
25
|
-
"include": [
|
|
26
|
-
"./tests/**/*"
|
|
27
|
-
]
|
|
28
|
-
}
|
package/typedoc.katex.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const { JSX } = require("typedoc");
|
|
2
|
-
|
|
3
|
-
exports.load = function (app) {
|
|
4
|
-
app.renderer.hooks.on("head.end", () => {
|
|
5
|
-
return JSX.createElement(JSX.Fragment, null,
|
|
6
|
-
JSX.createElement("link", { rel: "stylesheet", href: "https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.css", integrity: "sha384-R4558gYOUz8mP9YWpZJjofhk+zx0AS11p36HnD2ZKj/6JR5z27gSSULCNHIRReVs", crossorigin: "anonymous" },
|
|
7
|
-
JSX.createElement("script", { defer: true, src: "https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/katex.min.js", integrity: "sha384-z1fJDqw8ZApjGO3/unPWUPsIymfsJmyrDVWC8Tv/a1HeOtGmkwNd/7xUS0Xcnvsx", crossorigin: "anonymous" }),
|
|
8
|
-
JSX.createElement("script", { defer: true, src: "https://cdn.jsdelivr.net/npm/katex@0.15.1/dist/contrib/auto-render.min.js", integrity: "sha384-+XBljXPPiv+OzfbB3cVmLHf4hdUFHlWNZN5spNQ7rmHTXpd7WvJum6fIACpNNfIR", crossorigin: "anonymous", onload: "renderMathInElement(document.body);" })),
|
|
9
|
-
"}); }");
|
|
10
|
-
});
|
|
11
|
-
}
|
package/vite.config.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import {defineConfig} from "vite";
|
|
2
|
-
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
build: {
|
|
5
|
-
lib: {
|
|
6
|
-
entry: "src/main.ts",
|
|
7
|
-
name: "PiMath",
|
|
8
|
-
fileName: "pimath"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
rollupOptions: {
|
|
12
|
-
external: ["vue"],
|
|
13
|
-
output: {
|
|
14
|
-
globals: {
|
|
15
|
-
vue: "Vue"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
// input: {
|
|
19
|
-
// main: resolve(__dirname, "src/index.html"),
|
|
20
|
-
// playground: "src/demo/playground.html"
|
|
21
|
-
// }
|
|
22
|
-
}
|
|
23
|
-
})
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
mode: 'production',
|
|
5
|
-
entry: './src/index.ts',
|
|
6
|
-
devtool: 'source-map',
|
|
7
|
-
module: {
|
|
8
|
-
rules: [
|
|
9
|
-
{
|
|
10
|
-
test: /\.tsx?$/,
|
|
11
|
-
use: 'ts-loader',
|
|
12
|
-
exclude: /node_module/,
|
|
13
|
-
},
|
|
14
|
-
],
|
|
15
|
-
},
|
|
16
|
-
resolve: {
|
|
17
|
-
extensions: ['.tsx','.ts', '.js'],
|
|
18
|
-
},
|
|
19
|
-
output: {
|
|
20
|
-
filename: 'pimath.min.js',
|
|
21
|
-
path: path.resolve(__dirname, 'dist'),
|
|
22
|
-
},
|
|
23
|
-
optimization: {
|
|
24
|
-
minimize: true
|
|
25
|
-
}
|
|
26
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
mode: 'production',
|
|
5
|
-
entry: './src/main.ts',
|
|
6
|
-
devtool: 'source-map',
|
|
7
|
-
module: {
|
|
8
|
-
rules: [
|
|
9
|
-
{
|
|
10
|
-
test: /\.tsx?$/,
|
|
11
|
-
use: 'ts-loader',
|
|
12
|
-
exclude: /node_module/,
|
|
13
|
-
},
|
|
14
|
-
],
|
|
15
|
-
},
|
|
16
|
-
resolve: {
|
|
17
|
-
extensions: ['.tsx', '.ts', '.js'],
|
|
18
|
-
},
|
|
19
|
-
output: {
|
|
20
|
-
filename: 'pimath.js',
|
|
21
|
-
path: path.resolve(__dirname, 'dist'),
|
|
22
|
-
},
|
|
23
|
-
optimization: {
|
|
24
|
-
minimize: false
|
|
25
|
-
}
|
|
26
|
-
};
|
package/webpack.config.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
mode: 'development',
|
|
5
|
-
entry: './src/main.ts',
|
|
6
|
-
devtool: 'source-map',
|
|
7
|
-
module: {
|
|
8
|
-
rules: [
|
|
9
|
-
{
|
|
10
|
-
test: /\.tsx?$/,
|
|
11
|
-
use: 'ts-loader',
|
|
12
|
-
exclude: /node_module/,
|
|
13
|
-
},
|
|
14
|
-
],
|
|
15
|
-
},
|
|
16
|
-
resolve: {
|
|
17
|
-
extensions: ['.tsx', '.ts', '.js'],
|
|
18
|
-
},
|
|
19
|
-
output: {
|
|
20
|
-
filename: 'pimath.js',
|
|
21
|
-
path: path.resolve(__dirname, 'dev'),
|
|
22
|
-
},
|
|
23
|
-
optimization: {
|
|
24
|
-
minimize: false
|
|
25
|
-
}
|
|
26
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|