@mat3ra/made 2026.5.21-2 → 2026.6.11-0
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/constants.json +13 -0
- package/dist/js/basis/basis.d.ts +7 -4
- package/dist/js/basis/basis.js +37 -23
- package/dist/js/basis/coordinates.js +2 -5
- package/dist/js/cell/primitive_cell.js +17 -20
- package/dist/js/constants/molecule.d.ts +16 -0
- package/dist/js/constants/molecule.js +19 -0
- package/dist/js/lattice/lattice.d.ts +1 -1
- package/dist/js/lattice/lattice.js +27 -27
- package/dist/js/lattice/reciprocal/lattice_reciprocal.d.ts +5 -8
- package/dist/js/lattice/reciprocal/lattice_reciprocal.js +17 -20
- package/dist/js/made.d.ts +5 -463
- package/dist/js/made.js +7 -5
- package/dist/js/material.d.ts +165 -9
- package/dist/js/material.js +355 -8
- package/dist/js/parsers/parsers.d.ts +0 -1
- package/dist/js/parsers/poscar.d.ts +0 -1
- package/dist/js/parsers/poscar.js +8 -6
- package/dist/js/parsers/xyz_combinatorial_basis.js +2 -5
- package/dist/js/tools/basis.js +3 -6
- package/dist/js/tools/cell.js +3 -6
- package/dist/js/tools/supercell.js +3 -3
- package/dist/js/tools/surface.js +13 -12
- package/package.json +6 -5
- package/src/js/basis/basis.ts +39 -15
- package/src/js/basis/coordinates.ts +1 -2
- package/src/js/cell/primitive_cell.ts +1 -2
- package/src/js/constants/molecule.ts +18 -0
- package/src/js/lattice/lattice.ts +6 -2
- package/src/js/lattice/reciprocal/lattice_reciprocal.ts +11 -17
- package/src/js/made.ts +12 -7
- package/src/js/material.ts +446 -20
- package/src/js/parsers/poscar.ts +7 -5
- package/src/js/parsers/xyz_combinatorial_basis.ts +1 -1
- package/src/js/tools/basis.ts +1 -1
- package/src/js/tools/cell.ts +1 -1
- package/src/js/tools/supercell.ts +1 -1
- package/src/js/tools/surface.ts +2 -1
- package/src/py/mat3ra/made/constants.py +11 -0
- package/src/py/mat3ra/made/tools/convert/__init__.py +18 -1
- package/src/py/mat3ra/made/tools/convert/utils.py +33 -6
- package/src/py/mat3ra/made/tools/operations/core/unary.py +2 -2
- package/tests/js/basis/basis.ts +1 -1
- package/tests/js/parsers/poscar.ts +27 -0
- package/tests/py/unit/test_tools_calculate.py +2 -1
- package/tests/py/unit/test_tools_convert.py +36 -4
- package/dist/js/abstract/array_with_ids.d.ts +0 -43
- package/dist/js/abstract/array_with_ids.js +0 -88
- package/dist/js/abstract/scalar_with_id.d.ts +0 -25
- package/dist/js/abstract/scalar_with_id.js +0 -44
- package/dist/js/basis/types.d.ts +0 -1
- package/dist/js/basis/types.js +0 -2
- package/dist/js/lattice/lattice_bravais.d.ts +0 -59
- package/dist/js/lattice/lattice_bravais.js +0 -118
- package/dist/js/lattice/lattice_vectors.d.ts +0 -46
- package/dist/js/lattice/lattice_vectors.js +0 -98
- package/dist/js/lattice/types.d.ts +0 -49
- package/dist/js/lattice/types.js +0 -127
- package/dist/js/materialMixin.d.ts +0 -171
- package/dist/js/materialMixin.js +0 -363
- package/dist/js/math.d.ts +0 -459
- package/dist/js/math.js +0 -7
- package/dist/js/types/index.d.ts +0 -1
- package/dist/js/types/index.js +0 -17
- package/dist/js/types/material.d.ts +0 -18
- package/dist/js/types/material.js +0 -2
- package/dist/js/types.d.ts +0 -1
- package/dist/js/types.js +0 -2
- package/src/js/materialMixin.ts +0 -453
- package/src/js/math.ts +0 -6
package/dist/js/made.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Basis } from "./basis/basis";
|
|
|
2
2
|
import { Cell } from "./cell/cell";
|
|
3
3
|
import { ATOMIC_COORD_UNITS, coefficients, tolerance, units } from "./constants";
|
|
4
4
|
import { AtomicConstraints } from "./constraints/constraints";
|
|
5
|
-
import { Lattice,
|
|
5
|
+
import { Lattice, defaultNonPeriodicMinimumLatticeSize, diatomicLatticePaddingFactor, molecularLatticePaddingFactor } from "./lattice/lattice";
|
|
6
6
|
import { DEFAULT_LATTICE_UNITS, LATTICE_TYPE_CONFIGS } from "./lattice/lattice_types";
|
|
7
7
|
import { ReciprocalLattice } from "./lattice/reciprocal/lattice_reciprocal";
|
|
8
8
|
import { UnitCell } from "./lattice/unit_cell";
|
|
@@ -32,470 +32,14 @@ export declare const Made: {
|
|
|
32
32
|
crystal: string;
|
|
33
33
|
cartesian: string;
|
|
34
34
|
};
|
|
35
|
-
math: {
|
|
36
|
-
PI: number;
|
|
37
|
-
trunc: (x: number) => number;
|
|
38
|
-
product: (v1: number[], v2: number[]) => number;
|
|
39
|
-
vlen: (v: number[]) => number;
|
|
40
|
-
angle: (a: number[], b: number[], unit: string) => number;
|
|
41
|
-
angleUpTo90: (a: number[], b: number[], unit: string) => number;
|
|
42
|
-
vDist: (v1: number[], v2: number[]) => number | undefined;
|
|
43
|
-
vEqualWithTolerance: (vec1: number[], vec2: number[], tolerance?: number | undefined) => boolean;
|
|
44
|
-
mod: (num: number, tolerance?: number | undefined) => number;
|
|
45
|
-
isBetweenZeroInclusiveAndOne: (number: number, tolerance?: number | undefined) => boolean;
|
|
46
|
-
cartesianProduct: (...arg: number[][]) => number[][];
|
|
47
|
-
almostEqual: (a: number, b: number, tolerance?: number | undefined) => boolean;
|
|
48
|
-
combinations: (a: number, b: number, c: number) => number[][];
|
|
49
|
-
combinationsFromIntervals: (arrA: number[], arrB: number[], arrC: number[]) => number[][];
|
|
50
|
-
calculateSegmentsBetweenPoints3D: (point1: (string | number)[], point2: (string | number)[], n: string | number) => number[][];
|
|
51
|
-
roundToZero: (n: number) => number;
|
|
52
|
-
precise: (x: number, n?: number | undefined) => number;
|
|
53
|
-
roundValueToNDecimals: (value: number, decimals?: number | undefined) => number;
|
|
54
|
-
numberToPrecision: typeof import("@mat3ra/code/dist/js/math").numberToPrecision;
|
|
55
|
-
roundCustom: (value: number, decimals?: number | undefined, method?: import("@mat3ra/code/dist/js/math").RoundingMethodEnum | undefined) => number;
|
|
56
|
-
RoundingMethod: typeof import("@mat3ra/code/dist/js/math").RoundingMethodEnum;
|
|
57
|
-
roundArrayOrNumber: (value: unknown, decimals?: number | undefined, method?: import("@mat3ra/code/dist/js/math").RoundingMethodEnum | undefined) => unknown;
|
|
58
|
-
e: number;
|
|
59
|
-
pi: number;
|
|
60
|
-
i: number;
|
|
61
|
-
Infinity: number;
|
|
62
|
-
LN2: number;
|
|
63
|
-
LN10: number;
|
|
64
|
-
LOG2E: number;
|
|
65
|
-
LOG10E: number;
|
|
66
|
-
NaN: number;
|
|
67
|
-
null: number;
|
|
68
|
-
phi: number;
|
|
69
|
-
SQRT1_2: number;
|
|
70
|
-
SQRT2: number;
|
|
71
|
-
tau: number;
|
|
72
|
-
uninitialized: any;
|
|
73
|
-
version: string;
|
|
74
|
-
expression: import("mathjs").MathNode;
|
|
75
|
-
json: import("mathjs").MathJsJson;
|
|
76
|
-
config: (options: import("mathjs").ConfigOptions) => import("mathjs").ConfigOptions;
|
|
77
|
-
typed: (name: string, signatures: Record<string, (...args: any[]) => any>) => (...args: any[]) => any;
|
|
78
|
-
bignumber(x?: string | number | boolean | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Fraction | null | undefined): import("mathjs").BigNumber;
|
|
79
|
-
boolean(x: string | number | boolean | import("mathjs").MathArray | import("mathjs").Matrix | null): boolean | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
80
|
-
chain(value?: any): import("mathjs").MathJsChain;
|
|
81
|
-
complex(arg?: string | import("mathjs").Complex | import("mathjs").PolarCoordinates | undefined): import("mathjs").Complex;
|
|
82
|
-
complex(arg?: import("mathjs").MathArray | import("mathjs").Matrix | undefined): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
83
|
-
complex(re: number, im: number): import("mathjs").Complex;
|
|
84
|
-
createUnit(name: string, definition?: string | import("mathjs").UnitDefinition | undefined, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit;
|
|
85
|
-
createUnit(units: Record<string, string | import("mathjs").UnitDefinition>, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit;
|
|
86
|
-
fraction(args: import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").Fraction): import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").Fraction;
|
|
87
|
-
fraction(numerator: string | number | import("mathjs").MathArray | import("mathjs").Matrix, denominator?: string | number | import("mathjs").MathArray | import("mathjs").Matrix | undefined): import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").Fraction;
|
|
88
|
-
index(...ranges: any[]): import("mathjs").Index;
|
|
89
|
-
matrix(format?: "sparse" | "dense" | undefined): import("mathjs").Matrix;
|
|
90
|
-
matrix(data: import("mathjs").MathArray | import("mathjs").Matrix, format?: "sparse" | "dense" | undefined, dataType?: string | undefined): import("mathjs").Matrix;
|
|
91
|
-
number(value?: string | number | boolean | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): number | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
92
|
-
number(unit: import("mathjs").Unit, valuelessUnit: string | import("mathjs").Unit): number;
|
|
93
|
-
sparse(data?: import("mathjs").MathArray | import("mathjs").Matrix | undefined, dataType?: string | undefined): import("mathjs").Matrix;
|
|
94
|
-
splitUnit(unit: import("mathjs").Unit, parts: import("mathjs").Unit[]): import("mathjs").Unit[];
|
|
95
|
-
string(value: import("mathjs").MathType | null): string | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
96
|
-
unit(unit: string): import("mathjs").Unit;
|
|
97
|
-
unit(value: number | import("mathjs").MathArray | import("mathjs").Matrix, unit: string): import("mathjs").Unit;
|
|
98
|
-
compile(expr: import("mathjs").MathExpression): import("mathjs").EvalFunction;
|
|
99
|
-
compile(exprs: import("mathjs").MathExpression[]): import("mathjs").EvalFunction[];
|
|
100
|
-
eval(expr: import("mathjs").MathExpression | import("mathjs").MathExpression[], scope?: object | undefined): any;
|
|
101
|
-
help(search: () => any): import("mathjs").Help;
|
|
102
|
-
parse(expr: import("mathjs").MathExpression, options?: any): import("mathjs").MathNode;
|
|
103
|
-
parse(exprs: import("mathjs").MathExpression[], options?: any): import("mathjs").MathNode[];
|
|
104
|
-
parser(): import("mathjs").Parser;
|
|
105
|
-
derivative(expr: string | import("mathjs").MathNode, variable: string | import("mathjs").MathNode, options?: {
|
|
106
|
-
simplify: boolean;
|
|
107
|
-
} | undefined): import("mathjs").MathNode;
|
|
108
|
-
lsolve(L: import("mathjs").MathArray | import("mathjs").Matrix, b: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
109
|
-
lup(A?: import("mathjs").MathArray | import("mathjs").Matrix | undefined): {
|
|
110
|
-
L: import("mathjs").MathArray | import("mathjs").Matrix;
|
|
111
|
-
U: import("mathjs").MathArray | import("mathjs").Matrix;
|
|
112
|
-
P: number[];
|
|
113
|
-
};
|
|
114
|
-
lusolve(A: number | import("mathjs").MathArray | import("mathjs").Matrix, b: import("mathjs").MathArray | import("mathjs").Matrix, order?: number | undefined, threshold?: number | undefined): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
115
|
-
qr(A: import("mathjs").MathArray | import("mathjs").Matrix): {
|
|
116
|
-
Q: import("mathjs").MathArray | import("mathjs").Matrix;
|
|
117
|
-
R: import("mathjs").MathArray | import("mathjs").Matrix;
|
|
118
|
-
};
|
|
119
|
-
rationalize(expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: true | undefined): {
|
|
120
|
-
expression: string | import("mathjs").MathNode;
|
|
121
|
-
variables: string[];
|
|
122
|
-
coefficients: import("mathjs").MathType[];
|
|
123
|
-
};
|
|
124
|
-
rationalize(expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: false | undefined): import("mathjs").MathNode;
|
|
125
|
-
simplify(expr: string | import("mathjs").MathNode, rules?: (string | {
|
|
126
|
-
l: string;
|
|
127
|
-
r: string;
|
|
128
|
-
} | ((node: import("mathjs").MathNode) => import("mathjs").MathNode))[] | undefined, scope?: object | undefined): import("mathjs").MathNode;
|
|
129
|
-
slu(A: import("mathjs").Matrix, order: number, threshold: number): object;
|
|
130
|
-
usolve(U: import("mathjs").MathArray | import("mathjs").Matrix, b: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
131
|
-
abs(x: number): number;
|
|
132
|
-
abs(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
133
|
-
abs(x: import("mathjs").Fraction): import("mathjs").Fraction;
|
|
134
|
-
abs(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
135
|
-
abs(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
136
|
-
abs(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
137
|
-
abs(x: import("mathjs").Unit): import("mathjs").Unit;
|
|
138
|
-
add(x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType;
|
|
139
|
-
cbrt(x: number, allRoots?: boolean | undefined): number;
|
|
140
|
-
cbrt(x: import("mathjs").BigNumber, allRoots?: boolean | undefined): import("mathjs").BigNumber;
|
|
141
|
-
cbrt(x: import("mathjs").Fraction, allRoots?: boolean | undefined): import("mathjs").Fraction;
|
|
142
|
-
cbrt(x: import("mathjs").Complex, allRoots?: boolean | undefined): import("mathjs").Complex;
|
|
143
|
-
cbrt(x: import("mathjs").MathArray, allRoots?: boolean | undefined): import("mathjs").MathArray;
|
|
144
|
-
cbrt(x: import("mathjs").Matrix, allRoots?: boolean | undefined): import("mathjs").Matrix;
|
|
145
|
-
cbrt(x: import("mathjs").Unit, allRoots?: boolean | undefined): import("mathjs").Unit;
|
|
146
|
-
ceil(x: number): number;
|
|
147
|
-
ceil(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
148
|
-
ceil(x: import("mathjs").Fraction): import("mathjs").Fraction;
|
|
149
|
-
ceil(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
150
|
-
ceil(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
151
|
-
ceil(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
152
|
-
ceil(x: import("mathjs").Unit): import("mathjs").Unit;
|
|
153
|
-
cube(x: number): number;
|
|
154
|
-
cube(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
155
|
-
cube(x: import("mathjs").Fraction): import("mathjs").Fraction;
|
|
156
|
-
cube(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
157
|
-
cube(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
158
|
-
cube(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
159
|
-
cube(x: import("mathjs").Unit): import("mathjs").Unit;
|
|
160
|
-
divide(x: import("mathjs").Unit, y: import("mathjs").Unit): import("mathjs").Unit;
|
|
161
|
-
divide(x: number, y: number): number;
|
|
162
|
-
divide(x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType;
|
|
163
|
-
dotDivide(x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType;
|
|
164
|
-
dotMultiply(x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType;
|
|
165
|
-
dotPow(x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType;
|
|
166
|
-
exp(x: number): number;
|
|
167
|
-
exp(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
168
|
-
exp(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
169
|
-
exp(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
170
|
-
exp(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
171
|
-
expm1(x: number): number;
|
|
172
|
-
expm1(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
173
|
-
expm1(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
174
|
-
expm1(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
175
|
-
expm1(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
176
|
-
fix(x: number): number;
|
|
177
|
-
fix(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
178
|
-
fix(x: import("mathjs").Fraction): import("mathjs").Fraction;
|
|
179
|
-
fix(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
180
|
-
fix(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
181
|
-
fix(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
182
|
-
floor(x: number): number;
|
|
183
|
-
floor(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
184
|
-
floor(x: import("mathjs").Fraction): import("mathjs").Fraction;
|
|
185
|
-
floor(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
186
|
-
floor(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
187
|
-
floor(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
188
|
-
gcd(...args: number[]): number;
|
|
189
|
-
gcd(...args: import("mathjs").BigNumber[]): import("mathjs").BigNumber;
|
|
190
|
-
gcd(...args: import("mathjs").Fraction[]): import("mathjs").Fraction;
|
|
191
|
-
gcd(...args: import("mathjs").MathArray[]): import("mathjs").MathArray;
|
|
192
|
-
gcd(...args: import("mathjs").Matrix[]): import("mathjs").Matrix;
|
|
193
|
-
hypot(...args: number[]): number;
|
|
194
|
-
hypot(...args: import("mathjs").BigNumber[]): import("mathjs").BigNumber;
|
|
195
|
-
lcm(a: number, b: number): number;
|
|
196
|
-
lcm(a: import("mathjs").BigNumber, b: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
197
|
-
lcm(a: import("mathjs").MathArray, b: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
198
|
-
lcm(a: import("mathjs").Matrix, b: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
199
|
-
log(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined): number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex;
|
|
200
|
-
log10(x: number): number;
|
|
201
|
-
log10(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
202
|
-
log10(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
203
|
-
log10(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
204
|
-
log10(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
205
|
-
log1p(x: number, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined): number;
|
|
206
|
-
log1p(x: import("mathjs").BigNumber, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined): import("mathjs").BigNumber;
|
|
207
|
-
log1p(x: import("mathjs").Complex, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined): import("mathjs").Complex;
|
|
208
|
-
log1p(x: import("mathjs").MathArray, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined): import("mathjs").MathArray;
|
|
209
|
-
log1p(x: import("mathjs").Matrix, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined): import("mathjs").Matrix;
|
|
210
|
-
log2(x: number): number;
|
|
211
|
-
log2(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
212
|
-
log2(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
213
|
-
log2(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
214
|
-
log2(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
215
|
-
multiply(x: import("mathjs").MathArray | import("mathjs").Matrix, y: import("mathjs").MathType): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
216
|
-
multiply(x: import("mathjs").Unit, y: import("mathjs").Unit): import("mathjs").Unit;
|
|
217
|
-
multiply(x: number, y: number): number;
|
|
218
|
-
multiply(x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType;
|
|
219
|
-
norm(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex, p?: string | number | import("mathjs").BigNumber | undefined): number | import("mathjs").BigNumber;
|
|
220
|
-
nthRoot(a: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex, root?: number | import("mathjs").BigNumber | undefined): number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").Complex;
|
|
221
|
-
pow(x: import("mathjs").MathType, y: number | import("mathjs").BigNumber | import("mathjs").Complex): import("mathjs").MathType;
|
|
222
|
-
round(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Complex, n?: number | import("mathjs").MathArray | import("mathjs").BigNumber | undefined): number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Complex;
|
|
223
|
-
sign(x: number): number;
|
|
224
|
-
sign(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
225
|
-
sign(x: import("mathjs").Fraction): import("mathjs").Fraction;
|
|
226
|
-
sign(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
227
|
-
sign(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
228
|
-
sign(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
229
|
-
sign(x: import("mathjs").Unit): import("mathjs").Unit;
|
|
230
|
-
sqrt(x: number): number;
|
|
231
|
-
sqrt(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
232
|
-
sqrt(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
233
|
-
sqrt(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
234
|
-
sqrt(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
235
|
-
sqrt(x: import("mathjs").Unit): import("mathjs").Unit;
|
|
236
|
-
square(x: number): number;
|
|
237
|
-
square(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
238
|
-
square(x: import("mathjs").Fraction): import("mathjs").Fraction;
|
|
239
|
-
square(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
240
|
-
square(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
241
|
-
square(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
242
|
-
square(x: import("mathjs").Unit): import("mathjs").Unit;
|
|
243
|
-
subtract(x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType;
|
|
244
|
-
unaryMinus(x: number): number;
|
|
245
|
-
unaryMinus(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
246
|
-
unaryMinus(x: import("mathjs").Fraction): import("mathjs").Fraction;
|
|
247
|
-
unaryMinus(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
248
|
-
unaryMinus(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
249
|
-
unaryMinus(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
250
|
-
unaryMinus(x: import("mathjs").Unit): import("mathjs").Unit;
|
|
251
|
-
unaryPlus(x: number): number;
|
|
252
|
-
unaryPlus(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
253
|
-
unaryPlus(x: import("mathjs").Fraction): import("mathjs").Fraction;
|
|
254
|
-
unaryPlus(x: string): string;
|
|
255
|
-
unaryPlus(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
256
|
-
unaryPlus(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
257
|
-
unaryPlus(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
258
|
-
unaryPlus(x: import("mathjs").Unit): import("mathjs").Unit;
|
|
259
|
-
xgcd(a: number | import("mathjs").BigNumber, b: number | import("mathjs").BigNumber): import("mathjs").MathArray;
|
|
260
|
-
bitAnd(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber, y: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber): number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber;
|
|
261
|
-
bitNot(x: number): number;
|
|
262
|
-
bitNot(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
263
|
-
bitNot(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
264
|
-
bitNot(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
265
|
-
bitOr(x: number, y: number): number;
|
|
266
|
-
bitOr(x: import("mathjs").BigNumber, y: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
267
|
-
bitOr(x: import("mathjs").MathArray, y: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
268
|
-
bitOr(x: import("mathjs").Matrix, y: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
269
|
-
bitXor(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber, y: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber): number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber;
|
|
270
|
-
leftShift(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber, y: number | import("mathjs").BigNumber): number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber;
|
|
271
|
-
rightArithShift(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber, y: number | import("mathjs").BigNumber): number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber;
|
|
272
|
-
rightLogShift(x: number | import("mathjs").MathArray | import("mathjs").Matrix, y: number): number | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
273
|
-
bellNumbers(n: number): number;
|
|
274
|
-
bellNumbers(n: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
275
|
-
catalan(n: number): number;
|
|
276
|
-
catalan(n: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
277
|
-
composition(n: number | import("mathjs").BigNumber, k: number | import("mathjs").BigNumber): number | import("mathjs").BigNumber;
|
|
278
|
-
stirlingS2(n: number | import("mathjs").BigNumber, k: number | import("mathjs").BigNumber): number | import("mathjs").BigNumber;
|
|
279
|
-
arg(x: number | import("mathjs").Complex): number;
|
|
280
|
-
arg(x: import("mathjs").BigNumber | import("mathjs").Complex): import("mathjs").BigNumber;
|
|
281
|
-
arg(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
282
|
-
arg(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
283
|
-
conj(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex): number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex;
|
|
284
|
-
im(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex): number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber;
|
|
285
|
-
re(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex): number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber;
|
|
286
|
-
distance(x: object | import("mathjs").MathArray | import("mathjs").Matrix, y: object | import("mathjs").MathArray | import("mathjs").Matrix): number | import("mathjs").BigNumber;
|
|
287
|
-
intersect(w: import("mathjs").MathArray | import("mathjs").Matrix, x: import("mathjs").MathArray | import("mathjs").Matrix, y: import("mathjs").MathArray | import("mathjs").Matrix, z: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray;
|
|
288
|
-
and(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit, y: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit): boolean | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
289
|
-
not(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit): boolean | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
290
|
-
or(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit, y: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit): boolean | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
291
|
-
xor(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit, y: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit): boolean | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
292
|
-
concat(...args: (import("mathjs").MathArray | import("mathjs").Matrix)[]): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
293
|
-
cross(x: import("mathjs").MathArray | import("mathjs").Matrix, y: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
294
|
-
det(x: import("mathjs").MathArray | import("mathjs").Matrix): number;
|
|
295
|
-
diag(X: import("mathjs").MathArray | import("mathjs").Matrix, format?: string | undefined): import("mathjs").Matrix;
|
|
296
|
-
diag(X: import("mathjs").MathArray | import("mathjs").Matrix, k: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
297
|
-
dot(x: import("mathjs").MathArray | import("mathjs").Matrix, y: import("mathjs").MathArray | import("mathjs").Matrix): number;
|
|
298
|
-
expm(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
299
|
-
identity(size: number | import("mathjs").MathArray | import("mathjs").Matrix, format?: string | undefined): number | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
300
|
-
identity(m: number, n: number, format?: string | undefined): number | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
301
|
-
filter(x: import("mathjs").MathArray | import("mathjs").Matrix | string[], test: RegExp | ((value: any, index: any, matrix: import("mathjs").MathArray | import("mathjs").Matrix | string[]) => boolean)): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
302
|
-
flatten(x: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
303
|
-
forEach(x: import("mathjs").MathArray | import("mathjs").Matrix, callback: (value: any, index: any, matrix: import("mathjs").MathArray | import("mathjs").Matrix) => void): void;
|
|
304
|
-
inv(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").Complex): number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").Complex;
|
|
305
|
-
kron(x: import("mathjs").MathArray | import("mathjs").Matrix, y: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").Matrix;
|
|
306
|
-
map(x: import("mathjs").MathArray | import("mathjs").Matrix, callback: (value: any, index: any, matrix: import("mathjs").MathArray | import("mathjs").Matrix) => string | import("mathjs").MathType): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
307
|
-
ones(size: number | number[], format?: string | undefined): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
308
|
-
ones(m: number, n: number, format?: string | undefined): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
309
|
-
partitionSelect(x: import("mathjs").MathArray | import("mathjs").Matrix, k: number, compare?: "asc" | "desc" | ((a: any, b: any) => number) | undefined): any;
|
|
310
|
-
range(str: string, includeEnd?: boolean | undefined): import("mathjs").Matrix;
|
|
311
|
-
range(start: number | import("mathjs").BigNumber, end: number | import("mathjs").BigNumber, includeEnd?: boolean | undefined): import("mathjs").Matrix;
|
|
312
|
-
range(start: number | import("mathjs").BigNumber, end: number | import("mathjs").BigNumber, step: number | import("mathjs").BigNumber, includeEnd?: boolean | undefined): import("mathjs").Matrix;
|
|
313
|
-
reshape(x: import("mathjs").MathArray | import("mathjs").Matrix, sizes: number[]): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
314
|
-
resize(x: import("mathjs").MathArray | import("mathjs").Matrix, size: import("mathjs").MathArray | import("mathjs").Matrix, defaultValue?: string | number | undefined): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
315
|
-
size(x: string | number | boolean | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").Complex | import("mathjs").Unit): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
316
|
-
sort(x: import("mathjs").MathArray | import("mathjs").Matrix, compare: "asc" | "desc" | ((a: any, b: any) => number) | "natural"): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
317
|
-
sqrtm(A: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
318
|
-
squeeze(x: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
319
|
-
subset(value: string | import("mathjs").MathArray | import("mathjs").Matrix, index: import("mathjs").Index, replacement?: any, defaultValue?: any): string | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
320
|
-
trace(x: import("mathjs").MathArray | import("mathjs").Matrix): number;
|
|
321
|
-
transpose(x: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
322
|
-
zeros(size: number | number[], format?: string | undefined): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
323
|
-
zeros(m: number, n: number, format?: string | undefined): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
324
|
-
factorial(n: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber): number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber;
|
|
325
|
-
gamma(n: number | import("mathjs").MathArray | import("mathjs").Matrix): number | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
326
|
-
kldivergence(q: import("mathjs").MathArray | import("mathjs").Matrix, p: import("mathjs").MathArray | import("mathjs").Matrix): number;
|
|
327
|
-
multinomial(a: number[] | import("mathjs").BigNumber[]): number | import("mathjs").BigNumber;
|
|
328
|
-
permutations(n: number | import("mathjs").BigNumber, k?: number | import("mathjs").BigNumber | undefined): number | import("mathjs").BigNumber;
|
|
329
|
-
pickRandom(array: number[], number?: number | undefined, weights?: number[] | undefined): number;
|
|
330
|
-
random(min?: number | undefined, max?: number | undefined): number;
|
|
331
|
-
random(size: import("mathjs").MathArray | import("mathjs").Matrix, min?: number | undefined, max?: number | undefined): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
332
|
-
randomInt(min: number, max?: number | undefined): number;
|
|
333
|
-
randomInt(size: import("mathjs").MathArray | import("mathjs").Matrix, min?: number | undefined, max?: number | undefined): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
334
|
-
compare(x: string | import("mathjs").MathType, y: string | import("mathjs").MathType): number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Fraction;
|
|
335
|
-
compareNatural(x: any, y: any): number;
|
|
336
|
-
compareText(x: string | import("mathjs").MathArray | import("mathjs").Matrix, y: string | import("mathjs").MathArray | import("mathjs").Matrix): number | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
337
|
-
deepEqual(x: import("mathjs").MathType, y: import("mathjs").MathType): number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Complex | import("mathjs").Unit;
|
|
338
|
-
equal(x: string | import("mathjs").MathType, y: string | import("mathjs").MathType): boolean | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
339
|
-
equalText(x: string | import("mathjs").MathArray | import("mathjs").Matrix, y: string | import("mathjs").MathArray | import("mathjs").Matrix): number | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
340
|
-
larger(x: string | import("mathjs").MathType, y: string | import("mathjs").MathType): boolean | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
341
|
-
largerEq(x: string | import("mathjs").MathType, y: string | import("mathjs").MathType): boolean | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
342
|
-
smaller(x: string | import("mathjs").MathType, y: string | import("mathjs").MathType): boolean | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
343
|
-
smallerEq(x: string | import("mathjs").MathType, y: string | import("mathjs").MathType): boolean | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
344
|
-
unequal(x: string | import("mathjs").MathType, y: string | import("mathjs").MathType): boolean | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
345
|
-
setCartesian(a1: import("mathjs").MathArray | import("mathjs").Matrix, a2: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
346
|
-
setDifference(a1: import("mathjs").MathArray | import("mathjs").Matrix, a2: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
347
|
-
setDistinct(a: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
348
|
-
setIntersect(a1: import("mathjs").MathArray | import("mathjs").Matrix, a2: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
349
|
-
setIsSubset(a1: import("mathjs").MathArray | import("mathjs").Matrix, a2: import("mathjs").MathArray | import("mathjs").Matrix): boolean;
|
|
350
|
-
setMultiplicity(e: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Complex, a: import("mathjs").MathArray | import("mathjs").Matrix): number;
|
|
351
|
-
setPowerset(a: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
352
|
-
setSize(a: import("mathjs").MathArray | import("mathjs").Matrix): number;
|
|
353
|
-
setSymDifference(a1: import("mathjs").MathArray | import("mathjs").Matrix, a2: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
354
|
-
setUnion(a1: import("mathjs").MathArray | import("mathjs").Matrix, a2: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
355
|
-
erf(x: number | import("mathjs").MathArray | import("mathjs").Matrix): number | import("mathjs").MathArray | import("mathjs").Matrix;
|
|
356
|
-
mad(array: import("mathjs").MathArray | import("mathjs").Matrix): any;
|
|
357
|
-
max(...args: import("mathjs").MathType[]): any;
|
|
358
|
-
max(A: import("mathjs").MathArray | import("mathjs").Matrix, dim?: number | undefined): any;
|
|
359
|
-
mean(...args: import("mathjs").MathType[]): any;
|
|
360
|
-
mean(A: import("mathjs").MathArray | import("mathjs").Matrix, dim?: number | undefined): any;
|
|
361
|
-
median(...args: import("mathjs").MathType[]): any;
|
|
362
|
-
min(...args: import("mathjs").MathType[]): any;
|
|
363
|
-
min(A: import("mathjs").MathArray | import("mathjs").Matrix, dim?: number | undefined): any;
|
|
364
|
-
mode(...args: import("mathjs").MathType[]): any;
|
|
365
|
-
prod(...args: import("mathjs").MathType[]): any;
|
|
366
|
-
quantileSeq(A: import("mathjs").MathArray | import("mathjs").Matrix, prob: number | import("mathjs").MathArray | import("mathjs").BigNumber, sorted?: boolean | undefined): number | import("mathjs").MathArray | import("mathjs").BigNumber | import("mathjs").Unit;
|
|
367
|
-
std(array: import("mathjs").MathArray | import("mathjs").Matrix, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): number;
|
|
368
|
-
sum(...args: (number | import("mathjs").BigNumber | import("mathjs").Fraction)[]): any;
|
|
369
|
-
sum(array: import("mathjs").MathArray | import("mathjs").Matrix): any;
|
|
370
|
-
var(...args: (number | import("mathjs").BigNumber | import("mathjs").Fraction)[]): any;
|
|
371
|
-
var(array: import("mathjs").MathArray | import("mathjs").Matrix, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): any;
|
|
372
|
-
format(value: any, options?: number | import("mathjs").FormatOptions | ((item: any) => string) | undefined, callback?: ((value: any) => string) | undefined): string;
|
|
373
|
-
print(template: string, values: any, precision?: number | undefined, options?: number | object | undefined): void;
|
|
374
|
-
acos(x: number): number;
|
|
375
|
-
acos(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
376
|
-
acos(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
377
|
-
acos(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
378
|
-
acos(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
379
|
-
acosh(x: number): number;
|
|
380
|
-
acosh(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
381
|
-
acosh(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
382
|
-
acosh(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
383
|
-
acosh(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
384
|
-
acot(x: number): number;
|
|
385
|
-
acot(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
386
|
-
acot(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
387
|
-
acot(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
388
|
-
acoth(x: number): number;
|
|
389
|
-
acoth(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
390
|
-
acoth(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
391
|
-
acoth(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
392
|
-
acsc(x: number): number;
|
|
393
|
-
acsc(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
394
|
-
acsc(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
395
|
-
acsc(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
396
|
-
acsch(x: number): number;
|
|
397
|
-
acsch(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
398
|
-
acsch(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
399
|
-
acsch(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
400
|
-
asec(x: number): number;
|
|
401
|
-
asec(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
402
|
-
asec(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
403
|
-
asec(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
404
|
-
asech(x: number): number;
|
|
405
|
-
asech(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
406
|
-
asech(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
407
|
-
asech(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
408
|
-
asin(x: number): number;
|
|
409
|
-
asin(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
410
|
-
asin(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
411
|
-
asin(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
412
|
-
asin(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
413
|
-
asinh(x: number): number;
|
|
414
|
-
asinh(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
415
|
-
asinh(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
416
|
-
asinh(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
417
|
-
atan(x: number): number;
|
|
418
|
-
atan(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
419
|
-
atan(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
420
|
-
atan(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
421
|
-
atan2(y: number, x: number): number;
|
|
422
|
-
atan2(y: import("mathjs").MathArray | import("mathjs").Matrix, x: import("mathjs").MathArray | import("mathjs").Matrix): import("mathjs").MathArray | import("mathjs").Matrix;
|
|
423
|
-
atanh(x: number): number;
|
|
424
|
-
atanh(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
425
|
-
atanh(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
426
|
-
atanh(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
427
|
-
cos(x: number | import("mathjs").Unit): number;
|
|
428
|
-
cos(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
429
|
-
cos(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
430
|
-
cos(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
431
|
-
cos(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
432
|
-
cosh(x: number | import("mathjs").Unit): number;
|
|
433
|
-
cosh(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
434
|
-
cosh(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
435
|
-
cosh(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
436
|
-
cosh(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
437
|
-
cot(x: number | import("mathjs").Unit): number;
|
|
438
|
-
cot(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
439
|
-
cot(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
440
|
-
cot(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
441
|
-
coth(x: number | import("mathjs").Unit): number;
|
|
442
|
-
coth(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
443
|
-
coth(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
444
|
-
coth(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
445
|
-
csc(x: number | import("mathjs").Unit): number;
|
|
446
|
-
csc(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
447
|
-
csc(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
448
|
-
csc(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
449
|
-
csch(x: number | import("mathjs").Unit): number;
|
|
450
|
-
csch(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
451
|
-
csch(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
452
|
-
csch(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
453
|
-
sec(x: number | import("mathjs").Unit): number;
|
|
454
|
-
sec(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
455
|
-
sec(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
456
|
-
sec(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
457
|
-
sech(x: number | import("mathjs").Unit): number;
|
|
458
|
-
sech(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
459
|
-
sech(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
460
|
-
sech(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
461
|
-
sin(x: number | import("mathjs").Unit): number;
|
|
462
|
-
sin(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
463
|
-
sin(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
464
|
-
sin(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
465
|
-
sin(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
466
|
-
sinh(x: number | import("mathjs").Unit): number;
|
|
467
|
-
sinh(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
468
|
-
sinh(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
469
|
-
sinh(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
470
|
-
sinh(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
471
|
-
tan(x: number | import("mathjs").Unit): number;
|
|
472
|
-
tan(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
473
|
-
tan(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
474
|
-
tan(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
475
|
-
tan(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
476
|
-
tanh(x: number | import("mathjs").Unit): number;
|
|
477
|
-
tanh(x: import("mathjs").BigNumber): import("mathjs").BigNumber;
|
|
478
|
-
tanh(x: import("mathjs").Complex): import("mathjs").Complex;
|
|
479
|
-
tanh(x: import("mathjs").MathArray): import("mathjs").MathArray;
|
|
480
|
-
tanh(x: import("mathjs").Matrix): import("mathjs").Matrix;
|
|
481
|
-
to(x: import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").Unit, unit: string | import("mathjs").Unit): import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").Unit;
|
|
482
|
-
clone(x: any): any;
|
|
483
|
-
isInteger(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Fraction): boolean;
|
|
484
|
-
isNaN(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit): boolean;
|
|
485
|
-
isNegative(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit): boolean;
|
|
486
|
-
isNumeric(x: any): x is number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction;
|
|
487
|
-
isPositive(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit): boolean;
|
|
488
|
-
isPrime(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber): boolean;
|
|
489
|
-
isZero(x: number | import("mathjs").MathArray | import("mathjs").Matrix | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Complex | import("mathjs").Unit): boolean;
|
|
490
|
-
typeof(x: any): string;
|
|
491
|
-
import(object: import("mathjs").ImportObject | import("mathjs").ImportObject[], options: import("mathjs").ImportOptions): void;
|
|
492
|
-
};
|
|
493
35
|
Material: typeof Material;
|
|
494
36
|
defaultMaterialConfig: import("@mat3ra/esse/dist/js/types").MaterialSchema;
|
|
495
37
|
Lattice: typeof Lattice;
|
|
496
38
|
Cell: typeof Cell;
|
|
497
39
|
UnitCell: typeof UnitCell;
|
|
498
|
-
|
|
40
|
+
defaultNonPeriodicMinimumLatticeSize: number;
|
|
41
|
+
diatomicLatticePaddingFactor: number;
|
|
42
|
+
molecularLatticePaddingFactor: number;
|
|
499
43
|
ReciprocalLattice: typeof ReciprocalLattice;
|
|
500
44
|
Basis: typeof Basis;
|
|
501
45
|
AtomicConstraints: typeof AtomicConstraints;
|
|
@@ -512,7 +56,6 @@ export declare const Made: {
|
|
|
512
56
|
toPoscar: (materialOrConfig: import("@mat3ra/esse/dist/js/types").MaterialSchema, omitConstraints?: boolean) => string;
|
|
513
57
|
fromPoscar: (fileContent: string) => object;
|
|
514
58
|
atomicConstraintsCharFromBool: (bool: boolean) => string;
|
|
515
|
-
atomsCount: typeof import("./parsers/poscar").atomsCount;
|
|
516
59
|
};
|
|
517
60
|
cif: {
|
|
518
61
|
parseMeta: (txt: string) => import("./parsers/cif").Meta;
|
|
@@ -557,5 +100,4 @@ export declare const Made: {
|
|
|
557
100
|
};
|
|
558
101
|
};
|
|
559
102
|
};
|
|
560
|
-
export { coefficients, tolerance, units, ATOMIC_COORD_UNITS, Material, defaultMaterialConfig, Lattice, Cell, UnitCell,
|
|
561
|
-
export type { MaterialInMemoryEntity } from "./materialMixin";
|
|
103
|
+
export { coefficients, tolerance, units, ATOMIC_COORD_UNITS, Material, defaultMaterialConfig, Lattice, Cell, UnitCell, defaultNonPeriodicMinimumLatticeSize, diatomicLatticePaddingFactor, molecularLatticePaddingFactor, ReciprocalLattice, Basis, AtomicConstraints, parsers, tools, LATTICE_TYPE_CONFIGS, DEFAULT_LATTICE_UNITS, };
|
package/dist/js/made.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.DEFAULT_LATTICE_UNITS = exports.LATTICE_TYPE_CONFIGS = exports.tools = exports.parsers = exports.AtomicConstraints = exports.Basis = exports.ReciprocalLattice = exports.
|
|
6
|
+
exports.DEFAULT_LATTICE_UNITS = exports.LATTICE_TYPE_CONFIGS = exports.tools = exports.parsers = exports.AtomicConstraints = exports.Basis = exports.ReciprocalLattice = exports.molecularLatticePaddingFactor = exports.diatomicLatticePaddingFactor = exports.defaultNonPeriodicMinimumLatticeSize = exports.UnitCell = exports.Cell = exports.Lattice = exports.defaultMaterialConfig = exports.Material = exports.ATOMIC_COORD_UNITS = exports.units = exports.tolerance = exports.coefficients = exports.Made = void 0;
|
|
7
7
|
const basis_1 = require("./basis/basis");
|
|
8
8
|
Object.defineProperty(exports, "Basis", { enumerable: true, get: function () { return basis_1.Basis; } });
|
|
9
9
|
const cell_1 = require("./cell/cell");
|
|
@@ -17,7 +17,9 @@ const constraints_1 = require("./constraints/constraints");
|
|
|
17
17
|
Object.defineProperty(exports, "AtomicConstraints", { enumerable: true, get: function () { return constraints_1.AtomicConstraints; } });
|
|
18
18
|
const lattice_1 = require("./lattice/lattice");
|
|
19
19
|
Object.defineProperty(exports, "Lattice", { enumerable: true, get: function () { return lattice_1.Lattice; } });
|
|
20
|
-
Object.defineProperty(exports, "
|
|
20
|
+
Object.defineProperty(exports, "defaultNonPeriodicMinimumLatticeSize", { enumerable: true, get: function () { return lattice_1.defaultNonPeriodicMinimumLatticeSize; } });
|
|
21
|
+
Object.defineProperty(exports, "diatomicLatticePaddingFactor", { enumerable: true, get: function () { return lattice_1.diatomicLatticePaddingFactor; } });
|
|
22
|
+
Object.defineProperty(exports, "molecularLatticePaddingFactor", { enumerable: true, get: function () { return lattice_1.molecularLatticePaddingFactor; } });
|
|
21
23
|
const lattice_types_1 = require("./lattice/lattice_types");
|
|
22
24
|
Object.defineProperty(exports, "DEFAULT_LATTICE_UNITS", { enumerable: true, get: function () { return lattice_types_1.DEFAULT_LATTICE_UNITS; } });
|
|
23
25
|
Object.defineProperty(exports, "LATTICE_TYPE_CONFIGS", { enumerable: true, get: function () { return lattice_types_1.LATTICE_TYPE_CONFIGS; } });
|
|
@@ -28,7 +30,6 @@ Object.defineProperty(exports, "UnitCell", { enumerable: true, get: function ()
|
|
|
28
30
|
const material_1 = require("./material");
|
|
29
31
|
Object.defineProperty(exports, "defaultMaterialConfig", { enumerable: true, get: function () { return material_1.defaultMaterialConfig; } });
|
|
30
32
|
Object.defineProperty(exports, "Material", { enumerable: true, get: function () { return material_1.Material; } });
|
|
31
|
-
const math_1 = __importDefault(require("./math"));
|
|
32
33
|
const parsers_1 = __importDefault(require("./parsers/parsers"));
|
|
33
34
|
exports.parsers = parsers_1.default;
|
|
34
35
|
const index_1 = __importDefault(require("./tools/index"));
|
|
@@ -38,13 +39,14 @@ exports.Made = {
|
|
|
38
39
|
tolerance: constants_1.tolerance,
|
|
39
40
|
units: constants_1.units,
|
|
40
41
|
ATOMIC_COORD_UNITS: constants_1.ATOMIC_COORD_UNITS,
|
|
41
|
-
math: math_1.default,
|
|
42
42
|
Material: material_1.Material,
|
|
43
43
|
defaultMaterialConfig: material_1.defaultMaterialConfig,
|
|
44
44
|
Lattice: lattice_1.Lattice,
|
|
45
45
|
Cell: cell_1.Cell,
|
|
46
46
|
UnitCell: unit_cell_1.UnitCell,
|
|
47
|
-
|
|
47
|
+
defaultNonPeriodicMinimumLatticeSize: lattice_1.defaultNonPeriodicMinimumLatticeSize,
|
|
48
|
+
diatomicLatticePaddingFactor: lattice_1.diatomicLatticePaddingFactor,
|
|
49
|
+
molecularLatticePaddingFactor: lattice_1.molecularLatticePaddingFactor,
|
|
48
50
|
ReciprocalLattice: lattice_reciprocal_1.ReciprocalLattice,
|
|
49
51
|
Basis: basis_1.Basis,
|
|
50
52
|
AtomicConstraints: constraints_1.AtomicConstraints,
|