pimath 0.2.9 → 0.2.10
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/pimath.js +26 -11
- package/dist/pimath.js.map +1 -1
- package/package.json +1 -1
- package/src/algebra/matrix.ts +45 -8
- package/src/randomization/algebra/rndMonom.ts +16 -10
- package/src/randomization/geometry/rndCircle.ts +5 -5
- package/src/randomization/geometry/{rndVector.ts → rndPoint.ts} +6 -6
- package/src/randomization/random.ts +4 -4
- package/types/algebra/matrix.d.ts +5 -0
- package/types/algebra/matrix.d.ts.map +1 -1
- package/types/index.d.ts +1 -1
- package/types/randomization/algebra/rndMonom.d.ts.map +1 -1
- package/types/randomization/geometry/rndCircle.d.ts.map +1 -1
- package/types/randomization/geometry/rndPoint.d.ts +4 -0
- package/types/randomization/geometry/rndPoint.d.ts.map +1 -0
- package/types/randomization/random.d.ts +3 -3
- package/types/randomization/random.d.ts.map +1 -1
package/package.json
CHANGED
package/src/algebra/matrix.ts
CHANGED
|
@@ -5,10 +5,17 @@ import {operation_pow} from "./operations"
|
|
|
5
5
|
|
|
6
6
|
export type IMatrixValues = InputAlgebra<Polynom>[][]
|
|
7
7
|
|
|
8
|
+
enum MATRIX_TYPE {
|
|
9
|
+
pmatrix,
|
|
10
|
+
bmatrix,
|
|
11
|
+
Bmatrix,
|
|
12
|
+
vmatrix,
|
|
13
|
+
Vmatrix
|
|
14
|
+
}
|
|
8
15
|
export class Matrix implements IPiMathObject<Matrix>,
|
|
9
16
|
IExpressionMultiply<Matrix> {
|
|
10
17
|
#digits: number | null = null
|
|
11
|
-
#matrix_parenthesis =
|
|
18
|
+
#matrix_parenthesis: MATRIX_TYPE = MATRIX_TYPE.pmatrix
|
|
12
19
|
#values: Polynom[][] = []
|
|
13
20
|
|
|
14
21
|
constructor(rowCount?: number, colCount?: number) {
|
|
@@ -22,8 +29,6 @@ export class Matrix implements IPiMathObject<Matrix>,
|
|
|
22
29
|
|
|
23
30
|
public parse(values: IMatrixValues): this {
|
|
24
31
|
return this.fromValues(values)
|
|
25
|
-
|
|
26
|
-
return this
|
|
27
32
|
}
|
|
28
33
|
|
|
29
34
|
public clone(): Matrix {
|
|
@@ -47,8 +52,7 @@ export class Matrix implements IPiMathObject<Matrix>,
|
|
|
47
52
|
return ""
|
|
48
53
|
}
|
|
49
54
|
|
|
50
|
-
const wrapper = this
|
|
51
|
-
|
|
55
|
+
const wrapper = this.resolveTeXwrapper()
|
|
52
56
|
|
|
53
57
|
const output = [
|
|
54
58
|
`\\begin{${wrapper}}`,
|
|
@@ -65,12 +69,30 @@ export class Matrix implements IPiMathObject<Matrix>,
|
|
|
65
69
|
return output
|
|
66
70
|
}
|
|
67
71
|
|
|
72
|
+
resolveWrapper(): [string, string]{
|
|
73
|
+
if(this.#matrix_parenthesis=== MATRIX_TYPE.vmatrix) return ['|', '|']
|
|
74
|
+
if(this.#matrix_parenthesis=== MATRIX_TYPE.Vmatrix) return ['||', '||']
|
|
75
|
+
if(this.#matrix_parenthesis=== MATRIX_TYPE.bmatrix) return ['[', ']']
|
|
76
|
+
if(this.#matrix_parenthesis=== MATRIX_TYPE.Bmatrix) return ['{', '}']
|
|
77
|
+
|
|
78
|
+
return ['(', ')']
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
resolveTeXwrapper(): string {
|
|
82
|
+
if(this.#matrix_parenthesis=== MATRIX_TYPE.vmatrix) return 'vmatrix'
|
|
83
|
+
if(this.#matrix_parenthesis=== MATRIX_TYPE.Vmatrix) return 'Vmatrix'
|
|
84
|
+
if(this.#matrix_parenthesis=== MATRIX_TYPE.bmatrix) return 'bmatrix'
|
|
85
|
+
if(this.#matrix_parenthesis=== MATRIX_TYPE.Bmatrix) return 'Bmatrix'
|
|
86
|
+
|
|
87
|
+
return 'pmatrix'
|
|
88
|
+
}
|
|
89
|
+
|
|
68
90
|
get display(): string {
|
|
69
91
|
if (this.#values.length === 0) {
|
|
70
92
|
return ""
|
|
71
93
|
}
|
|
72
94
|
|
|
73
|
-
const wrapper = this
|
|
95
|
+
const wrapper = this.resolveWrapper()
|
|
74
96
|
|
|
75
97
|
const output = wrapper[0] +
|
|
76
98
|
this.map(aij => this.#digits !== null && aij.value ? +aij.value.toFixed(this.#digits): aij.display)
|
|
@@ -103,7 +125,12 @@ export class Matrix implements IPiMathObject<Matrix>,
|
|
|
103
125
|
}
|
|
104
126
|
|
|
105
127
|
get bmatrix(): this {
|
|
106
|
-
this.#matrix_parenthesis =
|
|
128
|
+
this.#matrix_parenthesis = MATRIX_TYPE.bmatrix
|
|
129
|
+
return this
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
get Bmatrix(): this {
|
|
133
|
+
this.#matrix_parenthesis = MATRIX_TYPE.Bmatrix
|
|
107
134
|
return this
|
|
108
135
|
}
|
|
109
136
|
|
|
@@ -409,7 +436,17 @@ export class Matrix implements IPiMathObject<Matrix>,
|
|
|
409
436
|
}
|
|
410
437
|
|
|
411
438
|
get pmatrix(): this {
|
|
412
|
-
this.#matrix_parenthesis =
|
|
439
|
+
this.#matrix_parenthesis = MATRIX_TYPE.pmatrix
|
|
440
|
+
return this
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
get vmatrix(): this {
|
|
444
|
+
this.#matrix_parenthesis = MATRIX_TYPE.vmatrix
|
|
445
|
+
return this
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
get Vmatrix(): this {
|
|
449
|
+
this.#matrix_parenthesis = MATRIX_TYPE.Vmatrix
|
|
413
450
|
return this
|
|
414
451
|
}
|
|
415
452
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type {randomMonomConfig} from "../rndTypes"
|
|
2
|
+
import {Monom} from "../../algebra/monom"
|
|
3
|
+
import {rndFraction} from "../coefficient/rndFraction"
|
|
4
|
+
import {randomItem} from "../rndHelpers"
|
|
5
5
|
|
|
6
6
|
export function rndMonom(userConfig?: randomMonomConfig): Monom {
|
|
7
7
|
const config = Object.assign(
|
|
@@ -9,18 +9,24 @@ export function rndMonom(userConfig?: randomMonomConfig): Monom {
|
|
|
9
9
|
letters: 'x',
|
|
10
10
|
degree: 2,
|
|
11
11
|
fraction: true,
|
|
12
|
-
zero: false
|
|
12
|
+
zero: false,
|
|
13
13
|
}, userConfig)
|
|
14
14
|
|
|
15
15
|
// Create a monom instance
|
|
16
16
|
const M = new Monom()
|
|
17
17
|
|
|
18
18
|
// Generate the coefficient
|
|
19
|
-
M.coefficient = rndFraction(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
M.coefficient = rndFraction(
|
|
20
|
+
Object.assign(
|
|
21
|
+
{},
|
|
22
|
+
{
|
|
23
|
+
zero: config.zero,
|
|
24
|
+
reduced: true,
|
|
25
|
+
natural: config.fraction===false,
|
|
26
|
+
},
|
|
27
|
+
typeof config.fraction === "boolean" ? {} : config.fraction
|
|
28
|
+
)
|
|
29
|
+
)
|
|
24
30
|
|
|
25
31
|
if (config.letters.length > 1) {
|
|
26
32
|
// Initialise each items...
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import type {
|
|
4
|
-
import {
|
|
1
|
+
import {Circle} from "../../geometry/circle"
|
|
2
|
+
import {randomInt} from "../rndHelpers"
|
|
3
|
+
import type {randomGeometryCircleConfig} from "../rndTypes"
|
|
4
|
+
import {rndPoint} from "./rndPoint"
|
|
5
5
|
|
|
6
6
|
export function rndCircle(userConfig?: randomGeometryCircleConfig): Circle {
|
|
7
7
|
const config = Object.assign(
|
|
@@ -13,7 +13,7 @@ export function rndCircle(userConfig?: randomGeometryCircleConfig): Circle {
|
|
|
13
13
|
pointsOnCircle: 8
|
|
14
14
|
}, userConfig)
|
|
15
15
|
|
|
16
|
-
const center =
|
|
16
|
+
const center = rndPoint(config.center)
|
|
17
17
|
|
|
18
18
|
let rv, r
|
|
19
19
|
if (config.pointsOnCircle === 8) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import {Fraction} from "../../coefficients/fraction"
|
|
2
|
+
import type {randomGeometryPointConfig} from "../rndTypes"
|
|
3
|
+
import {rndFraction} from "../coefficient/rndFraction"
|
|
4
|
+
import {randomIntSym} from "../rndHelpers"
|
|
5
|
+
import {Point} from "../../geometry/point"
|
|
6
6
|
|
|
7
|
-
export function
|
|
7
|
+
export function rndPoint(userConfig?: randomGeometryPointConfig): Point {
|
|
8
8
|
const config: {
|
|
9
9
|
axis: 'x' | 'y' | 'z' | null,
|
|
10
10
|
fraction: boolean,
|
|
@@ -26,8 +26,8 @@ import {rndEquation} from "./algebra/rndEquation"
|
|
|
26
26
|
import {rndCircle} from "./geometry/rndCircle"
|
|
27
27
|
import {rndLine} from "./geometry/rndLine"
|
|
28
28
|
import {rndLine3} from "./geometry/rndLine3"
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
29
|
+
import {rndPoint} from "./geometry/rndPoint"
|
|
30
|
+
import {Vector} from "../geometry"
|
|
31
31
|
|
|
32
32
|
export type * from "./rndTypes"
|
|
33
33
|
|
|
@@ -89,11 +89,11 @@ export const Random = {
|
|
|
89
89
|
},
|
|
90
90
|
|
|
91
91
|
vector: (config?: randomGeometryPointConfig) => {
|
|
92
|
-
return
|
|
92
|
+
return new Vector(rndPoint(config))
|
|
93
93
|
},
|
|
94
94
|
|
|
95
95
|
point: (config?: randomGeometryPointConfig) => {
|
|
96
|
-
return
|
|
96
|
+
return rndPoint(config)
|
|
97
97
|
},
|
|
98
98
|
|
|
99
99
|
circle: (config?: randomGeometryCircleConfig) => {
|
|
@@ -8,10 +8,13 @@ export declare class Matrix implements IPiMathObject<Matrix>, IExpressionMultipl
|
|
|
8
8
|
parse(values: IMatrixValues): this;
|
|
9
9
|
clone(): Matrix;
|
|
10
10
|
get tex(): string;
|
|
11
|
+
resolveWrapper(): [string, string];
|
|
12
|
+
resolveTeXwrapper(): string;
|
|
11
13
|
get display(): string;
|
|
12
14
|
add(value: Matrix): this;
|
|
13
15
|
aij(i: number, j: number): Polynom | null;
|
|
14
16
|
get bmatrix(): this;
|
|
17
|
+
get Bmatrix(): this;
|
|
15
18
|
canBeAdded(matrix: Matrix): boolean;
|
|
16
19
|
canBeInverted(): boolean;
|
|
17
20
|
canBeMultiplied(matrix: Matrix): boolean;
|
|
@@ -39,6 +42,8 @@ export declare class Matrix implements IPiMathObject<Matrix>, IExpressionMultipl
|
|
|
39
42
|
one(): this;
|
|
40
43
|
opposite(): this;
|
|
41
44
|
get pmatrix(): this;
|
|
45
|
+
get vmatrix(): this;
|
|
46
|
+
get Vmatrix(): this;
|
|
42
47
|
pow(value: number): this;
|
|
43
48
|
reduce(): Matrix;
|
|
44
49
|
get rows(): Polynom[][];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matrix.d.ts","sourceRoot":"","sources":["../../src/algebra/matrix.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAC,MAAM,qBAAqB,CAAA;AACrG,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AACjC,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,aAAa,CAAA;AAGvC,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,CAAC,EAAE,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"matrix.d.ts","sourceRoot":"","sources":["../../src/algebra/matrix.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAC,MAAM,qBAAqB,CAAA;AACrG,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AACjC,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,aAAa,CA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.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ declare const PiMath: {
|
|
|
52
52
|
shuffle: <T>(arr: T[]) => T[];
|
|
53
53
|
line: (config?: import(".").randomGeometryLineConfig) => Line;
|
|
54
54
|
line3: (config?: import(".").randomGeometryLine3Config) => Line3;
|
|
55
|
-
vector: (config?: import(".").randomGeometryPointConfig) =>
|
|
55
|
+
vector: (config?: import(".").randomGeometryPointConfig) => Vector;
|
|
56
56
|
point: (config?: import(".").randomGeometryPointConfig) => Point;
|
|
57
57
|
circle: (config?: import(".").randomGeometryCircleConfig) => Circle;
|
|
58
58
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rndMonom.d.ts","sourceRoot":"","sources":["../../../src/randomization/algebra/rndMonom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"rndMonom.d.ts","sourceRoot":"","sources":["../../../src/randomization/algebra/rndMonom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,aAAa,CAAA;AAClD,OAAO,EAAC,KAAK,EAAC,MAAM,qBAAqB,CAAA;AAIzC,wBAAgB,QAAQ,CAAC,UAAU,CAAC,EAAE,iBAAiB,GAAG,KAAK,CAuC9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rndCircle.d.ts","sourceRoot":"","sources":["../../../src/randomization/geometry/rndCircle.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"rndCircle.d.ts","sourceRoot":"","sources":["../../../src/randomization/geometry/rndCircle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAA;AAE5C,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,aAAa,CAAA;AAG3D,wBAAgB,SAAS,CAAC,UAAU,CAAC,EAAE,0BAA0B,GAAG,MAAM,CAqBzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rndPoint.d.ts","sourceRoot":"","sources":["../../../src/randomization/geometry/rndPoint.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,aAAa,CAAA;AAG1D,OAAO,EAAC,KAAK,EAAC,MAAM,sBAAsB,CAAA;AAE1C,wBAAgB,QAAQ,CAAC,UAAU,CAAC,EAAE,yBAAyB,GAAG,KAAK,CAwDtE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { randomCoefficientConfig, randomEquationConfig, randomGeometryCircleConfig, randomGeometryLine3Config, randomGeometryLineConfig, randomGeometryPointConfig, randomMonomConfig, randomPolynomConfig } from "./rndTypes";
|
|
2
|
-
import {
|
|
2
|
+
import { Vector } from "../geometry";
|
|
3
3
|
export type * from "./rndTypes";
|
|
4
4
|
export declare const Random: {
|
|
5
5
|
equation: (config?: randomEquationConfig) => import("..").Equation;
|
|
@@ -16,8 +16,8 @@ export declare const Random: {
|
|
|
16
16
|
shuffle: <T>(arr: T[]) => T[];
|
|
17
17
|
line: (config?: randomGeometryLineConfig) => import("..").Line;
|
|
18
18
|
line3: (config?: randomGeometryLine3Config) => import("..").Line3;
|
|
19
|
-
vector: (config?: randomGeometryPointConfig) =>
|
|
20
|
-
point: (config?: randomGeometryPointConfig) => Point;
|
|
19
|
+
vector: (config?: randomGeometryPointConfig) => Vector;
|
|
20
|
+
point: (config?: randomGeometryPointConfig) => import("..").Point;
|
|
21
21
|
circle: (config?: randomGeometryCircleConfig) => import("..").Circle;
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=random.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"random.d.ts","sourceRoot":"","sources":["../../src/randomization/random.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,uBAAuB,EACvB,oBAAoB,EACpB,0BAA0B,EAC1B,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACtB,MAAM,YAAY,CAAA;AAoBnB,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"random.d.ts","sourceRoot":"","sources":["../../src/randomization/random.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,uBAAuB,EACvB,oBAAoB,EACpB,0BAA0B,EAC1B,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACtB,MAAM,YAAY,CAAA;AAoBnB,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAA;AAElC,mBAAmB,YAAY,CAAA;AAE/B,eAAO,MAAM,MAAM;wBACK,oBAAoB;uBAIrB,mBAAmB;qBAIrB,iBAAiB;wBAId,uBAAuB;mBAI5B,MAAM,MAAM,MAAM,YAAY,MAAM,EAAE,KAAG,MAAM;qBAI7C,MAAM,cAAc,OAAO,KAAG,MAAM;iBAIxC,MAAM,KAAG,MAAM;sBAIV,MAAM,cAAc,OAAO,KAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI;qBAI9D,MAAM,KAAG,OAAO;YAIzB,CAAC,OAAO,CAAC,EAAE,WAAW,MAAM,KAAG,CAAC,EAAE;WAInC,CAAC,OAAO,CAAC,EAAE,KAAG,CAAC;cAIZ,CAAC,OAAO,CAAC,EAAE,KAAG,CAAC,EAAE;oBAIX,wBAAwB;qBAIvB,yBAAyB;sBAIxB,yBAAyB;qBAI1B,yBAAyB;sBAIxB,0BAA0B;CAG/C,CAAA"}
|