pimath 0.0.130 → 0.0.132
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 +1 -39
- package/dist/pimath.d.ts +39 -0
- package/dist/pimath.js +1698 -1698
- package/lib/main.ts +1 -42
- package/lib/pimath.ts +40 -0
- package/package.json +1 -1
package/lib/main.ts
CHANGED
|
@@ -1,42 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import {NumExp} from "./maths/numexp.ts";
|
|
3
|
-
import {Shutingyard} from "./maths/shutingyard.ts";
|
|
4
|
-
import {Random} from "./maths/randomization/random.ts";
|
|
5
|
-
import {Fraction} from "./maths/coefficients/fraction.ts";
|
|
6
|
-
import {NthRoot} from "./maths/coefficients/nthRoot.ts";
|
|
7
|
-
import {Monom} from "./maths/algebra/monom.ts";
|
|
8
|
-
import {Polynom} from "./maths/algebra/polynom.ts";
|
|
9
|
-
import {Equation} from "./maths/algebra/equation.ts";
|
|
10
|
-
import {LinearSystem} from "./maths/algebra/linearSystem.ts";
|
|
11
|
-
import {Rational} from "./maths/algebra/rational.ts";
|
|
12
|
-
import {Logicalset} from "./maths/algebra/logicalset.ts";
|
|
13
|
-
import {Vector} from "./maths/geometry/vector.ts";
|
|
14
|
-
import {Line} from "./maths/geometry/line.ts";
|
|
15
|
-
import {Triangle} from "./maths/geometry/triangle.ts";
|
|
16
|
-
import {Circle} from "./maths/geometry/circle.ts";
|
|
17
|
-
import {Point} from "./maths/geometry/point.ts";
|
|
18
|
-
|
|
19
|
-
// Expose as global
|
|
20
|
-
export const PiMath = {
|
|
21
|
-
ShutingYard: Shutingyard,
|
|
22
|
-
Numeric: Numeric,
|
|
23
|
-
NumExp: NumExp,
|
|
24
|
-
Fraction: Fraction,
|
|
25
|
-
Root: NthRoot,
|
|
26
|
-
Monom: Monom,
|
|
27
|
-
Polynom: Polynom,
|
|
28
|
-
Equation: Equation,
|
|
29
|
-
LinearSystem: LinearSystem,
|
|
30
|
-
Rational: Rational,
|
|
31
|
-
Logicalset: Logicalset,
|
|
32
|
-
Random: Random,
|
|
33
|
-
Geometry: {
|
|
34
|
-
Vector: Vector,
|
|
35
|
-
Point: Point,
|
|
36
|
-
Line: Line,
|
|
37
|
-
Triangle: Triangle,
|
|
38
|
-
Circle: Circle
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
// (<any>window).PiMath = PiMath
|
|
1
|
+
export {PiMath} from "./pimath.ts";
|
package/lib/pimath.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// Expose as global
|
|
2
|
+
import {Shutingyard} from "./maths/shutingyard.ts";
|
|
3
|
+
import {Numeric} from "./maths/numeric.ts";
|
|
4
|
+
import {NumExp} from "./maths/numexp.ts";
|
|
5
|
+
import {Fraction} from "./maths/coefficients/fraction.ts";
|
|
6
|
+
import {NthRoot} from "./maths/coefficients/nthRoot.ts";
|
|
7
|
+
import {Monom} from "./maths/algebra/monom.ts";
|
|
8
|
+
import {Polynom} from "./maths/algebra/polynom.ts";
|
|
9
|
+
import {Equation} from "./maths/algebra/equation.ts";
|
|
10
|
+
import {LinearSystem} from "./maths/algebra/linearSystem.ts";
|
|
11
|
+
import {Rational} from "./maths/algebra/rational.ts";
|
|
12
|
+
import {Logicalset} from "./maths/algebra/logicalset.ts";
|
|
13
|
+
import {Random} from "./maths/randomization/random.ts";
|
|
14
|
+
import {Vector} from "./maths/geometry/vector.ts";
|
|
15
|
+
import {Point} from "./maths/geometry/point.ts";
|
|
16
|
+
import {Line} from "./maths/geometry/line.ts";
|
|
17
|
+
import {Triangle} from "./maths/geometry/triangle.ts";
|
|
18
|
+
import {Circle} from "./maths/geometry/circle.ts";
|
|
19
|
+
|
|
20
|
+
export const PiMath = {
|
|
21
|
+
ShutingYard: Shutingyard,
|
|
22
|
+
Numeric: Numeric,
|
|
23
|
+
NumExp: NumExp,
|
|
24
|
+
Fraction: Fraction,
|
|
25
|
+
Root: NthRoot,
|
|
26
|
+
Monom: Monom,
|
|
27
|
+
Polynom: Polynom,
|
|
28
|
+
Equation: Equation,
|
|
29
|
+
LinearSystem: LinearSystem,
|
|
30
|
+
Rational: Rational,
|
|
31
|
+
Logicalset: Logicalset,
|
|
32
|
+
Random: Random,
|
|
33
|
+
Geometry: {
|
|
34
|
+
Vector: Vector,
|
|
35
|
+
Point: Point,
|
|
36
|
+
Line: Line,
|
|
37
|
+
Triangle: Triangle,
|
|
38
|
+
Circle: Circle
|
|
39
|
+
}
|
|
40
|
+
};
|