MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / normalizeIdentifier

Method normalizeIdentifier

src/compute-engine/index.ts:1176–1190  ·  view source on GitHub ↗
(latex: string)

Source from the content-addressed store, hash-verified

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).

Callers

nothing calls this directly

Calls 5

pushScopeMethod · 0.95
parseMethod · 0.95
popScopeMethod · 0.95
isValidSymbolFunction · 0.90
isSymbolFunction · 0.90

Tested by

no test coverage detected