pimath 0.0.132 → 0.0.133

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.
Files changed (33) hide show
  1. package/dist/main.d.ts +39 -1
  2. package/package.json +2 -3
  3. package/dist/pimath.d.ts +0 -39
  4. package/lib/main.ts +0 -1
  5. package/lib/maths/algebra/equation.ts +0 -891
  6. package/lib/maths/algebra/linearSystem.ts +0 -369
  7. package/lib/maths/algebra/logicalset.ts +0 -183
  8. package/lib/maths/algebra/monom.ts +0 -1027
  9. package/lib/maths/algebra/polynom.ts +0 -1537
  10. package/lib/maths/algebra/rational.ts +0 -244
  11. package/lib/maths/algebra/study/rationalStudy.ts +0 -287
  12. package/lib/maths/algebra/study.ts +0 -506
  13. package/lib/maths/coefficients/fraction.ts +0 -593
  14. package/lib/maths/coefficients/nthRoot.ts +0 -148
  15. package/lib/maths/geometry/circle.ts +0 -379
  16. package/lib/maths/geometry/line.ts +0 -604
  17. package/lib/maths/geometry/point.ts +0 -215
  18. package/lib/maths/geometry/triangle.ts +0 -368
  19. package/lib/maths/geometry/vector.ts +0 -243
  20. package/lib/maths/numeric.ts +0 -162
  21. package/lib/maths/numexp.ts +0 -198
  22. package/lib/maths/randomization/random.ts +0 -80
  23. package/lib/maths/randomization/randomCore.ts +0 -19
  24. package/lib/maths/randomization/rndFraction.ts +0 -47
  25. package/lib/maths/randomization/rndGeometryCircle.ts +0 -50
  26. package/lib/maths/randomization/rndGeometryLine.ts +0 -53
  27. package/lib/maths/randomization/rndGeometryPoint.ts +0 -69
  28. package/lib/maths/randomization/rndHelpers.ts +0 -107
  29. package/lib/maths/randomization/rndMonom.ts +0 -57
  30. package/lib/maths/randomization/rndPolynom.ts +0 -90
  31. package/lib/maths/randomization/rndTypes.ts +0 -43
  32. package/lib/maths/shutingyard.ts +0 -496
  33. package/lib/pimath.ts +0 -40
package/dist/main.d.ts CHANGED
@@ -1 +1,39 @@
1
- export { PiMath } from './pimath.ts';
1
+ import { Circle } from './maths/geometry/circle.ts';
2
+ import { Triangle } from './maths/geometry/triangle.ts';
3
+ import { Line } from './maths/geometry/line.ts';
4
+ import { Point } from './maths/geometry/point.ts';
5
+ import { Vector } from './maths/geometry/vector.ts';
6
+ import { Random } from './maths/randomization/random.ts';
7
+ import { Logicalset } from './maths/algebra/logicalset.ts';
8
+ import { Rational } from './maths/algebra/rational.ts';
9
+ import { LinearSystem } from './maths/algebra/linearSystem.ts';
10
+ import { Equation } from './maths/algebra/equation.ts';
11
+ import { Polynom } from './maths/algebra/polynom.ts';
12
+ import { Monom } from './maths/algebra/monom.ts';
13
+ import { NthRoot } from './maths/coefficients/nthRoot.ts';
14
+ import { Fraction } from './maths/coefficients/fraction.ts';
15
+ import { NumExp } from './maths/numexp.ts';
16
+ import { Numeric } from './maths/numeric.ts';
17
+ import { Shutingyard } from './maths/shutingyard.ts';
18
+
19
+ export declare const PiMath: {
20
+ ShutingYard: typeof Shutingyard;
21
+ Numeric: typeof Numeric;
22
+ NumExp: typeof NumExp;
23
+ Fraction: typeof Fraction;
24
+ Root: typeof NthRoot;
25
+ Monom: typeof Monom;
26
+ Polynom: typeof Polynom;
27
+ Equation: typeof Equation;
28
+ LinearSystem: typeof LinearSystem;
29
+ Rational: typeof Rational;
30
+ Logicalset: typeof Logicalset;
31
+ Random: typeof Random;
32
+ Geometry: {
33
+ Vector: typeof Vector;
34
+ Point: typeof Point;
35
+ Line: typeof Line;
36
+ Triangle: typeof Triangle;
37
+ Circle: typeof Circle;
38
+ };
39
+ };
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "pimath",
3
- "version": "0.0.132",
3
+ "version": "0.0.133",
4
4
  "description": "A math library for teacher :)",
5
5
  "type": "module",
6
6
  "main": "dist/pimath.js",
7
7
  "types": "dist/pimath.d.ts",
8
8
  "files": [
9
- "dist",
10
- "lib"
9
+ "dist"
11
10
  ],
12
11
  "scripts": {
13
12
  "test": "mocha -r ts-node/register 'tests/**/*.test.ts'",
package/dist/pimath.d.ts DELETED
@@ -1,39 +0,0 @@
1
- import { Circle } from './maths/geometry/circle.ts';
2
- import { Triangle } from './maths/geometry/triangle.ts';
3
- import { Line } from './maths/geometry/line.ts';
4
- import { Point } from './maths/geometry/point.ts';
5
- import { Vector } from './maths/geometry/vector.ts';
6
- import { Random } from './maths/randomization/random.ts';
7
- import { Logicalset } from './maths/algebra/logicalset.ts';
8
- import { Rational } from './maths/algebra/rational.ts';
9
- import { LinearSystem } from './maths/algebra/linearSystem.ts';
10
- import { Equation } from './maths/algebra/equation.ts';
11
- import { Polynom } from './maths/algebra/polynom.ts';
12
- import { Monom } from './maths/algebra/monom.ts';
13
- import { NthRoot } from './maths/coefficients/nthRoot.ts';
14
- import { Fraction } from './maths/coefficients/fraction.ts';
15
- import { NumExp } from './maths/numexp.ts';
16
- import { Numeric } from './maths/numeric.ts';
17
- import { Shutingyard } from './maths/shutingyard.ts';
18
-
19
- export declare const PiMath: {
20
- ShutingYard: typeof Shutingyard;
21
- Numeric: typeof Numeric;
22
- NumExp: typeof NumExp;
23
- Fraction: typeof Fraction;
24
- Root: typeof NthRoot;
25
- Monom: typeof Monom;
26
- Polynom: typeof Polynom;
27
- Equation: typeof Equation;
28
- LinearSystem: typeof LinearSystem;
29
- Rational: typeof Rational;
30
- Logicalset: typeof Logicalset;
31
- Random: typeof Random;
32
- Geometry: {
33
- Vector: typeof Vector;
34
- Point: typeof Point;
35
- Line: typeof Line;
36
- Triangle: typeof Triangle;
37
- Circle: typeof Circle;
38
- };
39
- };
package/lib/main.ts DELETED
@@ -1 +0,0 @@
1
- export {PiMath} from "./pimath.ts";