@cortex-js/compute-engine 0.9.0 → 0.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/dist/compute-engine.esm.js +3016 -3218
- package/dist/compute-engine.min.esm.js +2 -2
- package/dist/compute-engine.min.js +2 -2
- package/dist/math-json.esm.js +2 -2
- package/dist/math-json.min.esm.js +2 -2
- package/dist/math-json.min.js +2 -2
- package/dist/types/common/grapheme-splitter.d.ts +1 -1
- package/dist/types/common/signals.d.ts +9 -9
- package/dist/types/common/utils.d.ts +1 -1
- package/dist/types/compute-engine/assume.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/abstract-boxed-expression.d.ts +1 -2
- package/dist/types/compute-engine/boxed-expression/box.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/boxed-dictionary.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/boxed-domain.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/boxed-function-definition.d.ts +2 -2
- package/dist/types/compute-engine/boxed-expression/boxed-function.d.ts +1 -2
- package/dist/types/compute-engine/boxed-expression/boxed-number.d.ts +1 -2
- package/dist/types/compute-engine/boxed-expression/boxed-patterns.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/boxed-string.d.ts +1 -2
- package/dist/types/compute-engine/boxed-expression/boxed-symbol-definition.d.ts +33 -40
- package/dist/types/compute-engine/boxed-expression/boxed-symbol.d.ts +3 -3
- package/dist/types/compute-engine/boxed-expression/expression-map.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/order.d.ts +2 -2
- package/dist/types/compute-engine/boxed-expression/serialize.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/utils.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/validate.d.ts +1 -1
- package/dist/types/compute-engine/compute-engine.d.ts +18 -20
- package/dist/types/compute-engine/cost-function.d.ts +1 -1
- package/dist/types/compute-engine/domain-utils.d.ts +2 -2
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-algebra.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-arithmetic.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-calculus.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-core.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-inequalities.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-logic.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-other.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-sets.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-symbols.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-trigonometry.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions.d.ts +11 -11
- package/dist/types/compute-engine/latex-syntax/latex-syntax.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/parse.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/public.d.ts +30 -30
- package/dist/types/compute-engine/latex-syntax/serialize-number.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/serializer-style.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/serializer.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/tokenizer.d.ts +2 -2
- package/dist/types/compute-engine/library/arithmetic-add.d.ts +1 -1
- package/dist/types/compute-engine/library/arithmetic-divide.d.ts +1 -1
- package/dist/types/compute-engine/library/arithmetic-multiply.d.ts +1 -1
- package/dist/types/compute-engine/library/arithmetic-power.d.ts +1 -1
- package/dist/types/compute-engine/library/arithmetic.d.ts +2 -2
- package/dist/types/compute-engine/library/calculus.d.ts +2 -2
- package/dist/types/compute-engine/library/collections.d.ts +2 -2
- package/dist/types/compute-engine/library/core.d.ts +2 -2
- package/dist/types/compute-engine/library/domains.d.ts +1 -1
- package/dist/types/compute-engine/library/library.d.ts +5 -5
- package/dist/types/compute-engine/library/logic.d.ts +2 -2
- package/dist/types/compute-engine/library/polynomials.d.ts +2 -2
- package/dist/types/compute-engine/library/relational-operator.d.ts +2 -2
- package/dist/types/compute-engine/library/sets.d.ts +2 -2
- package/dist/types/compute-engine/library/trigonometry.d.ts +2 -2
- package/dist/types/compute-engine/library/utils.d.ts +3 -0
- package/dist/types/compute-engine/numerics/numeric-bignum.d.ts +1 -1
- package/dist/types/compute-engine/numerics/numeric-complex.d.ts +1 -1
- package/dist/types/compute-engine/numerics/numeric.d.ts +1 -1
- package/dist/types/compute-engine/numerics/primes.d.ts +1 -1
- package/dist/types/compute-engine/numerics/rationals.d.ts +1 -1
- package/dist/types/compute-engine/public.d.ts +101 -92
- package/dist/types/compute-engine/rules.d.ts +1 -1
- package/dist/types/compute-engine/simplify-rules.d.ts +1 -1
- package/dist/types/compute-engine/solve.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/expand.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/flatten.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/negate.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/polynomials.d.ts +3 -3
- package/dist/types/compute-engine/symbolic/product.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/sum.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/utils.d.ts +1 -1
- package/dist/types/compute-engine.d.ts +2 -2
- package/dist/types/math-json/math-json-format.d.ts +7 -7
- package/dist/types/math-json/utils.d.ts +1 -1
- package/dist/types/math-json.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 0.
|
|
1
|
+
/* 0.11.0 */
|
|
2
2
|
import { Expression } from '../../math-json/math-json-format';
|
|
3
3
|
import type { IComputeEngine } from '../public';
|
|
4
4
|
/**
|
|
@@ -8,24 +8,24 @@ import type { IComputeEngine } from '../public';
|
|
|
8
8
|
* `\` for LaTeX commands, or a LaTeX character which includes digits,
|
|
9
9
|
* letters and punctuation.
|
|
10
10
|
*/
|
|
11
|
-
export
|
|
11
|
+
export type LatexToken = string | '<{>' | '<}>' | '<space>' | '<$>' | '<$$>';
|
|
12
12
|
/** A LatexString is a regular string of LaTeX, for example:
|
|
13
13
|
* `\frac{\pi}{2}`
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export type LatexString = string;
|
|
16
16
|
/**
|
|
17
17
|
* Open and close delimiters that can be used with {@link MatchfixEntry}
|
|
18
18
|
* record to define new LaTeX dictionary entries.
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
export
|
|
20
|
+
export type Delimiter = ')' | '(' | ']' | '[' | '{' /** \lbrace */ | '}' /** \rbrace */ | '<' /** \langle */ | '>' /** \rangle */ | '|' | '||' | '\\lceil' | '\\rceil' | '\\lfloor' | '\\rfloor';
|
|
21
|
+
export type LibraryCategory = 'algebra' | 'arithmetic' | 'calculus' | 'collections' | 'control-structures' | 'combinatorics' | 'core' | 'data-structures' | 'dimensions' | 'domains' | 'linear-algebra' | 'logic' | 'numeric' | 'other' | 'physics' | 'polynomials' | 'relop' | 'sets' | 'statistics' | 'styling' | 'symbols' | 'trigonometry' | 'units';
|
|
22
22
|
/**
|
|
23
23
|
* This indicates a condition under which parsing should stop:
|
|
24
24
|
* - an operator of a precedence higher than specified has been encountered
|
|
25
25
|
* - the last token has been reached
|
|
26
26
|
* - or if a function is provided, the function returns true;
|
|
27
27
|
*/
|
|
28
|
-
export
|
|
28
|
+
export type Terminator = {
|
|
29
29
|
minPrec: number;
|
|
30
30
|
condition?: (parser: Parser) => boolean;
|
|
31
31
|
};
|
|
@@ -50,20 +50,20 @@ export declare type Terminator = {
|
|
|
50
50
|
* otherwise.
|
|
51
51
|
*
|
|
52
52
|
*/
|
|
53
|
-
export
|
|
54
|
-
export
|
|
55
|
-
export
|
|
56
|
-
export
|
|
57
|
-
export
|
|
58
|
-
export
|
|
59
|
-
export
|
|
60
|
-
export
|
|
61
|
-
export
|
|
53
|
+
export type EnvironmentParseHandler = (parser: Parser, reqArgs: Expression[], optArgs: Expression[]) => Expression | null;
|
|
54
|
+
export type SymbolParseHandler = (parser: Parser) => Expression | null;
|
|
55
|
+
export type FunctionParseHandler = (parser: Parser) => Expression | null;
|
|
56
|
+
export type PostfixParseHandler = (parser: Parser, lhs: Expression) => Expression | null;
|
|
57
|
+
export type PrefixParseHandler = (parser: Parser, until: Terminator) => Expression | null;
|
|
58
|
+
export type InfixParseHandler = (parser: Parser, until: Terminator, lhs: Expression) => Expression | null;
|
|
59
|
+
export type MatchfixParseHandler = (parser: Parser, body: Expression) => Expression | null;
|
|
60
|
+
export type ParseHandler = SymbolParseHandler | FunctionParseHandler | EnvironmentParseHandler | PostfixParseHandler | PrefixParseHandler | InfixParseHandler | MatchfixParseHandler;
|
|
61
|
+
export type LatexArgumentType = '{expression}' /** A required math mode expression */ | '[expression]' /** An optional math mode expression */ | '{text}' /** A required expression in text mode */ | '[text]' /** An optional expression in text mode */ | '{unit}' /** A required unit expression, e.g. `3em` */ | '[unit]' /** An optional unit expression, e.g. `3em` */ | '{glue}' /** A required glue expression, e.g. `25 mu plus 3em ` */ | '[glue]' /** An optional glue expression, e.g. `25 mu plus 3em ` */ | '{string}' /** A required text string, terminated by a non-literal token */ | '[string]' /** An optional text string, terminated by a non-literal token */ | '{color}' /** A required color expression, e.g. `red` or `#00ff00` */ | '[color]'; /** An optional color expression, e.g. `red` or `#00ff00` */
|
|
62
62
|
/**
|
|
63
63
|
* Maps a string of LaTeX tokens to a function or symbol and vice-versa.
|
|
64
64
|
*
|
|
65
65
|
*/
|
|
66
|
-
export
|
|
66
|
+
export type BaseEntry = {
|
|
67
67
|
/**
|
|
68
68
|
* Map a MathJSON function or symbol name to this entry.
|
|
69
69
|
*
|
|
@@ -94,7 +94,7 @@ export declare type BaseEntry = {
|
|
|
94
94
|
*/
|
|
95
95
|
serialize?: LatexString | SerializeHandler;
|
|
96
96
|
};
|
|
97
|
-
export
|
|
97
|
+
export type MatchfixEntry = BaseEntry & {
|
|
98
98
|
kind: 'matchfix';
|
|
99
99
|
/**
|
|
100
100
|
* If `kind` is `'matchfix'`: the `closeDelimiter` and `openDelimiter`
|
|
@@ -108,7 +108,7 @@ export declare type MatchfixEntry = BaseEntry & {
|
|
|
108
108
|
*/
|
|
109
109
|
parse: MatchfixParseHandler;
|
|
110
110
|
};
|
|
111
|
-
export
|
|
111
|
+
export type InfixEntry = BaseEntry & {
|
|
112
112
|
/**
|
|
113
113
|
* Infix position, with an operand before and an operand after: `a ⊛ b`.
|
|
114
114
|
*
|
|
@@ -131,7 +131,7 @@ export declare type InfixEntry = BaseEntry & {
|
|
|
131
131
|
*/
|
|
132
132
|
parse: string | InfixParseHandler;
|
|
133
133
|
};
|
|
134
|
-
export
|
|
134
|
+
export type PostfixEntry = BaseEntry & {
|
|
135
135
|
/**
|
|
136
136
|
* Postfix position, with an operand before: `a ⊛`
|
|
137
137
|
*
|
|
@@ -141,7 +141,7 @@ export declare type PostfixEntry = BaseEntry & {
|
|
|
141
141
|
precedence?: number;
|
|
142
142
|
parse: PostfixParseHandler;
|
|
143
143
|
};
|
|
144
|
-
export
|
|
144
|
+
export type PrefixEntry = BaseEntry & {
|
|
145
145
|
/**
|
|
146
146
|
* Prefix position, with an operand after: `⊛ a`
|
|
147
147
|
*
|
|
@@ -155,17 +155,17 @@ export declare type PrefixEntry = BaseEntry & {
|
|
|
155
155
|
* A LaTeX dictionary entry for an environment, that is a LaTeX
|
|
156
156
|
* construct using `\begin{...}...\end{...}`.
|
|
157
157
|
*/
|
|
158
|
-
export
|
|
158
|
+
export type EnvironmentEntry = BaseEntry & {
|
|
159
159
|
kind: 'environment';
|
|
160
160
|
parse: EnvironmentParseHandler;
|
|
161
161
|
};
|
|
162
|
-
export
|
|
162
|
+
export type SymbolEntry = BaseEntry & {
|
|
163
163
|
kind: 'symbol';
|
|
164
164
|
/** Used for appropriate wrapping (i.e. when to surround it with parens) */
|
|
165
165
|
precedence?: number;
|
|
166
166
|
parse: Expression | SymbolParseHandler;
|
|
167
167
|
};
|
|
168
|
-
export
|
|
168
|
+
export type FunctionEntry = BaseEntry & {
|
|
169
169
|
kind: 'function';
|
|
170
170
|
/**
|
|
171
171
|
* Indicate if this symbol can be followed by arguments.
|
|
@@ -197,11 +197,11 @@ export declare type FunctionEntry = BaseEntry & {
|
|
|
197
197
|
/**
|
|
198
198
|
* A simple LaTeX dictionary entry, for example for a command like `\pi`.
|
|
199
199
|
*/
|
|
200
|
-
export
|
|
200
|
+
export type DefaultEntry = BaseEntry & {
|
|
201
201
|
precedence?: number;
|
|
202
202
|
parse?: Expression | SymbolParseHandler;
|
|
203
203
|
};
|
|
204
|
-
export
|
|
204
|
+
export type LatexDictionaryEntry = DefaultEntry | MatchfixEntry | InfixEntry | PostfixEntry | PrefixEntry | SymbolEntry | FunctionEntry | EnvironmentEntry;
|
|
205
205
|
/** @internal */
|
|
206
206
|
export declare function isSymbolEntry(entry: LatexDictionaryEntry): entry is SymbolEntry;
|
|
207
207
|
/** @internal */
|
|
@@ -216,8 +216,8 @@ export declare function isPrefixEntry(entry: LatexDictionaryEntry): entry is Pre
|
|
|
216
216
|
export declare function isPostfixEntry(entry: LatexDictionaryEntry): entry is PostfixEntry;
|
|
217
217
|
/** @internal */
|
|
218
218
|
export declare function isEnvironmentEntry(entry: LatexDictionaryEntry): entry is EnvironmentEntry;
|
|
219
|
-
export
|
|
220
|
-
export
|
|
219
|
+
export type LatexDictionary = LatexDictionaryEntry[];
|
|
220
|
+
export type ParseLatexOptions = {
|
|
221
221
|
/**
|
|
222
222
|
* This function is invoked when a number is followed by a symbol,
|
|
223
223
|
* an open delimiter or a function.
|
|
@@ -291,7 +291,7 @@ export declare type ParseLatexOptions = {
|
|
|
291
291
|
*/
|
|
292
292
|
preserveLatex: boolean;
|
|
293
293
|
};
|
|
294
|
-
export
|
|
294
|
+
export type SerializeLatexOptions = {
|
|
295
295
|
/**
|
|
296
296
|
* LaTeX string used to render an invisible multiply, e.g. in '2x'.
|
|
297
297
|
* Leave it empty to join the adjacent terms, or use `\cdot` to insert
|
|
@@ -328,7 +328,7 @@ export declare type SerializeLatexOptions = {
|
|
|
328
328
|
powerStyle: (expr: Expression, level: number) => 'root' | 'solidus' | 'quotient';
|
|
329
329
|
numericSetStyle: (expr: Expression, level: number) => 'compact' | 'regular' | 'interval' | 'set-builder';
|
|
330
330
|
};
|
|
331
|
-
export
|
|
331
|
+
export type NumberFormattingOptions = {
|
|
332
332
|
precision: number;
|
|
333
333
|
positiveInfinity: LatexString;
|
|
334
334
|
negativeInfinity: LatexString;
|
|
@@ -444,7 +444,7 @@ export interface Serializer {
|
|
|
444
444
|
powerStyle: (expr: Expression, level: number) => 'root' | 'solidus' | 'quotient';
|
|
445
445
|
numericSetStyle: (expr: Expression, level: number) => 'compact' | 'regular' | 'interval' | 'set-builder';
|
|
446
446
|
}
|
|
447
|
-
export
|
|
447
|
+
export type SerializeHandler = (serializer: Serializer, expr: Expression) => string;
|
|
448
448
|
export interface Parser {
|
|
449
449
|
readonly options: Required<ParseLatexOptions>;
|
|
450
450
|
readonly computeEngine?: IComputeEngine;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 0.
|
|
1
|
+
/* 0.11.0 */
|
|
2
2
|
import { NumberFormattingOptions } from './public';
|
|
3
3
|
export declare function serializeNumber(expr: Expression | null, options: NumberFormattingOptions): string;
|
|
4
4
|
export declare function serializeEngineeringNotationNumber(value: number, options: NumberFormattingOptions): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 0.
|
|
1
|
+
/* 0.11.0 */
|
|
2
2
|
export declare function getApplyFunctionStyle(_expr: Expression, _level: number): 'paren' | 'leftright' | 'big' | 'none';
|
|
3
3
|
export declare function getGroupStyle(_expr: Expression, _level: number): 'paren' | 'leftright' | 'big' | 'none';
|
|
4
4
|
export declare function getRootStyle(_expr: Expression | null, level: number): 'radical' | 'quotient' | 'solidus';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 0.
|
|
1
|
+
/* 0.11.0 */
|
|
2
2
|
import { WarningSignalHandler } from '../../common/signals';
|
|
3
3
|
import { NumberFormattingOptions, LatexString, SerializeLatexOptions, FunctionEntry } from './public';
|
|
4
4
|
import { IndexedLatexDictionary, SymbolEntry } from './dictionary/definitions';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/* 0.
|
|
1
|
+
/* 0.11.0 */
|
|
2
2
|
* ## Reference
|
|
3
3
|
* TeX source code:
|
|
4
4
|
* {@link http://tug.org/texlive/devsrc/Build/source/texk/web2c/tex.web | Tex.web}
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
7
|
+
export type Token = string;
|
|
8
8
|
/**
|
|
9
9
|
* Create Tokens from a stream of LaTeX
|
|
10
10
|
*
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.
|
|
2
|
-
export declare const ARITHMETIC_LIBRARY:
|
|
1
|
+
/* 0.11.0 */
|
|
2
|
+
export declare const ARITHMETIC_LIBRARY: IDTable[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.
|
|
2
|
-
export declare const CALCULUS_LIBRARY:
|
|
1
|
+
/* 0.11.0 */
|
|
2
|
+
export declare const CALCULUS_LIBRARY: IDTable[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.
|
|
2
|
-
export declare const COLLECTIONS_LIBRARY:
|
|
1
|
+
/* 0.11.0 */
|
|
2
|
+
export declare const COLLECTIONS_LIBRARY: IDTable;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.
|
|
2
|
-
export declare const CORE_LIBRARY:
|
|
1
|
+
/* 0.11.0 */
|
|
2
|
+
export declare const CORE_LIBRARY: IDTable[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* 0.
|
|
2
|
-
import { IComputeEngine,
|
|
3
|
-
export declare function getStandardLibrary(categories: LibraryCategory[] | LibraryCategory | 'all'): Readonly<
|
|
1
|
+
/* 0.11.0 */
|
|
2
|
+
import { IComputeEngine, IDTable } from '../public';
|
|
3
|
+
export declare function getStandardLibrary(categories: LibraryCategory[] | LibraryCategory | 'all'): Readonly<IDTable>[];
|
|
4
4
|
export declare const LIBRARIES: {
|
|
5
|
-
[category in LibraryCategory]?: Readonly<
|
|
5
|
+
[category in LibraryCategory]?: Readonly<IDTable> | Readonly<IDTable>[];
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
8
8
|
* Set the symbol table of the current context (`engine.context`) to `table`
|
|
@@ -14,4 +14,4 @@ export declare const LIBRARIES: {
|
|
|
14
14
|
* or function name that has not yet been added to the symbol table.
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
|
-
export declare function setCurrentContextSymbolTable(engine: IComputeEngine, table:
|
|
17
|
+
export declare function setCurrentContextSymbolTable(engine: IComputeEngine, table: IDTable): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.
|
|
2
|
-
export declare const LOGIC_LIBRARY:
|
|
1
|
+
/* 0.11.0 */
|
|
2
|
+
export declare const LOGIC_LIBRARY: IDTable;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.
|
|
2
|
-
export declare const POLYNOMIALS_LIBRARY:
|
|
1
|
+
/* 0.11.0 */
|
|
2
|
+
export declare const POLYNOMIALS_LIBRARY: IDTable[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.
|
|
2
|
-
export declare const RELOP_LIBRARY:
|
|
1
|
+
/* 0.11.0 */
|
|
2
|
+
export declare const RELOP_LIBRARY: IDTable;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.
|
|
2
|
-
export declare const SETS_LIBRARY:
|
|
1
|
+
/* 0.11.0 */
|
|
2
|
+
export declare const SETS_LIBRARY: IDTable;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.
|
|
2
|
-
export declare const TRIGONOMETRY_LIBRARY:
|
|
1
|
+
/* 0.11.0 */
|
|
2
|
+
export declare const TRIGONOMETRY_LIBRARY: IDTable[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/* 0.11.0 */
|
|
2
|
+
export declare function isSymbolDefinition(def: BoxedSymbolDefinition | BoxedFunctionDefinition | SymbolDefinition | FunctionDefinition | undefined | null): def is BoxedSymbolDefinition;
|
|
3
|
+
export declare function isFunctionDefinition(def: BoxedSymbolDefinition | BoxedFunctionDefinition | SymbolDefinition | FunctionDefinition | undefined | null): def is BoxedFunctionDefinition;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* 0.
|
|
1
|
+
/* 0.11.0 */
|
|
2
2
|
export declare function isPrime(n: number): boolean | undefined;
|