pimath 0.1.22 → 0.1.24
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/algebra/polyFactor.d.ts +7 -10
- package/dist/pimath.js +752 -712
- package/dist/pimath.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IAlgebra, IExpression, InputAlgebra, InputValue, IPiMathObject, ISolution, literalType, POLYFACTOR_TABLE_OF_SIGNS } from '../pimath.interface';
|
|
2
|
-
import { Fraction } from '../coefficients
|
|
2
|
+
import { Fraction } from '../coefficients';
|
|
3
3
|
import { Factor } from './factor';
|
|
4
4
|
import { Polynom } from './polynom';
|
|
5
5
|
export declare class PolyFactor implements IPiMathObject<PolyFactor>, IExpression<PolyFactor>, IAlgebra<PolyFactor> {
|
|
@@ -10,19 +10,20 @@ export declare class PolyFactor implements IPiMathObject<PolyFactor>, IExpressio
|
|
|
10
10
|
get tex(): string;
|
|
11
11
|
get display(): string;
|
|
12
12
|
static gcd(...values: PolyFactor[]): PolyFactor;
|
|
13
|
+
static lcm(...values: PolyFactor[]): PolyFactor;
|
|
13
14
|
add(...values: PolyFactor[]): this;
|
|
14
15
|
get asPower(): this;
|
|
15
16
|
get asRoot(): this;
|
|
16
17
|
degree(letter?: string): Fraction;
|
|
17
|
-
get denominator():
|
|
18
|
+
get denominator(): PolyFactor;
|
|
18
19
|
derivative(): this;
|
|
19
|
-
develop():
|
|
20
|
+
develop(): PolyFactor;
|
|
20
21
|
divide(value: PolyFactor): this;
|
|
21
22
|
evaluate(values: InputValue<Fraction> | literalType<number | Fraction>, asNumeric?: boolean): number | Fraction;
|
|
23
|
+
factorize(letter?: string): PolyFactor;
|
|
22
24
|
get factors(): Factor[];
|
|
23
25
|
set factors(value: Factor[]);
|
|
24
|
-
fromPolynom(numerator: InputAlgebra<Polynom>, denominator?: InputAlgebra<Polynom
|
|
25
|
-
getFactors(): Factor[];
|
|
26
|
+
fromPolynom(numerator: InputAlgebra<Polynom>, denominator?: InputAlgebra<Polynom>): this;
|
|
26
27
|
getZeroes(): ISolution[];
|
|
27
28
|
hasVariable(letter: string): boolean;
|
|
28
29
|
inverse(): this;
|
|
@@ -30,7 +31,7 @@ export declare class PolyFactor implements IPiMathObject<PolyFactor>, IExpressio
|
|
|
30
31
|
isOne(): boolean;
|
|
31
32
|
isZero(): boolean;
|
|
32
33
|
multiply(...values: PolyFactor[]): this;
|
|
33
|
-
get numerator():
|
|
34
|
+
get numerator(): PolyFactor;
|
|
34
35
|
one(): this;
|
|
35
36
|
opposite(): this;
|
|
36
37
|
pow(value: number | Fraction): this;
|
|
@@ -38,10 +39,6 @@ export declare class PolyFactor implements IPiMathObject<PolyFactor>, IExpressio
|
|
|
38
39
|
reduce(): this;
|
|
39
40
|
root(value: number): this;
|
|
40
41
|
sort(): this;
|
|
41
|
-
splitFactors(): {
|
|
42
|
-
numerator: PolyFactor;
|
|
43
|
-
denominator: PolyFactor;
|
|
44
|
-
};
|
|
45
42
|
sqrt(): this;
|
|
46
43
|
subtract(...values: PolyFactor[]): this;
|
|
47
44
|
tableOfSigns(): POLYFACTOR_TABLE_OF_SIGNS;
|