(latex: string)
| 1174 | ): readonly LibraryDefinition[] { |
| 1175 | return getStandardLibrary(categories); |
| 1176 | } |
| 1177 | |
| 1178 | /** |
| 1179 | * Construct a new `ComputeEngine` instance. |
| 1180 | * |
| 1181 | * Symbols tables define functions, constants and variables (in `options.ids`). |
| 1182 | * If no table is provided the MathJSON Standard Library is used (`ComputeEngine.getStandardLibrary()`) |
| 1183 | * |
| 1184 | * @param options.precision Specific how many digits of precision |
| 1185 | * for the numeric calculations. Default is 300. |
| 1186 | * |
| 1187 | * @param options.tolerance If the absolute value of the difference of two |
| 1188 | * numbers is less than `tolerance`, they are considered equal. Used by |
| 1189 | * `chop()` as well. |
| 1190 | * |
| 1191 | * @param options.libraries Optional standard/custom library list. |
| 1192 | * Custom library entries are validated during startup (name, dependencies, |
| 1193 | * definitions, and LaTeX dictionary shape). |
nothing calls this directly
no test coverage detected