diff --git a/.github/workflows/cleanup-wip-releases.yml b/.github/workflows/cleanup-wip-releases.yml new file mode 100644 index 0000000..4fb8e93 --- /dev/null +++ b/.github/workflows/cleanup-wip-releases.yml @@ -0,0 +1,22 @@ +--- + +name: Clean up stale WIP release tarballs + +on: + schedule: + - cron: '0 6 * * 1' # every Monday 06:00 UTC + workflow_dispatch: + inputs: + dry-run: + description: Log keep/delete decisions without deleting anything + type: boolean + default: true + +jobs: + cleanup-wip-releases: + uses: mat3ra/actions/.github/workflows/cleanup-wip-releases.yml@main + with: + # Scheduled runs always delete; workflow_dispatch defaults to dry-run. + dry-run: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run || false }} + secrets: + github-token: ${{ secrets.BOT_GITHUB_TOKEN }} diff --git a/.github/workflows/release-wip.yml b/.github/workflows/release-wip.yml new file mode 100644 index 0000000..ce1612c --- /dev/null +++ b/.github/workflows/release-wip.yml @@ -0,0 +1,14 @@ +--- + +name: Publish WIP release tarball + +on: push + +jobs: + release-wip: + uses: mat3ra/actions/.github/workflows/release-wip.yml@main + with: + package-name: utils + build-script: transpile + secrets: + github-token: ${{ secrets.BOT_GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index cacbd92..659527d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,8 +7,7 @@ __pycache__/ *.so # Distribution / packaging -# "dist" folder is not ignored on purpose to be able to install intermediate changes from github commits -# dist +dist/ .Python build/ develop-eggs/ diff --git a/.husky/pre-commit b/.husky/pre-commit index f01cf1d..e5312e3 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -15,4 +15,4 @@ fi npm run transpile npx lint-staged -git add dist/js +# dist/ is gitignored - not staged here diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 0000000..11512be --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,30 @@ +# Releasing WIP builds for consumers + +`dist/` is build output and is gitignored — it is not committed on any branch. CI +publishes a pre-release tarball (`wip-`) whenever a pushed commit +message contains `[release]`, via the reusable workflow at +[`mat3ra/actions`](https://github.com/mat3ra/actions#release-wip-usage-reusable-workflow). +See that README for the full explanation: why this exists, the tag/URL scheme, the +`EINTEGRITY`/npm-cache gotcha on a same-commit rebuild, and the cleanup policy. + +Download URL shape: + +```text +https://github.com/mat3ra/utils/releases/download/wip-/utils.tgz +``` + +Reinstall in `web-app` after a same-commit rebuild (plain `npm install` won't refetch — +see the linked README for why): + +```bash +npm run mat3ra:install -- utils wip- +``` + +Delete a pre-release once its commit merges and a real published version supersedes it: + +```bash +gh release delete wip- --yes +``` + +(Or let this repo's `cleanup-wip-releases.yml` do it automatically once that commit is +no longer any branch's tip.) diff --git a/dist/js/browser/download.d.ts b/dist/js/browser/download.d.ts deleted file mode 100644 index e486243..0000000 --- a/dist/js/browser/download.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export declare function saveFile(strData: string, filename: string): void; -export declare function saveImageDataToFile(imgData: string, type?: string): void; -/** - * Exports and downloads the content. - * @param content {String} Content to be saved in downloaded file - * @param name {String} File name to be written on disk. - * @param extension {String} File extension. - * @param mime {String} type of the content. - * Source: https://github.com/kennethjiang/js-file-download/blob/master/file-download.js - */ -export declare const exportToDisk: (content: string, name?: string, extension?: string, mime?: string) => void; diff --git a/dist/js/browser/download.js b/dist/js/browser/download.js deleted file mode 100644 index 707dff4..0000000 --- a/dist/js/browser/download.js +++ /dev/null @@ -1,60 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.exportToDisk = exports.saveImageDataToFile = exports.saveFile = void 0; -function saveFile(strData, filename) { - const link = document.createElement("a"); - document.body.appendChild(link); - link.download = filename; - link.href = strData; - link.click(); - document.body.removeChild(link); -} -exports.saveFile = saveFile; -function saveImageDataToFile(imgData, type = "png") { - try { - saveFile(imgData, `screenshot.${type}`); - } - catch (e) { - console.error(e); - } -} -exports.saveImageDataToFile = saveImageDataToFile; -/** - * Exports and downloads the content. - * @param content {String} Content to be saved in downloaded file - * @param name {String} File name to be written on disk. - * @param extension {String} File extension. - * @param mime {String} type of the content. - * Source: https://github.com/kennethjiang/js-file-download/blob/master/file-download.js - */ -const exportToDisk = function exportToDisk(content, name = "file", extension = "txt", mime = "application/octet-stream") { - const blob = new Blob([content], { type: mime }); - const filename = `${name}.${extension}`; - // @ts-ignore - if (typeof window.navigator.msSaveBlob !== "undefined") { - // IE workaround for "HTML7007: One or more blob URLs were - // revoked by closing the blob for which they were created. - // These URLs will no longer resolve as the data backing - // the URL has been freed." - // @ts-ignore - window.navigator.msSaveBlob(blob, filename); - } - else { - const blobURL = window.URL.createObjectURL(blob); - const tempLink = document.createElement("a"); - tempLink.style.display = "none"; - tempLink.href = blobURL; - tempLink.setAttribute("download", filename); - // Safari thinks _blank anchor are pop ups. We only want to set _blank - // target if the browser does not support the HTML5 download attribute. - // This allows you to download files in desktop safari if pop up blocking - // is enabled. - if (typeof tempLink.download === "undefined") - tempLink.setAttribute("target", "_blank"); - document.body.appendChild(tempLink); - tempLink.click(); - document.body.removeChild(tempLink); - window.URL.revokeObjectURL(blobURL); - } -}; -exports.exportToDisk = exportToDisk; diff --git a/dist/js/browser/specific/codemirror.d.ts b/dist/js/browser/specific/codemirror.d.ts deleted file mode 100644 index a5244e4..0000000 --- a/dist/js/browser/specific/codemirror.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const refreshCodeMirror: (containerId: string) => void; diff --git a/dist/js/browser/specific/codemirror.js b/dist/js/browser/specific/codemirror.js deleted file mode 100644 index 9c98ba7..0000000 --- a/dist/js/browser/specific/codemirror.js +++ /dev/null @@ -1,14 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.refreshCodeMirror = void 0; -const forEach_1 = __importDefault(require("lodash/forEach")); -const refreshCodeMirror = (containerId) => { - const container = document.getElementById(containerId); - const editors = container === null || container === void 0 ? void 0 : container.getElementsByClassName("CodeMirror"); - // @ts-ignore - (0, forEach_1.default)(editors, (cm) => cm.CodeMirror.refresh()); -}; -exports.refreshCodeMirror = refreshCodeMirror; diff --git a/dist/js/index.d.ts b/dist/js/index.d.ts deleted file mode 100644 index 35ae840..0000000 --- a/dist/js/index.d.ts +++ /dev/null @@ -1,2871 +0,0 @@ -import * as array from "./shared/array"; -import * as assertion from "./shared/assertion"; -import * as cls from "./shared/class"; -import * as clone from "./shared/clone"; -import * as constants from "./shared/constants"; -import * as hash from "./shared/hash"; -import * as object from "./shared/object"; -import * as selector from "./shared/selector"; -import * as specific from "./shared/specific"; -import * as str from "./shared/str"; -import * as tree from "./shared/tree"; -import * as url from "./shared/url"; -import * as uuid from "./shared/uuid"; -import * as yaml from "./shared/yaml"; -export declare const sharedUtils: { - array: typeof array; - cls: typeof cls; - clone: typeof clone; - constants: typeof constants; - hash: typeof hash; - math: { - PI: number; - trunc: (x: number) => number; - product: (v1: number[], v2: number[]) => number | number[]; - vlen: (v: number[]) => number; - angle: (a: number[], b: number[], unit: string) => number; - angleUpTo90: (a: number[], b: number[], unit: string) => number; - vDist: (v1: number[], v2: number[]) => number; - vEqualWithTolerance: (vec1: number[], vec2: number[], tolerance?: number) => boolean; - roundToZero: (n: number) => number; - precise: (x: number, n?: number) => number; - mod: (num: number, tolerance?: number) => number; - isBetweenZeroInclusiveAndOne: (number: number, tolerance?: number) => boolean; - cartesianProduct: (...arg: number[][]) => number[][]; - almostEqual: (a: number, b: number, tolerance?: number) => boolean; - combinations: (a: number, b: number, c: number) => number[][]; - combinationsFromIntervals: (arrA: number[], arrB: number[], arrC: number[]) => number[][]; - calculateSegmentsBetweenPoints3D: (point1: (string | number)[], point2: (string | number)[], n: string | number) => number[][]; - roundValueToNDecimals: (value: number, decimals?: number) => number; - numberToPrecision: typeof import("./shared/math").numberToPrecision; - roundCustom: (value: number, decimals?: number, mode?: import("decimal.js").default.Rounding) => number; - RoundingMethod: { - Bankers: 6; - HalfAwayFromZero: 4; - }; - roundArrayOrNumber: (value: unknown, decimals?: number, mode?: import("decimal.js").default.Rounding) => unknown; - AccessorNode: import("mathjs").AccessorNodeCtor; - ArrayNode: import("mathjs").ArrayNodeCtor; - AssignmentNode: import("mathjs").AssignmentNodeCtor; - BlockNode: import("mathjs").BlockNodeCtor; - ConditionalNode: import("mathjs").ConditionalNodeCtor; - ConstantNode: import("mathjs").ConstantNodeCtor; - FunctionAssignmentNode: import("mathjs").FunctionAssignmentNodeCtor; - FunctionNode: import("mathjs").FunctionNodeCtor; - IndexNode: import("mathjs").IndexNodeCtor; - ObjectNode: import("mathjs").ObjectNodeCtor; - OperatorNode: import("mathjs").OperatorNodeCtor; - ParenthesisNode: import("mathjs").ParenthesisNodeCtor; - RangeNode: import("mathjs").RangeNodeCtor; - RelationalNode: import("mathjs").RelationalNodeCtor; - SymbolNode: import("mathjs").SymbolNodeCtor; - all: import("mathjs").FactoryFunctionMap; - typedDependencies: import("mathjs").FactoryFunctionMap; - ResultSetDependencies: import("mathjs").FactoryFunctionMap; - BigNumberDependencies: import("mathjs").FactoryFunctionMap; - ComplexDependencies: import("mathjs").FactoryFunctionMap; - FractionDependencies: import("mathjs").FactoryFunctionMap; - RangeDependencies: import("mathjs").FactoryFunctionMap; - MatrixDependencies: import("mathjs").FactoryFunctionMap; - DenseMatrixDependencies: import("mathjs").FactoryFunctionMap; - cloneDependencies: import("mathjs").FactoryFunctionMap; - isIntegerDependencies: import("mathjs").FactoryFunctionMap; - isNegativeDependencies: import("mathjs").FactoryFunctionMap; - isNumericDependencies: import("mathjs").FactoryFunctionMap; - hasNumericValueDependencies: import("mathjs").FactoryFunctionMap; - isPositiveDependencies: import("mathjs").FactoryFunctionMap; - isZeroDependencies: import("mathjs").FactoryFunctionMap; - isNaNDependencies: import("mathjs").FactoryFunctionMap; - typeOfDependencies: import("mathjs").FactoryFunctionMap; - typeofDependencies: import("mathjs").FactoryFunctionMap; - equalScalarDependencies: import("mathjs").FactoryFunctionMap; - SparseMatrixDependencies: import("mathjs").FactoryFunctionMap; - numberDependencies: import("mathjs").FactoryFunctionMap; - stringDependencies: import("mathjs").FactoryFunctionMap; - booleanDependencies: import("mathjs").FactoryFunctionMap; - bignumberDependencies: import("mathjs").FactoryFunctionMap; - complexDependencies: import("mathjs").FactoryFunctionMap; - fractionDependencies: import("mathjs").FactoryFunctionMap; - matrixDependencies: import("mathjs").FactoryFunctionMap; - splitUnitDependencies: import("mathjs").FactoryFunctionMap; - unaryMinusDependencies: import("mathjs").FactoryFunctionMap; - unaryPlusDependencies: import("mathjs").FactoryFunctionMap; - absDependencies: import("mathjs").FactoryFunctionMap; - applyDependencies: import("mathjs").FactoryFunctionMap; - addScalarDependencies: import("mathjs").FactoryFunctionMap; - cbrtDependencies: import("mathjs").FactoryFunctionMap; - ceilDependencies: import("mathjs").FactoryFunctionMap; - cubeDependencies: import("mathjs").FactoryFunctionMap; - expDependencies: import("mathjs").FactoryFunctionMap; - expm1Dependencies: import("mathjs").FactoryFunctionMap; - fixDependencies: import("mathjs").FactoryFunctionMap; - floorDependencies: import("mathjs").FactoryFunctionMap; - gcdDependencies: import("mathjs").FactoryFunctionMap; - lcmDependencies: import("mathjs").FactoryFunctionMap; - log10Dependencies: import("mathjs").FactoryFunctionMap; - log2Dependencies: import("mathjs").FactoryFunctionMap; - modDependencies: import("mathjs").FactoryFunctionMap; - multiplyScalarDependencies: import("mathjs").FactoryFunctionMap; - multiplyDependencies: import("mathjs").FactoryFunctionMap; - nthRootDependencies: import("mathjs").FactoryFunctionMap; - signDependencies: import("mathjs").FactoryFunctionMap; - sqrtDependencies: import("mathjs").FactoryFunctionMap; - squareDependencies: import("mathjs").FactoryFunctionMap; - subtractDependencies: import("mathjs").FactoryFunctionMap; - xgcdDependencies: import("mathjs").FactoryFunctionMap; - dotMultiplyDependencies: import("mathjs").FactoryFunctionMap; - bitAndDependencies: import("mathjs").FactoryFunctionMap; - bitNotDependencies: import("mathjs").FactoryFunctionMap; - bitOrDependencies: import("mathjs").FactoryFunctionMap; - bitXorDependencies: import("mathjs").FactoryFunctionMap; - argDependencies: import("mathjs").FactoryFunctionMap; - conjDependencies: import("mathjs").FactoryFunctionMap; - imDependencies: import("mathjs").FactoryFunctionMap; - reDependencies: import("mathjs").FactoryFunctionMap; - notDependencies: import("mathjs").FactoryFunctionMap; - orDependencies: import("mathjs").FactoryFunctionMap; - xorDependencies: import("mathjs").FactoryFunctionMap; - concatDependencies: import("mathjs").FactoryFunctionMap; - columnDependencies: import("mathjs").FactoryFunctionMap; - crossDependencies: import("mathjs").FactoryFunctionMap; - diagDependencies: import("mathjs").FactoryFunctionMap; - eyeDependencies: import("mathjs").FactoryFunctionMap; - filterDependencies: import("mathjs").FactoryFunctionMap; - flattenDependencies: import("mathjs").FactoryFunctionMap; - forEachDependencies: import("mathjs").FactoryFunctionMap; - getMatrixDataTypeDependencies: import("mathjs").FactoryFunctionMap; - identityDependencies: import("mathjs").FactoryFunctionMap; - kronDependencies: import("mathjs").FactoryFunctionMap; - mapDependencies: import("mathjs").FactoryFunctionMap; - onesDependencies: import("mathjs").FactoryFunctionMap; - rangeDependencies: import("mathjs").FactoryFunctionMap; - reshapeDependencies: import("mathjs").FactoryFunctionMap; - resizeDependencies: import("mathjs").FactoryFunctionMap; - rowDependencies: import("mathjs").FactoryFunctionMap; - sizeDependencies: import("mathjs").FactoryFunctionMap; - squeezeDependencies: import("mathjs").FactoryFunctionMap; - subsetDependencies: import("mathjs").FactoryFunctionMap; - transposeDependencies: import("mathjs").FactoryFunctionMap; - ctransposeDependencies: import("mathjs").FactoryFunctionMap; - zerosDependencies: import("mathjs").FactoryFunctionMap; - erfDependencies: import("mathjs").FactoryFunctionMap; - modeDependencies: import("mathjs").FactoryFunctionMap; - prodDependencies: import("mathjs").FactoryFunctionMap; - formatDependencies: import("mathjs").FactoryFunctionMap; - printDependencies: import("mathjs").FactoryFunctionMap; - toDependencies: import("mathjs").FactoryFunctionMap; - isPrimeDependencies: import("mathjs").FactoryFunctionMap; - numericDependencies: import("mathjs").FactoryFunctionMap; - divideScalarDependencies: import("mathjs").FactoryFunctionMap; - powDependencies: import("mathjs").FactoryFunctionMap; - roundDependencies: import("mathjs").FactoryFunctionMap; - logDependencies: import("mathjs").FactoryFunctionMap; - log1pDependencies: import("mathjs").FactoryFunctionMap; - nthRootsDependencies: import("mathjs").FactoryFunctionMap; - dotPowDependencies: import("mathjs").FactoryFunctionMap; - dotDivideDependencies: import("mathjs").FactoryFunctionMap; - lsolveDependencies: import("mathjs").FactoryFunctionMap; - usolveDependencies: import("mathjs").FactoryFunctionMap; - leftShiftDependencies: import("mathjs").FactoryFunctionMap; - rightArithShiftDependencies: import("mathjs").FactoryFunctionMap; - rightLogShiftDependencies: import("mathjs").FactoryFunctionMap; - andDependencies: import("mathjs").FactoryFunctionMap; - compareDependencies: import("mathjs").FactoryFunctionMap; - compareNaturalDependencies: import("mathjs").FactoryFunctionMap; - compareTextDependencies: import("mathjs").FactoryFunctionMap; - equalDependencies: import("mathjs").FactoryFunctionMap; - equalTextDependencies: import("mathjs").FactoryFunctionMap; - smallerDependencies: import("mathjs").FactoryFunctionMap; - smallerEqDependencies: import("mathjs").FactoryFunctionMap; - largerDependencies: import("mathjs").FactoryFunctionMap; - largerEqDependencies: import("mathjs").FactoryFunctionMap; - deepEqualDependencies: import("mathjs").FactoryFunctionMap; - unequalDependencies: import("mathjs").FactoryFunctionMap; - partitionSelectDependencies: import("mathjs").FactoryFunctionMap; - sortDependencies: import("mathjs").FactoryFunctionMap; - maxDependencies: import("mathjs").FactoryFunctionMap; - minDependencies: import("mathjs").FactoryFunctionMap; - ImmutableDenseMatrixDependencies: import("mathjs").FactoryFunctionMap; - IndexDependencies: import("mathjs").FactoryFunctionMap; - FibonacciHeapDependencies: import("mathjs").FactoryFunctionMap; - SpaDependencies: import("mathjs").FactoryFunctionMap; - UnitDependencies: import("mathjs").FactoryFunctionMap; - unitDependencies: import("mathjs").FactoryFunctionMap; - sparseDependencies: import("mathjs").FactoryFunctionMap; - createUnitDependencies: import("mathjs").FactoryFunctionMap; - acosDependencies: import("mathjs").FactoryFunctionMap; - acoshDependencies: import("mathjs").FactoryFunctionMap; - acotDependencies: import("mathjs").FactoryFunctionMap; - acothDependencies: import("mathjs").FactoryFunctionMap; - acscDependencies: import("mathjs").FactoryFunctionMap; - acschDependencies: import("mathjs").FactoryFunctionMap; - asecDependencies: import("mathjs").FactoryFunctionMap; - asechDependencies: import("mathjs").FactoryFunctionMap; - asinDependencies: import("mathjs").FactoryFunctionMap; - asinhDependencies: import("mathjs").FactoryFunctionMap; - atanDependencies: import("mathjs").FactoryFunctionMap; - atan2Dependencies: import("mathjs").FactoryFunctionMap; - atanhDependencies: import("mathjs").FactoryFunctionMap; - cosDependencies: import("mathjs").FactoryFunctionMap; - coshDependencies: import("mathjs").FactoryFunctionMap; - cotDependencies: import("mathjs").FactoryFunctionMap; - cothDependencies: import("mathjs").FactoryFunctionMap; - cscDependencies: import("mathjs").FactoryFunctionMap; - cschDependencies: import("mathjs").FactoryFunctionMap; - secDependencies: import("mathjs").FactoryFunctionMap; - sechDependencies: import("mathjs").FactoryFunctionMap; - sinDependencies: import("mathjs").FactoryFunctionMap; - sinhDependencies: import("mathjs").FactoryFunctionMap; - tanDependencies: import("mathjs").FactoryFunctionMap; - tanhDependencies: import("mathjs").FactoryFunctionMap; - setCartesianDependencies: import("mathjs").FactoryFunctionMap; - setDifferenceDependencies: import("mathjs").FactoryFunctionMap; - setDistinctDependencies: import("mathjs").FactoryFunctionMap; - setIntersectDependencies: import("mathjs").FactoryFunctionMap; - setIsSubsetDependencies: import("mathjs").FactoryFunctionMap; - setMultiplicityDependencies: import("mathjs").FactoryFunctionMap; - setPowersetDependencies: import("mathjs").FactoryFunctionMap; - setSizeDependencies: import("mathjs").FactoryFunctionMap; - setSymDifferenceDependencies: import("mathjs").FactoryFunctionMap; - setUnionDependencies: import("mathjs").FactoryFunctionMap; - zpk2tfDependencies: import("mathjs").FactoryFunctionMap; - freqzDependencies: import("mathjs").FactoryFunctionMap; - addDependencies: import("mathjs").FactoryFunctionMap; - hypotDependencies: import("mathjs").FactoryFunctionMap; - normDependencies: import("mathjs").FactoryFunctionMap; - dotDependencies: import("mathjs").FactoryFunctionMap; - traceDependencies: import("mathjs").FactoryFunctionMap; - indexDependencies: import("mathjs").FactoryFunctionMap; - NodeDependencies: import("mathjs").FactoryFunctionMap; - AccessorNodeDependencies: import("mathjs").FactoryFunctionMap; - ArrayNodeDependencies: import("mathjs").FactoryFunctionMap; - AssignmentNodeDependencies: import("mathjs").FactoryFunctionMap; - BlockNodeDependencies: import("mathjs").FactoryFunctionMap; - ConditionalNodeDependencies: import("mathjs").FactoryFunctionMap; - ConstantNodeDependencies: import("mathjs").FactoryFunctionMap; - FunctionAssignmentNodeDependencies: import("mathjs").FactoryFunctionMap; - IndexNodeDependencies: import("mathjs").FactoryFunctionMap; - ObjectNodeDependencies: import("mathjs").FactoryFunctionMap; - OperatorNodeDependencies: import("mathjs").FactoryFunctionMap; - ParenthesisNodeDependencies: import("mathjs").FactoryFunctionMap; - RangeNodeDependencies: import("mathjs").FactoryFunctionMap; - RelationalNodeDependencies: import("mathjs").FactoryFunctionMap; - SymbolNodeDependencies: import("mathjs").FactoryFunctionMap; - FunctionNodeDependencies: import("mathjs").FactoryFunctionMap; - parseDependencies: import("mathjs").FactoryFunctionMap; - compileDependencies: import("mathjs").FactoryFunctionMap; - evaluateDependencies: import("mathjs").FactoryFunctionMap; - evalDependencies: import("mathjs").FactoryFunctionMap; - ParserDependencies: import("mathjs").FactoryFunctionMap; - parserDependencies: import("mathjs").FactoryFunctionMap; - lupDependencies: import("mathjs").FactoryFunctionMap; - qrDependencies: import("mathjs").FactoryFunctionMap; - sluDependencies: import("mathjs").FactoryFunctionMap; - lusolveDependencies: import("mathjs").FactoryFunctionMap; - HelpDependencies: import("mathjs").FactoryFunctionMap; - ChainDependencies: import("mathjs").FactoryFunctionMap; - helpDependencies: import("mathjs").FactoryFunctionMap; - chainDependencies: import("mathjs").FactoryFunctionMap; - detDependencies: import("mathjs").FactoryFunctionMap; - invDependencies: import("mathjs").FactoryFunctionMap; - expmDependencies: import("mathjs").FactoryFunctionMap; - sqrtmDependencies: import("mathjs").FactoryFunctionMap; - sylvesterDependencies: import("mathjs").FactoryFunctionMap; - schurDependencies: import("mathjs").FactoryFunctionMap; - lyapDependencies: import("mathjs").FactoryFunctionMap; - divideDependencies: import("mathjs").FactoryFunctionMap; - distanceDependencies: import("mathjs").FactoryFunctionMap; - intersectDependencies: import("mathjs").FactoryFunctionMap; - sumDependencies: import("mathjs").FactoryFunctionMap; - meanDependencies: import("mathjs").FactoryFunctionMap; - medianDependencies: import("mathjs").FactoryFunctionMap; - madDependencies: import("mathjs").FactoryFunctionMap; - varianceDependencies: import("mathjs").FactoryFunctionMap; - varDependencies: import("mathjs").FactoryFunctionMap; - quantileSeqDependencies: import("mathjs").FactoryFunctionMap; - stdDependencies: import("mathjs").FactoryFunctionMap; - combinationsDependencies: import("mathjs").FactoryFunctionMap; - gammaDependencies: import("mathjs").FactoryFunctionMap; - factorialDependencies: import("mathjs").FactoryFunctionMap; - kldivergenceDependencies: import("mathjs").FactoryFunctionMap; - multinomialDependencies: import("mathjs").FactoryFunctionMap; - permutationsDependencies: import("mathjs").FactoryFunctionMap; - pickRandomDependencies: import("mathjs").FactoryFunctionMap; - randomDependencies: import("mathjs").FactoryFunctionMap; - randomIntDependencies: import("mathjs").FactoryFunctionMap; - stirlingS2Dependencies: import("mathjs").FactoryFunctionMap; - bellNumbersDependencies: import("mathjs").FactoryFunctionMap; - catalanDependencies: import("mathjs").FactoryFunctionMap; - compositionDependencies: import("mathjs").FactoryFunctionMap; - simplifyDependencies: import("mathjs").FactoryFunctionMap; - derivativeDependencies: import("mathjs").FactoryFunctionMap; - rationalizeDependencies: import("mathjs").FactoryFunctionMap; - reviverDependencies: import("mathjs").FactoryFunctionMap; - eDependencies: import("mathjs").FactoryFunctionMap; - EDependencies: import("mathjs").FactoryFunctionMap; - falseDependencies: import("mathjs").FactoryFunctionMap; - iDependencies: import("mathjs").FactoryFunctionMap; - InfinityDependencies: import("mathjs").FactoryFunctionMap; - LN10Dependencies: import("mathjs").FactoryFunctionMap; - LN2Dependencies: import("mathjs").FactoryFunctionMap; - LOG10EDependencies: import("mathjs").FactoryFunctionMap; - LOG2EDependencies: import("mathjs").FactoryFunctionMap; - NaNDependencies: import("mathjs").FactoryFunctionMap; - nullDependencies: import("mathjs").FactoryFunctionMap; - phiDependencies: import("mathjs").FactoryFunctionMap; - piDependencies: import("mathjs").FactoryFunctionMap; - PIDependencies: import("mathjs").FactoryFunctionMap; - SQRT1_2Dependencies: import("mathjs").FactoryFunctionMap; - SQRT2Dependencies: import("mathjs").FactoryFunctionMap; - tauDependencies: import("mathjs").FactoryFunctionMap; - trueDependencies: import("mathjs").FactoryFunctionMap; - versionDependencies: import("mathjs").FactoryFunctionMap; - atomicMassDependencies: import("mathjs").FactoryFunctionMap; - avogadroDependencies: import("mathjs").FactoryFunctionMap; - bohrMagnetonDependencies: import("mathjs").FactoryFunctionMap; - bohrRadiusDependencies: import("mathjs").FactoryFunctionMap; - boltzmannDependencies: import("mathjs").FactoryFunctionMap; - classicalElectronRadiusDependencies: import("mathjs").FactoryFunctionMap; - conductanceQuantumDependencies: import("mathjs").FactoryFunctionMap; - coulombDependencies: import("mathjs").FactoryFunctionMap; - deuteronMassDependencies: import("mathjs").FactoryFunctionMap; - efimovFactorDependencies: import("mathjs").FactoryFunctionMap; - electricConstantDependencies: import("mathjs").FactoryFunctionMap; - electronMassDependencies: import("mathjs").FactoryFunctionMap; - elementaryChargeDependencies: import("mathjs").FactoryFunctionMap; - faradayDependencies: import("mathjs").FactoryFunctionMap; - fermiCouplingDependencies: import("mathjs").FactoryFunctionMap; - fineStructureDependencies: import("mathjs").FactoryFunctionMap; - firstRadiationDependencies: import("mathjs").FactoryFunctionMap; - gasConstantDependencies: import("mathjs").FactoryFunctionMap; - gravitationConstantDependencies: import("mathjs").FactoryFunctionMap; - gravityDependencies: import("mathjs").FactoryFunctionMap; - hartreeEnergyDependencies: import("mathjs").FactoryFunctionMap; - inverseConductanceQuantumDependencies: import("mathjs").FactoryFunctionMap; - klitzingDependencies: import("mathjs").FactoryFunctionMap; - loschmidtDependencies: import("mathjs").FactoryFunctionMap; - magneticConstantDependencies: import("mathjs").FactoryFunctionMap; - magneticFluxQuantumDependencies: import("mathjs").FactoryFunctionMap; - molarMassDependencies: import("mathjs").FactoryFunctionMap; - molarMassC12Dependencies: import("mathjs").FactoryFunctionMap; - molarPlanckConstantDependencies: import("mathjs").FactoryFunctionMap; - molarVolumeDependencies: import("mathjs").FactoryFunctionMap; - neutronMassDependencies: import("mathjs").FactoryFunctionMap; - nuclearMagnetonDependencies: import("mathjs").FactoryFunctionMap; - planckChargeDependencies: import("mathjs").FactoryFunctionMap; - planckConstantDependencies: import("mathjs").FactoryFunctionMap; - planckLengthDependencies: import("mathjs").FactoryFunctionMap; - planckMassDependencies: import("mathjs").FactoryFunctionMap; - planckTemperatureDependencies: import("mathjs").FactoryFunctionMap; - planckTimeDependencies: import("mathjs").FactoryFunctionMap; - protonMassDependencies: import("mathjs").FactoryFunctionMap; - quantumOfCirculationDependencies: import("mathjs").FactoryFunctionMap; - reducedPlanckConstantDependencies: import("mathjs").FactoryFunctionMap; - rydbergDependencies: import("mathjs").FactoryFunctionMap; - sackurTetrodeDependencies: import("mathjs").FactoryFunctionMap; - secondRadiationDependencies: import("mathjs").FactoryFunctionMap; - speedOfLightDependencies: import("mathjs").FactoryFunctionMap; - stefanBoltzmannDependencies: import("mathjs").FactoryFunctionMap; - thomsonCrossSectionDependencies: import("mathjs").FactoryFunctionMap; - vacuumImpedanceDependencies: import("mathjs").FactoryFunctionMap; - weakMixingAngleDependencies: import("mathjs").FactoryFunctionMap; - wienDisplacementDependencies: import("mathjs").FactoryFunctionMap; - applyTransformDependencies: import("mathjs").FactoryFunctionMap; - columnTransformDependencies: import("mathjs").FactoryFunctionMap; - filterTransformDependencies: import("mathjs").FactoryFunctionMap; - forEachTransformDependencies: import("mathjs").FactoryFunctionMap; - indexTransformDependencies: import("mathjs").FactoryFunctionMap; - mapTransformDependencies: import("mathjs").FactoryFunctionMap; - maxTransformDependencies: import("mathjs").FactoryFunctionMap; - meanTransformDependencies: import("mathjs").FactoryFunctionMap; - minTransformDependencies: import("mathjs").FactoryFunctionMap; - rangeTransformDependencies: import("mathjs").FactoryFunctionMap; - rowTransformDependencies: import("mathjs").FactoryFunctionMap; - subsetTransformDependencies: import("mathjs").FactoryFunctionMap; - concatTransformDependencies: import("mathjs").FactoryFunctionMap; - stdTransformDependencies: import("mathjs").FactoryFunctionMap; - sumTransformDependencies: import("mathjs").FactoryFunctionMap; - varianceTransformDependencies: import("mathjs").FactoryFunctionMap; - Matrix: import("mathjs").MatrixCtor; - create: (factories: import("mathjs").FactoryFunctionMap, config?: import("mathjs").ConfigOptions | undefined) => import("mathjs").MathJsInstance; - factory: (name: string, dependencies: TDeps, create: (injected: Pick | Extract<"number", TDeps[number]> | Extract<"boolean", TDeps[number]> | Extract<"concat", TDeps[number]> | Extract<"sort", TDeps[number]> | Extract<"forEach", TDeps[number]> | Extract<"map", TDeps[number]> | Extract<"filter", TDeps[number]> | Extract<"AccessorNode", TDeps[number]> | Extract<"ArrayNode", TDeps[number]> | Extract<"AssignmentNode", TDeps[number]> | Extract<"BlockNode", TDeps[number]> | Extract<"ConditionalNode", TDeps[number]> | Extract<"ConstantNode", TDeps[number]> | Extract<"FunctionAssignmentNode", TDeps[number]> | Extract<"FunctionNode", TDeps[number]> | Extract<"IndexNode", TDeps[number]> | Extract<"ObjectNode", TDeps[number]> | Extract<"OperatorNode", TDeps[number]> | Extract<"ParenthesisNode", TDeps[number]> | Extract<"RangeNode", TDeps[number]> | Extract<"RelationalNode", TDeps[number]> | Extract<"SymbolNode", TDeps[number]> | Extract<"Matrix", TDeps[number]> | Extract<"create", TDeps[number]> | Extract<"factory", TDeps[number]> | Extract<"typed", TDeps[number]> | Extract<"e", TDeps[number]> | Extract<"pi", TDeps[number]> | Extract<"i", TDeps[number]> | Extract<"LN2", TDeps[number]> | Extract<"LN10", TDeps[number]> | Extract<"LOG2E", TDeps[number]> | Extract<"LOG10E", TDeps[number]> | Extract<"phi", TDeps[number]> | Extract<"SQRT1_2", TDeps[number]> | Extract<"SQRT2", TDeps[number]> | Extract<"tau", TDeps[number]> | Extract<"Node", TDeps[number]> | Extract<"uninitialized", TDeps[number]> | Extract<"version", TDeps[number]> | Extract<"expression", TDeps[number]> | Extract<"reviver", TDeps[number]> | Extract<"replacer", TDeps[number]> | Extract<"bignumber", TDeps[number]> | Extract<"chain", TDeps[number]> | Extract<"complex", TDeps[number]> | Extract<"createUnit", TDeps[number]> | Extract<"fraction", TDeps[number]> | Extract<"index", TDeps[number]> | Extract<"matrix", TDeps[number]> | Extract<"sparse", TDeps[number]> | Extract<"splitUnit", TDeps[number]> | Extract<"unit", TDeps[number]> | Extract<"compile", TDeps[number]> | Extract<"evaluate", TDeps[number]> | Extract<"help", TDeps[number]> | Extract<"parse", TDeps[number]> | Extract<"parser", TDeps[number]> | Extract<"derivative", TDeps[number]> | Extract<"lsolve", TDeps[number]> | Extract<"lup", TDeps[number]> | Extract<"lusolve", TDeps[number]> | Extract<"polynomialRoot", TDeps[number]> | Extract<"qr", TDeps[number]> | Extract<"rationalize", TDeps[number]> | Extract<"simplify", TDeps[number]> | Extract<"simplifyConstant", TDeps[number]> | Extract<"simplifyCore", TDeps[number]> | Extract<"resolve", TDeps[number]> | Extract<"slu", TDeps[number]> | Extract<"usolve", TDeps[number]> | Extract<"abs", TDeps[number]> | Extract<"add", TDeps[number]> | Extract<"cbrt", TDeps[number]> | Extract<"ceil", TDeps[number]> | Extract<"fix", TDeps[number]> | Extract<"floor", TDeps[number]> | Extract<"round", TDeps[number]> | Extract<"cube", TDeps[number]> | Extract<"divide", TDeps[number]> | Extract<"dotDivide", TDeps[number]> | Extract<"dotMultiply", TDeps[number]> | Extract<"dotPow", TDeps[number]> | Extract<"exp", TDeps[number]> | Extract<"expm1", TDeps[number]> | Extract<"gcd", TDeps[number]> | Extract<"hypot", TDeps[number]> | Extract<"lcm", TDeps[number]> | Extract<"log", TDeps[number]> | Extract<"log10", TDeps[number]> | Extract<"log1p", TDeps[number]> | Extract<"log2", TDeps[number]> | Extract<"mod", TDeps[number]> | Extract<"multiply", TDeps[number]> | Extract<"norm", TDeps[number]> | Extract<"nthRoot", TDeps[number]> | Extract<"pow", TDeps[number]> | Extract<"sign", TDeps[number]> | Extract<"sqrt", TDeps[number]> | Extract<"square", TDeps[number]> | Extract<"subtract", TDeps[number]> | Extract<"unaryMinus", TDeps[number]> | Extract<"unaryPlus", TDeps[number]> | Extract<"xgcd", TDeps[number]> | Extract<"bitAnd", TDeps[number]> | Extract<"bitNot", TDeps[number]> | Extract<"bitOr", TDeps[number]> | Extract<"bitXor", TDeps[number]> | Extract<"leftShift", TDeps[number]> | Extract<"rightArithShift", TDeps[number]> | Extract<"rightLogShift", TDeps[number]> | Extract<"bellNumbers", TDeps[number]> | Extract<"catalan", TDeps[number]> | Extract<"composition", TDeps[number]> | Extract<"stirlingS2", TDeps[number]> | Extract<"arg", TDeps[number]> | Extract<"conj", TDeps[number]> | Extract<"im", TDeps[number]> | Extract<"re", TDeps[number]> | Extract<"distance", TDeps[number]> | Extract<"intersect", TDeps[number]> | Extract<"and", TDeps[number]> | Extract<"not", TDeps[number]> | Extract<"or", TDeps[number]> | Extract<"xor", TDeps[number]> | Extract<"apply", TDeps[number]> | Extract<"cross", TDeps[number]> | Extract<"det", TDeps[number]> | Extract<"diag", TDeps[number]> | Extract<"dot", TDeps[number]> | Extract<"eigs", TDeps[number]> | Extract<"expm", TDeps[number]> | Extract<"sylvester", TDeps[number]> | Extract<"schur", TDeps[number]> | Extract<"lyap", TDeps[number]> | Extract<"identity", TDeps[number]> | Extract<"flatten", TDeps[number]> | Extract<"inv", TDeps[number]> | Extract<"kron", TDeps[number]> | Extract<"ones", TDeps[number]> | Extract<"partitionSelect", TDeps[number]> | Extract<"pinv", TDeps[number]> | Extract<"range", TDeps[number]> | Extract<"reshape", TDeps[number]> | Extract<"resize", TDeps[number]> | Extract<"rotationMatrix", TDeps[number]> | Extract<"row", TDeps[number]> | Extract<"column", TDeps[number]> | Extract<"rotate", TDeps[number]> | Extract<"size", TDeps[number]> | Extract<"sqrtm", TDeps[number]> | Extract<"squeeze", TDeps[number]> | Extract<"subset", TDeps[number]> | Extract<"trace", TDeps[number]> | Extract<"transpose", TDeps[number]> | Extract<"zeros", TDeps[number]> | Extract<"fft", TDeps[number]> | Extract<"ifft", TDeps[number]> | Extract<"combinations", TDeps[number]> | Extract<"factorial", TDeps[number]> | Extract<"gamma", TDeps[number]> | Extract<"kldivergence", TDeps[number]> | Extract<"lgamma", TDeps[number]> | Extract<"multinomial", TDeps[number]> | Extract<"permutations", TDeps[number]> | Extract<"pickRandom", TDeps[number]> | Extract<"random", TDeps[number]> | Extract<"randomInt", TDeps[number]> | Extract<"compare", TDeps[number]> | Extract<"compareNatural", TDeps[number]> | Extract<"compareText", TDeps[number]> | Extract<"deepEqual", TDeps[number]> | Extract<"equal", TDeps[number]> | Extract<"equalText", TDeps[number]> | Extract<"larger", TDeps[number]> | Extract<"largerEq", TDeps[number]> | Extract<"smaller", TDeps[number]> | Extract<"smallerEq", TDeps[number]> | Extract<"unequal", TDeps[number]> | Extract<"setCartesian", TDeps[number]> | Extract<"setDifference", TDeps[number]> | Extract<"setDistinct", TDeps[number]> | Extract<"setIntersect", TDeps[number]> | Extract<"setIsSubset", TDeps[number]> | Extract<"setMultiplicity", TDeps[number]> | Extract<"setPowerset", TDeps[number]> | Extract<"setSize", TDeps[number]> | Extract<"setSymDifference", TDeps[number]> | Extract<"setUnion", TDeps[number]> | Extract<"zpk2tf", TDeps[number]> | Extract<"freqz", TDeps[number]> | Extract<"erf", TDeps[number]> | Extract<"zeta", TDeps[number]> | Extract<"mad", TDeps[number]> | Extract<"max", TDeps[number]> | Extract<"mean", TDeps[number]> | Extract<"median", TDeps[number]> | Extract<"min", TDeps[number]> | Extract<"mode", TDeps[number]> | Extract<"prod", TDeps[number]> | Extract<"quantileSeq", TDeps[number]> | Extract<"std", TDeps[number]> | Extract<"sum", TDeps[number]> | Extract<"count", TDeps[number]> | Extract<"cumsum", TDeps[number]> | Extract<"variance", TDeps[number]> | Extract<"corr", TDeps[number]> | Extract<"format", TDeps[number]> | Extract<"print", TDeps[number]> | Extract<"acos", TDeps[number]> | Extract<"acosh", TDeps[number]> | Extract<"acot", TDeps[number]> | Extract<"acoth", TDeps[number]> | Extract<"acsc", TDeps[number]> | Extract<"acsch", TDeps[number]> | Extract<"asec", TDeps[number]> | Extract<"asech", TDeps[number]> | Extract<"asin", TDeps[number]> | Extract<"asinh", TDeps[number]> | Extract<"atan", TDeps[number]> | Extract<"atan2", TDeps[number]> | Extract<"atanh", TDeps[number]> | Extract<"cos", TDeps[number]> | Extract<"cosh", TDeps[number]> | Extract<"cot", TDeps[number]> | Extract<"coth", TDeps[number]> | Extract<"csc", TDeps[number]> | Extract<"csch", TDeps[number]> | Extract<"sec", TDeps[number]> | Extract<"sech", TDeps[number]> | Extract<"sin", TDeps[number]> | Extract<"sinh", TDeps[number]> | Extract<"tan", TDeps[number]> | Extract<"tanh", TDeps[number]> | Extract<"to", TDeps[number]> | Extract<"isNumber", TDeps[number]> | Extract<"isBigNumber", TDeps[number]> | Extract<"isComplex", TDeps[number]> | Extract<"isFraction", TDeps[number]> | Extract<"isUnit", TDeps[number]> | Extract<"isString", TDeps[number]> | Extract<"isArray", TDeps[number]> | Extract<"isMatrix", TDeps[number]> | Extract<"isCollection", TDeps[number]> | Extract<"isDenseMatrix", TDeps[number]> | Extract<"isSparseMatrix", TDeps[number]> | Extract<"isRange", TDeps[number]> | Extract<"isIndex", TDeps[number]> | Extract<"isBoolean", TDeps[number]> | Extract<"isResultSet", TDeps[number]> | Extract<"isHelp", TDeps[number]> | Extract<"isFunction", TDeps[number]> | Extract<"isDate", TDeps[number]> | Extract<"isRegExp", TDeps[number]> | Extract<"isObject", TDeps[number]> | Extract<"isNull", TDeps[number]> | Extract<"isUndefined", TDeps[number]> | Extract<"isAccessorNode", TDeps[number]> | Extract<"isArrayNode", TDeps[number]> | Extract<"isAssignmentNode", TDeps[number]> | Extract<"isBlockNode", TDeps[number]> | Extract<"isConditionalNode", TDeps[number]> | Extract<"isConstantNode", TDeps[number]> | Extract<"isFunctionAssignmentNode", TDeps[number]> | Extract<"isFunctionNode", TDeps[number]> | Extract<"isIndexNode", TDeps[number]> | Extract<"isNode", TDeps[number]> | Extract<"isObjectNode", TDeps[number]> | Extract<"isOperatorNode", TDeps[number]> | Extract<"isParenthesisNode", TDeps[number]> | Extract<"isRangeNode", TDeps[number]> | Extract<"isRelationalNode", TDeps[number]> | Extract<"isSymbolNode", TDeps[number]> | Extract<"isChain", TDeps[number]> | Extract<"clone", TDeps[number]> | Extract<"hasNumericValue", TDeps[number]> | Extract<"isInteger", TDeps[number]> | Extract<"isNaN", TDeps[number]> | Extract<"isNegative", TDeps[number]> | Extract<"isNumeric", TDeps[number]> | Extract<"isPositive", TDeps[number]> | Extract<"isPrime", TDeps[number]> | Extract<"isZero", TDeps[number]> | Extract<"typeOf", TDeps[number]> | Extract<"Infinity", TDeps[number]> | Extract<"NaN", TDeps[number]> | Extract<"config", TDeps[number]> | Extract<"symbolicEqual", TDeps[number]> | Extract<"import", TDeps[number]>>) => T, meta?: any) => import("mathjs").FactoryFunction; - typed: (name: string, signatures: Record any>) => (...args: any[]) => any; - e: number; - pi: number; - i: number; - LN2: number; - LN10: number; - LOG2E: number; - LOG10E: number; - phi: number; - SQRT1_2: number; - SQRT2: number; - tau: number; - Node: import("mathjs").NodeCtor; - uninitialized: any; - version: string; - expression: import("mathjs").MathNode; - reviver: () => (key: any, value: any) => any; - replacer: () => (key: any, value: any) => any; - bignumber: { - (x?: string | number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): import("mathjs").BigNumber; - (x: T_1): T_1; - }; - boolean: { - (x: string | number | boolean | null): boolean; - (x: import("mathjs").MathCollection): import("mathjs").MathCollection; - }; - chain: (value?: TValue | undefined) => import("mathjs").MathJsChain; - complex: { - (arg?: string | import("mathjs").MathNumericType | import("mathjs").PolarCoordinates | undefined): import("mathjs").Complex; - (arg?: import("mathjs").MathCollection | undefined): import("mathjs").MathCollection; - (re: number, im: number): import("mathjs").Complex; - }; - createUnit: { - (name: string, definition?: string | import("mathjs").Unit | import("mathjs").UnitDefinition | undefined, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit; - (units: Record, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit; - }; - fraction: { - (value: string | number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").FractionDefinition): import("mathjs").Fraction; - (values: import("mathjs").MathCollection): import("mathjs").MathCollection; - (numerator: number, denominator: number): import("mathjs").Fraction; - }; - index: (...ranges: any[]) => import("mathjs").Index; - matrix: { - (format?: "sparse" | "dense" | undefined): import("mathjs").Matrix; - (data: string[] | import("mathjs").MathCollection, format?: "sparse" | "dense" | undefined, dataType?: string | undefined): import("mathjs").Matrix; - }; - number: { - (value?: string | number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): number; - (value?: import("mathjs").MathCollection | undefined): number | import("mathjs").MathCollection; - (unit: import("mathjs").Unit, valuelessUnit: string | import("mathjs").Unit): number; - }; - sparse: (data?: import("mathjs").MathCollection | undefined, dataType?: string | undefined) => import("mathjs").Matrix; - splitUnit: (unit: import("mathjs").Unit, parts: import("mathjs").Unit[]) => import("mathjs").Unit[]; - string: { - (value: string | import("mathjs").MathNumericType | import("mathjs").Unit | null): string; - (value: import("mathjs").MathCollection): import("mathjs").MathCollection; - }; - unit: { - (unit: string): import("mathjs").Unit; - (unit: import("mathjs").Unit): import("mathjs").Unit; - (value: import("mathjs").MathNumericType, unit: string): import("mathjs").Unit; - (value: import("mathjs").MathCollection, unit: string): import("mathjs").Unit[]; - }; - compile: { - (expr: import("mathjs").MathExpression): import("mathjs").EvalFunction; - (exprs: import("mathjs").MathExpression[]): import("mathjs").EvalFunction[]; - }; - evaluate: { - (expr: import("mathjs").MathExpression, scope?: object | undefined): any; - (expr: import("mathjs").MathExpression[], scope?: object | undefined): any[]; - }; - help: (search: () => any) => import("mathjs").Help; - parse: import("mathjs").ParseFunction; - parser: () => import("mathjs").Parser; - derivative: (expr: string | import("mathjs").MathNode, variable: string | import("mathjs").MathNode, options?: { - simplify: boolean; - } | undefined) => import("mathjs").MathNode; - lsolve: { - (L: import("mathjs").Matrix, b: import("mathjs").MathCollection): import("mathjs").Matrix; - (L: import("mathjs").MathArray, b: import("mathjs").MathCollection): import("mathjs").MathArray; - }; - lup: (A?: import("mathjs").MathCollection | undefined) => import("mathjs").LUDecomposition; - lusolve: { - (A: import("mathjs").Matrix, b: import("mathjs").MathCollection, order?: number | undefined, threshold?: number | undefined): import("mathjs").Matrix; - (A: import("mathjs").MathArray, b: import("mathjs").MathCollection, order?: number | undefined, threshold?: number | undefined): import("mathjs").MathArray; - (A: import("mathjs").LUDecomposition, b: import("mathjs").MathCollection): import("mathjs").Matrix; - }; - polynomialRoot: (constantCoeff: number | import("mathjs").Complex, linearCoeff: number | import("mathjs").Complex, quadraticCoeff?: number | import("mathjs").Complex | undefined, cubicCoeff?: number | import("mathjs").Complex | undefined) => (number | import("mathjs").Complex)[]; - qr: (A: import("mathjs").MathCollection) => import("mathjs").QRDecomposition; - rationalize: { - (expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: false | undefined): import("mathjs").MathNode; - (expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: true | undefined): { - expression: string | import("mathjs").MathNode; - variables: string[]; - coefficients: import("mathjs").MathType[]; - }; - }; - simplify: import("mathjs").Simplify; - simplifyConstant: (expr: string | import("mathjs").MathNode, options?: import("mathjs").SimplifyOptions | undefined) => import("mathjs").MathNode; - simplifyCore: (expr: string | import("mathjs").MathNode, options?: import("mathjs").SimplifyOptions | undefined) => import("mathjs").MathNode; - resolve: { - (node: string | import("mathjs").MathNode, scope?: Record | undefined): import("mathjs").MathNode; - (node: (string | import("mathjs").MathNode)[], scope?: Record | undefined): import("mathjs").MathNode[]; - (node: import("mathjs").Matrix, scope?: Record | undefined): import("mathjs").Matrix; - }; - slu: (A: import("mathjs").Matrix, order: number, threshold: number) => import("mathjs").SLUDecomposition; - usolve: { - (U: import("mathjs").Matrix, b: import("mathjs").MathCollection): import("mathjs").Matrix; - (U: import("mathjs").MathArray, b: import("mathjs").MathCollection): import("mathjs").MathArray; - }; - abs: (x: T_2) => T_2; - add: { - (x: T_3, y: T_3): T_3; - (...values: T_4[]): T_4; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - (...values: import("mathjs").MathType[]): import("mathjs").MathType; - }; - cbrt: { - (x: import("mathjs").Complex, allRoots?: boolean | undefined): import("mathjs").Complex; - (x: T_5): T_5; - }; - ceil: { - (x: T_6, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U): U; - }; - fix: { - (x: T_7, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_1): U_1; - }; - floor: { - (x: T_8, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_2): U_2; - }; - round: { - (x: T_9, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_3): U_3; - (x: U_4, unit: import("mathjs").Unit): U_4; - (x: import("mathjs").Unit, unit: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").Unit, n: number | import("mathjs").BigNumber, unit: import("mathjs").Unit): import("mathjs").Unit; - (x: U_5, n: number | import("mathjs").BigNumber, unit: import("mathjs").Unit): U_5; - }; - cube: (x: T_10) => T_10; - divide: { - (x: import("mathjs").Unit, y: import("mathjs").Unit): number | import("mathjs").Unit; - (x: import("mathjs").Unit, y: number): import("mathjs").Unit; - (x: number, y: number): number; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - }; - dotDivide: { - (x: T_11, y: import("mathjs").MathType): T_11; - (x: import("mathjs").MathType, y: T_12): T_12; - (x: import("mathjs").Unit, y: import("mathjs").MathType): import("mathjs").Unit; - (x: import("mathjs").MathType, y: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").MathNumericType, y: import("mathjs").MathNumericType): import("mathjs").MathNumericType; - }; - dotMultiply: { - (x: T_13, y: import("mathjs").MathType): T_13; - (x: import("mathjs").MathType, y: T_14): T_14; - (x: import("mathjs").Unit, y: import("mathjs").MathType): import("mathjs").Unit; - (x: import("mathjs").MathType, y: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").MathNumericType, y: import("mathjs").MathNumericType): import("mathjs").MathNumericType; - }; - dotPow: (x: T_15, y: import("mathjs").MathType) => T_15; - exp: (x: T_16) => T_16; - expm1: (x: T_17) => T_17; - gcd: { - (...args: T_18[]): T_18; - (args: T_19[]): T_19; - }; - hypot: { - (...args: T_20[]): T_20; - (args: T_21[]): T_21; - }; - lcm: (a: T_22, b: T_22) => T_22; - log: (x: T_23, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined) => import("mathjs").NoLiteralType; - log10: (x: T_24) => T_24; - log1p: (x: T_25, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined) => T_25; - log2: (x: T_26) => T_26; - multiply: { - (x: T_27, y: import("mathjs").MathType): import("mathjs").Matrix; - (x: import("mathjs").MathType, y: T_28): import("mathjs").Matrix; - (x: T_29, y: T_29[]): T_29; - (x: T_30[], y: T_30): T_30; - (x: T_31, y: T_31): T_31; - (x: import("mathjs").Unit, y: import("mathjs").Unit): import("mathjs").Unit; - (x: number, y: number): number; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - (...values: T_32[]): T_32; - (...values: import("mathjs").MathType[]): import("mathjs").MathType; - }; - norm: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").MathCollection, p?: string | number | import("mathjs").BigNumber | undefined) => number | import("mathjs").BigNumber; - nthRoot: (a: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").MathCollection, root?: number | import("mathjs").BigNumber | undefined) => number | import("mathjs").Complex | import("mathjs").MathCollection; - pow: (x: import("mathjs").MathType, y: number | import("mathjs").BigNumber | import("mathjs").Complex) => import("mathjs").MathType; - sign: (x: T_33) => T_33; - sqrt: { - (x: number): number | import("mathjs").Complex; - (x: T_34): T_34; - }; - square: (x: T_35) => T_35; - subtract: { - (x: T_36, y: T_36): T_36; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - }; - unaryMinus: (x: T_37) => T_37; - unaryPlus: (x: T_38) => T_38; - xgcd: (a: number | import("mathjs").BigNumber, b: number | import("mathjs").BigNumber) => import("mathjs").MathArray; - bitAnd: (x: T_39, y: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => import("mathjs").NoLiteralType; - bitNot: (x: T_40) => T_40; - bitOr: (x: T_41, y: T_41) => T_41; - bitXor: (x: T_42, y: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => import("mathjs").NoLiteralType; - leftShift: (x: T_43, y: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - rightArithShift: (x: T_44, y: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - rightLogShift: (x: T_45, y: number) => import("mathjs").NoLiteralType; - bellNumbers: (n: T_46) => T_46; - catalan: (n: T_47) => T_47; - composition: (n: T_48, k: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - stirlingS2: (n: T_49, k: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - arg: { - (x: number | import("mathjs").Complex): number; - (x: import("mathjs").BigNumber | import("mathjs").Complex): import("mathjs").BigNumber; - (x: T_50): T_50; - }; - conj: (x: T_51) => import("mathjs").NoLiteralType; - im: { - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - }; - re: { - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - }; - distance: (x: object | import("mathjs").MathCollection, y: object | import("mathjs").MathCollection, z?: object | import("mathjs").MathCollection | undefined) => number | import("mathjs").BigNumber; - intersect: (w: import("mathjs").MathCollection, x: import("mathjs").MathCollection, y: import("mathjs").MathCollection, z?: import("mathjs").MathCollection | undefined) => import("mathjs").MathArray; - and: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - not: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - or: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - xor: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - apply: (array: T_54, dim: number, callback: (array: import("mathjs").MathCollection) => number) => T_54; - concat: (...args: (number | import("mathjs").BigNumber | import("mathjs").MathCollection)[]) => import("mathjs").MathCollection; - cross: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").MathCollection; - det: (x: import("mathjs").MathCollection) => number; - diag: { - (X: import("mathjs").MathCollection, format?: string | undefined): import("mathjs").Matrix; - (X: import("mathjs").MathCollection, k: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - dot: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => number; - eigs: { - (x: import("mathjs").MathCollection, opts?: number | import("mathjs").BigNumber | { - precision?: number | import("mathjs").BigNumber | undefined; - eigenvectors?: true | undefined; - } | undefined): { - values: import("mathjs").MathCollection; - eigenvectors: { - value: number | import("mathjs").BigNumber; - vector: import("mathjs").MathCollection; - }[]; - }; - (x: import("mathjs").MathCollection, opts: { - eigenvectors: false; - precision?: number | import("mathjs").BigNumber | undefined; - }): { - values: import("mathjs").MathCollection; - }; - }; - expm: (x: import("mathjs").Matrix) => import("mathjs").Matrix; - sylvester: (A: import("mathjs").MathCollection, B: import("mathjs").MathCollection, C: import("mathjs").MathCollection) => import("mathjs").MathCollection; - schur: (A: import("mathjs").MathCollection) => import("mathjs").SchurDecomposition; - lyap: (A: import("mathjs").MathCollection, Q: import("mathjs").MathCollection) => import("mathjs").MathCollection; - identity: { - (size: number | number[] | import("mathjs").MathCollection, format?: string | undefined): number | import("mathjs").MathCollection; - (m: number, n: number, format?: string | undefined): number | import("mathjs").MathCollection; - }; - filter: (x: string[] | import("mathjs").MathCollection, test: RegExp | ((value: any, index: any, matrix: string[] | import("mathjs").MathCollection) => boolean)) => import("mathjs").MathCollection; - flatten: (x: T_55) => T_55; - forEach: (x: T_56, callback: (value: any, index: any, matrix: T_56) => void) => void; - inv: (x: T_57) => import("mathjs").NoLiteralType; - kron: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").Matrix; - map: (x: T_58, callback: (value: any, index: any, matrix: T_58) => string | import("mathjs").MathType) => T_58; - ones: { - (size?: number | number[] | import("mathjs").BigNumber | import("mathjs").BigNumber[] | undefined, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, p: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - partitionSelect: (x: import("mathjs").MathCollection, k: number, compare?: "asc" | "desc" | ((a: any, b: any) => number) | undefined) => any; - pinv: (x: T_59) => T_59; - range: { - (str: string, includeEnd?: boolean | undefined): import("mathjs").Matrix; - (start: number | import("mathjs").BigNumber, end: number | import("mathjs").BigNumber, includeEnd?: boolean | undefined): import("mathjs").Matrix; - (start: number | import("mathjs").BigNumber | import("mathjs").Unit, end: number | import("mathjs").BigNumber | import("mathjs").Unit, step: number | import("mathjs").BigNumber | import("mathjs").Unit, includeEnd?: boolean | undefined): import("mathjs").Matrix; - }; - reshape: (x: T_60, sizes: number[]) => T_60; - resize: (x: T_61, size: import("mathjs").MathCollection, defaultValue?: string | number | undefined) => T_61; - rotationMatrix: (theta?: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | undefined, axis?: T_62 | undefined, format?: "sparse" | "dense" | undefined) => T_62; - row: (value: T_63, row: number) => T_63; - column: (value: T_64, column: number) => T_64; - rotate: (w: T_65, theta: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit, v?: T_65 | undefined) => T_65; - size: (x: string | number | boolean | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => import("mathjs").MathCollection; - sort: (x: T_66, compare: "asc" | "desc" | ((a: any, b: any) => number) | "natural") => T_66; - sqrtm: (A: T_67) => T_67; - squeeze: (x: T_68) => T_68; - subset: (value: T_69, index: import("mathjs").Index, replacement?: any, defaultValue?: any) => T_69; - trace: (x: import("mathjs").MathCollection) => number; - transpose: (x: T_70) => T_70; - zeros: { - (size?: number | number[] | import("mathjs").BigNumber | import("mathjs").BigNumber[] | undefined, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, p: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - fft: (arr: T_71) => T_71; - ifft: (arr: T_72) => T_72; - factorial: (n: T_73) => import("mathjs").NoLiteralType; - gamma: (n: T_74) => import("mathjs").NoLiteralType; - kldivergence: (q: import("mathjs").MathCollection, p: import("mathjs").MathCollection) => number; - lgamma: (n: T_75) => import("mathjs").NoLiteralType; - multinomial: (a: T_76[]) => import("mathjs").NoLiteralType; - permutations: (n: T_77, k?: number | import("mathjs").BigNumber | undefined) => import("mathjs").NoLiteralType; - pickRandom: { - (array: T_78[]): T_78; - (array: T_79[], number: number): T_79[]; - (array: T_80[], number: number, weights: number[]): T_80[]; - }; - random: { - (min?: number | undefined, max?: number | undefined): number; - (size: T_81, min?: number | undefined, max?: number | undefined): T_81; - }; - randomInt: { - (min: number, max?: number | undefined): number; - (size: T_82, min?: number | undefined, max?: number | undefined): T_82; - }; - compare: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").MathCollection; - compareNatural: (x: any, y: any) => number; - compareText: (x: string | import("mathjs").MathCollection, y: string | import("mathjs").MathCollection) => number | import("mathjs").MathCollection; - deepEqual: (x: import("mathjs").MathType, y: import("mathjs").MathType) => import("mathjs").MathType; - equal: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - equalText: (x: string | import("mathjs").MathCollection, y: string | import("mathjs").MathCollection) => number | import("mathjs").MathCollection; - larger: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - largerEq: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - smaller: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - smallerEq: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - unequal: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - setCartesian: (a1: T_83, a2: import("mathjs").MathCollection) => T_83; - setDifference: (a1: T_84, a2: import("mathjs").MathCollection) => T_84; - setDistinct: (a: T_85) => T_85; - setIntersect: (a1: T_86, a2: import("mathjs").MathCollection) => T_86; - setIsSubset: (a1: import("mathjs").MathCollection, a2: import("mathjs").MathCollection) => boolean; - setMultiplicity: (e: import("mathjs").MathNumericType, a: import("mathjs").MathCollection) => number; - setPowerset: (a: T_87) => T_87; - setSize: (a: import("mathjs").MathCollection) => number; - setSymDifference: (a1: T_88, a2: import("mathjs").MathCollection) => T_88; - setUnion: (a1: T_89, a2: import("mathjs").MathCollection) => T_89; - zpk2tf: (z: T_90, p: T_90, k?: number | undefined) => T_90; - freqz: (b: T_91, a: T_91, w?: number | T_91 | undefined) => { - w: T_91; - h: T_91; - }; - erf: (x: T_92) => import("mathjs").NoLiteralType; - zeta: (s: T_93) => T_93; - mad: (array: import("mathjs").MathCollection) => any; - max: { - (...args: T_94[]): T_94; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_95[] | T_95[][], dimension?: number | import("mathjs").BigNumber | undefined): T_95; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - mean: { - (...args: T_96[]): T_96; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_97[] | T_97[][], dimension?: number | import("mathjs").BigNumber | undefined): T_97; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - median: { - (...args: T_98[]): T_98; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_99[] | T_99[][]): T_99; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType; - }; - min: { - (...args: T_100[]): T_100; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_101[] | T_101[][], dimension?: number | import("mathjs").BigNumber | undefined): T_101; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - mode: { - (...args: T_102[]): T_102[]; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType[]; - (A: T_103[] | T_103[][]): T_103[]; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType[]; - }; - prod: { - (...args: T_104[]): T_104; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_105[] | T_105[][]): T_105; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType; - }; - quantileSeq: { - (A: T_106[] | T_106[][], prob: number | import("mathjs").BigNumber | import("mathjs").MathArray, sorted?: boolean | undefined): T_106; - (A: import("mathjs").MathCollection, prob: number | import("mathjs").BigNumber | import("mathjs").MathArray, sorted?: boolean | undefined): import("mathjs").MathScalarType | import("mathjs").MathArray; - }; - std: { - (...args: T_107[]): T_107; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (array: import("mathjs").MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): import("mathjs").MathNumericType[]; - (array: import("mathjs").MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): import("mathjs").MathNumericType; - }; - sum: { - (...args: T_108[]): T_108; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_109[] | T_109[][], dimension?: number | import("mathjs").BigNumber | undefined): T_109; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - count: (x: string | import("mathjs").MathCollection) => number; - cumsum: { - (...args: import("mathjs").MathType[]): import("mathjs").MathType[]; - (array: import("mathjs").MathCollection, dim?: number | undefined): import("mathjs").MathCollection; - }; - variance: { - (...args: import("mathjs").MathNumericType[]): import("mathjs").MathNumericType; - (array: import("mathjs").MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): import("mathjs").MathNumericType[]; - (array: import("mathjs").MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): import("mathjs").MathNumericType; - }; - corr: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").MathType; - format: (value: any, options?: number | import("mathjs").BigNumber | import("mathjs").FormatOptions | ((item: any) => string) | undefined, callback?: ((value: any) => string) | undefined) => string; - print: (template: string, values: any, precision?: number | undefined, options?: number | object | undefined) => void; - acos: { - (x: number): number | import("mathjs").Complex; - (x: T_110): T_110; - }; - acosh: { - (x: number): number | import("mathjs").Complex; - (x: T_111): T_111; - }; - acot: { - (x: number): number; - (x: T_112): T_112; - }; - acoth: { - (x: number): number; - (x: T_113): T_113; - }; - acsc: { - (x: number): number | import("mathjs").Complex; - (x: T_114): T_114; - }; - acsch: { - (x: number): number; - (x: T_115): T_115; - }; - asec: { - (x: number): number | import("mathjs").Complex; - (x: T_116): T_116; - }; - asech: { - (x: number): number | import("mathjs").Complex; - (x: T_117): T_117; - }; - asin: { - (x: number): number | import("mathjs").Complex; - (x: T_118): T_118; - }; - asinh: (x: T_119) => T_119; - atan: (x: T_120) => T_120; - atan2: (y: T_121, x: T_121) => T_121; - atanh: { - (x: number): number | import("mathjs").Complex; - (x: T_122): T_122; - }; - cos: { - (x: number | import("mathjs").Unit): number; - (x: T_123): T_123; - }; - cosh: { - (x: number | import("mathjs").Unit): number; - (x: T_124): T_124; - }; - cot: { - (x: number | import("mathjs").Unit): number; - (x: T_125): T_125; - }; - coth: { - (x: number | import("mathjs").Unit): number; - (x: T_126): T_126; - }; - csc: { - (x: number | import("mathjs").Unit): number; - (x: T_127): T_127; - }; - csch: { - (x: number | import("mathjs").Unit): number; - (x: T_128): T_128; - }; - sec: { - (x: number | import("mathjs").Unit): number; - (x: T_129): T_129; - }; - sech: { - (x: number | import("mathjs").Unit): number; - (x: T_130): T_130; - }; - sin: { - (x: number | import("mathjs").Unit): number; - (x: T_131): T_131; - }; - sinh: { - (x: number | import("mathjs").Unit): number; - (x: T_132): T_132; - }; - tan: { - (x: number | import("mathjs").Unit): number; - (x: T_133): T_133; - }; - tanh: { - (x: number | import("mathjs").Unit): number; - (x: T_134): T_134; - }; - to: (x: import("mathjs").Unit | import("mathjs").MathCollection, unit: string | import("mathjs").Unit) => import("mathjs").Unit | import("mathjs").MathCollection; - isNumber: (x: unknown) => x is number; - isBigNumber: (x: unknown) => x is import("mathjs").BigNumber; - isComplex: (x: unknown) => x is import("mathjs").Complex; - isFraction: (x: unknown) => x is import("mathjs").Fraction; - isUnit: (x: unknown) => x is import("mathjs").Unit; - isString: (x: unknown) => x is string; - isArray: (arg: any) => arg is any[]; - isMatrix: (x: unknown) => x is import("mathjs").Matrix; - isCollection: (x: unknown) => x is any[] | import("mathjs").Matrix; - isDenseMatrix: (x: unknown) => x is import("mathjs").Matrix; - isSparseMatrix: (x: unknown) => x is import("mathjs").Matrix; - isRange: (x: unknown) => boolean; - isIndex: (x: unknown) => x is import("mathjs").Index; - isBoolean: (x: unknown) => x is boolean; - isResultSet: (x: unknown) => boolean; - isHelp: (x: unknown) => x is import("mathjs").Help; - isFunction: (x: unknown) => boolean; - isDate: (x: unknown) => x is Date; - isRegExp: (x: unknown) => x is RegExp; - isObject: (x: unknown) => boolean; - isNull: (x: unknown) => x is null; - isUndefined: (x: unknown) => x is undefined; - isAccessorNode: (x: unknown) => x is import("mathjs").AccessorNode; - isArrayNode: (x: unknown) => x is import("mathjs").ArrayNode; - isAssignmentNode: (x: unknown) => x is import("mathjs").AssignmentNode; - isBlockNode: (x: unknown) => x is import("mathjs").BlockNode; - isConditionalNode: (x: unknown) => x is import("mathjs").ConditionalNode; - isConstantNode: (x: unknown) => x is import("mathjs").ConstantNode; - isFunctionAssignmentNode: (x: unknown) => x is import("mathjs").FunctionAssignmentNode; - isFunctionNode: (x: unknown) => x is import("mathjs").FunctionNode; - isIndexNode: (x: unknown) => x is import("mathjs").IndexNode; - isNode: (x: unknown) => x is import("mathjs").MathNode; - isObjectNode: (x: unknown) => x is import("mathjs").ObjectNode>; - isOperatorNode: (x: unknown) => x is import("mathjs").OperatorNode; - isParenthesisNode: (x: unknown) => x is import("mathjs").ParenthesisNode; - isRangeNode: (x: unknown) => x is import("mathjs").RangeNode; - isRelationalNode: (x: unknown) => x is import("mathjs").RelationalNode; - isSymbolNode: (x: unknown) => x is import("mathjs").SymbolNode; - isChain: (x: unknown) => x is import("mathjs").MathJsChain; - clone: (x: TType) => TType; - hasNumericValue: (x: any) => boolean | boolean[]; - isInteger: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").MathCollection) => boolean; - isNaN: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isNegative: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isNumeric: (x: any) => x is number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction; - isPositive: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isPrime: (x: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => boolean; - isZero: (x: import("mathjs").MathType) => boolean; - typeOf: (x: any) => string; - }; - object: typeof object; - selector: typeof selector; - specific: typeof specific; - str: typeof str; - tree: typeof tree; - url: typeof url; - uuid: typeof uuid; - assertion: typeof assertion; - yaml: typeof yaml; -}; -export declare const Utils: { - array: typeof array; - cls: typeof cls; - clone: typeof clone; - constants: typeof constants; - hash: typeof hash; - math: { - PI: number; - trunc: (x: number) => number; - product: (v1: number[], v2: number[]) => number | number[]; - vlen: (v: number[]) => number; - angle: (a: number[], b: number[], unit: string) => number; - angleUpTo90: (a: number[], b: number[], unit: string) => number; - vDist: (v1: number[], v2: number[]) => number; - vEqualWithTolerance: (vec1: number[], vec2: number[], tolerance?: number) => boolean; - roundToZero: (n: number) => number; - precise: (x: number, n?: number) => number; - mod: (num: number, tolerance?: number) => number; - isBetweenZeroInclusiveAndOne: (number: number, tolerance?: number) => boolean; - cartesianProduct: (...arg: number[][]) => number[][]; - almostEqual: (a: number, b: number, tolerance?: number) => boolean; - combinations: (a: number, b: number, c: number) => number[][]; - combinationsFromIntervals: (arrA: number[], arrB: number[], arrC: number[]) => number[][]; - calculateSegmentsBetweenPoints3D: (point1: (string | number)[], point2: (string | number)[], n: string | number) => number[][]; - roundValueToNDecimals: (value: number, decimals?: number) => number; - numberToPrecision: typeof import("./shared/math").numberToPrecision; - roundCustom: (value: number, decimals?: number, mode?: import("decimal.js").default.Rounding) => number; - RoundingMethod: { - Bankers: 6; - HalfAwayFromZero: 4; - }; - roundArrayOrNumber: (value: unknown, decimals?: number, mode?: import("decimal.js").default.Rounding) => unknown; - AccessorNode: import("mathjs").AccessorNodeCtor; - ArrayNode: import("mathjs").ArrayNodeCtor; - AssignmentNode: import("mathjs").AssignmentNodeCtor; - BlockNode: import("mathjs").BlockNodeCtor; - ConditionalNode: import("mathjs").ConditionalNodeCtor; - ConstantNode: import("mathjs").ConstantNodeCtor; - FunctionAssignmentNode: import("mathjs").FunctionAssignmentNodeCtor; - FunctionNode: import("mathjs").FunctionNodeCtor; - IndexNode: import("mathjs").IndexNodeCtor; - ObjectNode: import("mathjs").ObjectNodeCtor; - OperatorNode: import("mathjs").OperatorNodeCtor; - ParenthesisNode: import("mathjs").ParenthesisNodeCtor; - RangeNode: import("mathjs").RangeNodeCtor; - RelationalNode: import("mathjs").RelationalNodeCtor; - SymbolNode: import("mathjs").SymbolNodeCtor; - all: import("mathjs").FactoryFunctionMap; - typedDependencies: import("mathjs").FactoryFunctionMap; - ResultSetDependencies: import("mathjs").FactoryFunctionMap; - BigNumberDependencies: import("mathjs").FactoryFunctionMap; - ComplexDependencies: import("mathjs").FactoryFunctionMap; - FractionDependencies: import("mathjs").FactoryFunctionMap; - RangeDependencies: import("mathjs").FactoryFunctionMap; - MatrixDependencies: import("mathjs").FactoryFunctionMap; - DenseMatrixDependencies: import("mathjs").FactoryFunctionMap; - cloneDependencies: import("mathjs").FactoryFunctionMap; - isIntegerDependencies: import("mathjs").FactoryFunctionMap; - isNegativeDependencies: import("mathjs").FactoryFunctionMap; - isNumericDependencies: import("mathjs").FactoryFunctionMap; - hasNumericValueDependencies: import("mathjs").FactoryFunctionMap; - isPositiveDependencies: import("mathjs").FactoryFunctionMap; - isZeroDependencies: import("mathjs").FactoryFunctionMap; - isNaNDependencies: import("mathjs").FactoryFunctionMap; - typeOfDependencies: import("mathjs").FactoryFunctionMap; - typeofDependencies: import("mathjs").FactoryFunctionMap; - equalScalarDependencies: import("mathjs").FactoryFunctionMap; - SparseMatrixDependencies: import("mathjs").FactoryFunctionMap; - numberDependencies: import("mathjs").FactoryFunctionMap; - stringDependencies: import("mathjs").FactoryFunctionMap; - booleanDependencies: import("mathjs").FactoryFunctionMap; - bignumberDependencies: import("mathjs").FactoryFunctionMap; - complexDependencies: import("mathjs").FactoryFunctionMap; - fractionDependencies: import("mathjs").FactoryFunctionMap; - matrixDependencies: import("mathjs").FactoryFunctionMap; - splitUnitDependencies: import("mathjs").FactoryFunctionMap; - unaryMinusDependencies: import("mathjs").FactoryFunctionMap; - unaryPlusDependencies: import("mathjs").FactoryFunctionMap; - absDependencies: import("mathjs").FactoryFunctionMap; - applyDependencies: import("mathjs").FactoryFunctionMap; - addScalarDependencies: import("mathjs").FactoryFunctionMap; - cbrtDependencies: import("mathjs").FactoryFunctionMap; - ceilDependencies: import("mathjs").FactoryFunctionMap; - cubeDependencies: import("mathjs").FactoryFunctionMap; - expDependencies: import("mathjs").FactoryFunctionMap; - expm1Dependencies: import("mathjs").FactoryFunctionMap; - fixDependencies: import("mathjs").FactoryFunctionMap; - floorDependencies: import("mathjs").FactoryFunctionMap; - gcdDependencies: import("mathjs").FactoryFunctionMap; - lcmDependencies: import("mathjs").FactoryFunctionMap; - log10Dependencies: import("mathjs").FactoryFunctionMap; - log2Dependencies: import("mathjs").FactoryFunctionMap; - modDependencies: import("mathjs").FactoryFunctionMap; - multiplyScalarDependencies: import("mathjs").FactoryFunctionMap; - multiplyDependencies: import("mathjs").FactoryFunctionMap; - nthRootDependencies: import("mathjs").FactoryFunctionMap; - signDependencies: import("mathjs").FactoryFunctionMap; - sqrtDependencies: import("mathjs").FactoryFunctionMap; - squareDependencies: import("mathjs").FactoryFunctionMap; - subtractDependencies: import("mathjs").FactoryFunctionMap; - xgcdDependencies: import("mathjs").FactoryFunctionMap; - dotMultiplyDependencies: import("mathjs").FactoryFunctionMap; - bitAndDependencies: import("mathjs").FactoryFunctionMap; - bitNotDependencies: import("mathjs").FactoryFunctionMap; - bitOrDependencies: import("mathjs").FactoryFunctionMap; - bitXorDependencies: import("mathjs").FactoryFunctionMap; - argDependencies: import("mathjs").FactoryFunctionMap; - conjDependencies: import("mathjs").FactoryFunctionMap; - imDependencies: import("mathjs").FactoryFunctionMap; - reDependencies: import("mathjs").FactoryFunctionMap; - notDependencies: import("mathjs").FactoryFunctionMap; - orDependencies: import("mathjs").FactoryFunctionMap; - xorDependencies: import("mathjs").FactoryFunctionMap; - concatDependencies: import("mathjs").FactoryFunctionMap; - columnDependencies: import("mathjs").FactoryFunctionMap; - crossDependencies: import("mathjs").FactoryFunctionMap; - diagDependencies: import("mathjs").FactoryFunctionMap; - eyeDependencies: import("mathjs").FactoryFunctionMap; - filterDependencies: import("mathjs").FactoryFunctionMap; - flattenDependencies: import("mathjs").FactoryFunctionMap; - forEachDependencies: import("mathjs").FactoryFunctionMap; - getMatrixDataTypeDependencies: import("mathjs").FactoryFunctionMap; - identityDependencies: import("mathjs").FactoryFunctionMap; - kronDependencies: import("mathjs").FactoryFunctionMap; - mapDependencies: import("mathjs").FactoryFunctionMap; - onesDependencies: import("mathjs").FactoryFunctionMap; - rangeDependencies: import("mathjs").FactoryFunctionMap; - reshapeDependencies: import("mathjs").FactoryFunctionMap; - resizeDependencies: import("mathjs").FactoryFunctionMap; - rowDependencies: import("mathjs").FactoryFunctionMap; - sizeDependencies: import("mathjs").FactoryFunctionMap; - squeezeDependencies: import("mathjs").FactoryFunctionMap; - subsetDependencies: import("mathjs").FactoryFunctionMap; - transposeDependencies: import("mathjs").FactoryFunctionMap; - ctransposeDependencies: import("mathjs").FactoryFunctionMap; - zerosDependencies: import("mathjs").FactoryFunctionMap; - erfDependencies: import("mathjs").FactoryFunctionMap; - modeDependencies: import("mathjs").FactoryFunctionMap; - prodDependencies: import("mathjs").FactoryFunctionMap; - formatDependencies: import("mathjs").FactoryFunctionMap; - printDependencies: import("mathjs").FactoryFunctionMap; - toDependencies: import("mathjs").FactoryFunctionMap; - isPrimeDependencies: import("mathjs").FactoryFunctionMap; - numericDependencies: import("mathjs").FactoryFunctionMap; - divideScalarDependencies: import("mathjs").FactoryFunctionMap; - powDependencies: import("mathjs").FactoryFunctionMap; - roundDependencies: import("mathjs").FactoryFunctionMap; - logDependencies: import("mathjs").FactoryFunctionMap; - log1pDependencies: import("mathjs").FactoryFunctionMap; - nthRootsDependencies: import("mathjs").FactoryFunctionMap; - dotPowDependencies: import("mathjs").FactoryFunctionMap; - dotDivideDependencies: import("mathjs").FactoryFunctionMap; - lsolveDependencies: import("mathjs").FactoryFunctionMap; - usolveDependencies: import("mathjs").FactoryFunctionMap; - leftShiftDependencies: import("mathjs").FactoryFunctionMap; - rightArithShiftDependencies: import("mathjs").FactoryFunctionMap; - rightLogShiftDependencies: import("mathjs").FactoryFunctionMap; - andDependencies: import("mathjs").FactoryFunctionMap; - compareDependencies: import("mathjs").FactoryFunctionMap; - compareNaturalDependencies: import("mathjs").FactoryFunctionMap; - compareTextDependencies: import("mathjs").FactoryFunctionMap; - equalDependencies: import("mathjs").FactoryFunctionMap; - equalTextDependencies: import("mathjs").FactoryFunctionMap; - smallerDependencies: import("mathjs").FactoryFunctionMap; - smallerEqDependencies: import("mathjs").FactoryFunctionMap; - largerDependencies: import("mathjs").FactoryFunctionMap; - largerEqDependencies: import("mathjs").FactoryFunctionMap; - deepEqualDependencies: import("mathjs").FactoryFunctionMap; - unequalDependencies: import("mathjs").FactoryFunctionMap; - partitionSelectDependencies: import("mathjs").FactoryFunctionMap; - sortDependencies: import("mathjs").FactoryFunctionMap; - maxDependencies: import("mathjs").FactoryFunctionMap; - minDependencies: import("mathjs").FactoryFunctionMap; - ImmutableDenseMatrixDependencies: import("mathjs").FactoryFunctionMap; - IndexDependencies: import("mathjs").FactoryFunctionMap; - FibonacciHeapDependencies: import("mathjs").FactoryFunctionMap; - SpaDependencies: import("mathjs").FactoryFunctionMap; - UnitDependencies: import("mathjs").FactoryFunctionMap; - unitDependencies: import("mathjs").FactoryFunctionMap; - sparseDependencies: import("mathjs").FactoryFunctionMap; - createUnitDependencies: import("mathjs").FactoryFunctionMap; - acosDependencies: import("mathjs").FactoryFunctionMap; - acoshDependencies: import("mathjs").FactoryFunctionMap; - acotDependencies: import("mathjs").FactoryFunctionMap; - acothDependencies: import("mathjs").FactoryFunctionMap; - acscDependencies: import("mathjs").FactoryFunctionMap; - acschDependencies: import("mathjs").FactoryFunctionMap; - asecDependencies: import("mathjs").FactoryFunctionMap; - asechDependencies: import("mathjs").FactoryFunctionMap; - asinDependencies: import("mathjs").FactoryFunctionMap; - asinhDependencies: import("mathjs").FactoryFunctionMap; - atanDependencies: import("mathjs").FactoryFunctionMap; - atan2Dependencies: import("mathjs").FactoryFunctionMap; - atanhDependencies: import("mathjs").FactoryFunctionMap; - cosDependencies: import("mathjs").FactoryFunctionMap; - coshDependencies: import("mathjs").FactoryFunctionMap; - cotDependencies: import("mathjs").FactoryFunctionMap; - cothDependencies: import("mathjs").FactoryFunctionMap; - cscDependencies: import("mathjs").FactoryFunctionMap; - cschDependencies: import("mathjs").FactoryFunctionMap; - secDependencies: import("mathjs").FactoryFunctionMap; - sechDependencies: import("mathjs").FactoryFunctionMap; - sinDependencies: import("mathjs").FactoryFunctionMap; - sinhDependencies: import("mathjs").FactoryFunctionMap; - tanDependencies: import("mathjs").FactoryFunctionMap; - tanhDependencies: import("mathjs").FactoryFunctionMap; - setCartesianDependencies: import("mathjs").FactoryFunctionMap; - setDifferenceDependencies: import("mathjs").FactoryFunctionMap; - setDistinctDependencies: import("mathjs").FactoryFunctionMap; - setIntersectDependencies: import("mathjs").FactoryFunctionMap; - setIsSubsetDependencies: import("mathjs").FactoryFunctionMap; - setMultiplicityDependencies: import("mathjs").FactoryFunctionMap; - setPowersetDependencies: import("mathjs").FactoryFunctionMap; - setSizeDependencies: import("mathjs").FactoryFunctionMap; - setSymDifferenceDependencies: import("mathjs").FactoryFunctionMap; - setUnionDependencies: import("mathjs").FactoryFunctionMap; - zpk2tfDependencies: import("mathjs").FactoryFunctionMap; - freqzDependencies: import("mathjs").FactoryFunctionMap; - addDependencies: import("mathjs").FactoryFunctionMap; - hypotDependencies: import("mathjs").FactoryFunctionMap; - normDependencies: import("mathjs").FactoryFunctionMap; - dotDependencies: import("mathjs").FactoryFunctionMap; - traceDependencies: import("mathjs").FactoryFunctionMap; - indexDependencies: import("mathjs").FactoryFunctionMap; - NodeDependencies: import("mathjs").FactoryFunctionMap; - AccessorNodeDependencies: import("mathjs").FactoryFunctionMap; - ArrayNodeDependencies: import("mathjs").FactoryFunctionMap; - AssignmentNodeDependencies: import("mathjs").FactoryFunctionMap; - BlockNodeDependencies: import("mathjs").FactoryFunctionMap; - ConditionalNodeDependencies: import("mathjs").FactoryFunctionMap; - ConstantNodeDependencies: import("mathjs").FactoryFunctionMap; - FunctionAssignmentNodeDependencies: import("mathjs").FactoryFunctionMap; - IndexNodeDependencies: import("mathjs").FactoryFunctionMap; - ObjectNodeDependencies: import("mathjs").FactoryFunctionMap; - OperatorNodeDependencies: import("mathjs").FactoryFunctionMap; - ParenthesisNodeDependencies: import("mathjs").FactoryFunctionMap; - RangeNodeDependencies: import("mathjs").FactoryFunctionMap; - RelationalNodeDependencies: import("mathjs").FactoryFunctionMap; - SymbolNodeDependencies: import("mathjs").FactoryFunctionMap; - FunctionNodeDependencies: import("mathjs").FactoryFunctionMap; - parseDependencies: import("mathjs").FactoryFunctionMap; - compileDependencies: import("mathjs").FactoryFunctionMap; - evaluateDependencies: import("mathjs").FactoryFunctionMap; - evalDependencies: import("mathjs").FactoryFunctionMap; - ParserDependencies: import("mathjs").FactoryFunctionMap; - parserDependencies: import("mathjs").FactoryFunctionMap; - lupDependencies: import("mathjs").FactoryFunctionMap; - qrDependencies: import("mathjs").FactoryFunctionMap; - sluDependencies: import("mathjs").FactoryFunctionMap; - lusolveDependencies: import("mathjs").FactoryFunctionMap; - HelpDependencies: import("mathjs").FactoryFunctionMap; - ChainDependencies: import("mathjs").FactoryFunctionMap; - helpDependencies: import("mathjs").FactoryFunctionMap; - chainDependencies: import("mathjs").FactoryFunctionMap; - detDependencies: import("mathjs").FactoryFunctionMap; - invDependencies: import("mathjs").FactoryFunctionMap; - expmDependencies: import("mathjs").FactoryFunctionMap; - sqrtmDependencies: import("mathjs").FactoryFunctionMap; - sylvesterDependencies: import("mathjs").FactoryFunctionMap; - schurDependencies: import("mathjs").FactoryFunctionMap; - lyapDependencies: import("mathjs").FactoryFunctionMap; - divideDependencies: import("mathjs").FactoryFunctionMap; - distanceDependencies: import("mathjs").FactoryFunctionMap; - intersectDependencies: import("mathjs").FactoryFunctionMap; - sumDependencies: import("mathjs").FactoryFunctionMap; - meanDependencies: import("mathjs").FactoryFunctionMap; - medianDependencies: import("mathjs").FactoryFunctionMap; - madDependencies: import("mathjs").FactoryFunctionMap; - varianceDependencies: import("mathjs").FactoryFunctionMap; - varDependencies: import("mathjs").FactoryFunctionMap; - quantileSeqDependencies: import("mathjs").FactoryFunctionMap; - stdDependencies: import("mathjs").FactoryFunctionMap; - combinationsDependencies: import("mathjs").FactoryFunctionMap; - gammaDependencies: import("mathjs").FactoryFunctionMap; - factorialDependencies: import("mathjs").FactoryFunctionMap; - kldivergenceDependencies: import("mathjs").FactoryFunctionMap; - multinomialDependencies: import("mathjs").FactoryFunctionMap; - permutationsDependencies: import("mathjs").FactoryFunctionMap; - pickRandomDependencies: import("mathjs").FactoryFunctionMap; - randomDependencies: import("mathjs").FactoryFunctionMap; - randomIntDependencies: import("mathjs").FactoryFunctionMap; - stirlingS2Dependencies: import("mathjs").FactoryFunctionMap; - bellNumbersDependencies: import("mathjs").FactoryFunctionMap; - catalanDependencies: import("mathjs").FactoryFunctionMap; - compositionDependencies: import("mathjs").FactoryFunctionMap; - simplifyDependencies: import("mathjs").FactoryFunctionMap; - derivativeDependencies: import("mathjs").FactoryFunctionMap; - rationalizeDependencies: import("mathjs").FactoryFunctionMap; - reviverDependencies: import("mathjs").FactoryFunctionMap; - eDependencies: import("mathjs").FactoryFunctionMap; - EDependencies: import("mathjs").FactoryFunctionMap; - falseDependencies: import("mathjs").FactoryFunctionMap; - iDependencies: import("mathjs").FactoryFunctionMap; - InfinityDependencies: import("mathjs").FactoryFunctionMap; - LN10Dependencies: import("mathjs").FactoryFunctionMap; - LN2Dependencies: import("mathjs").FactoryFunctionMap; - LOG10EDependencies: import("mathjs").FactoryFunctionMap; - LOG2EDependencies: import("mathjs").FactoryFunctionMap; - NaNDependencies: import("mathjs").FactoryFunctionMap; - nullDependencies: import("mathjs").FactoryFunctionMap; - phiDependencies: import("mathjs").FactoryFunctionMap; - piDependencies: import("mathjs").FactoryFunctionMap; - PIDependencies: import("mathjs").FactoryFunctionMap; - SQRT1_2Dependencies: import("mathjs").FactoryFunctionMap; - SQRT2Dependencies: import("mathjs").FactoryFunctionMap; - tauDependencies: import("mathjs").FactoryFunctionMap; - trueDependencies: import("mathjs").FactoryFunctionMap; - versionDependencies: import("mathjs").FactoryFunctionMap; - atomicMassDependencies: import("mathjs").FactoryFunctionMap; - avogadroDependencies: import("mathjs").FactoryFunctionMap; - bohrMagnetonDependencies: import("mathjs").FactoryFunctionMap; - bohrRadiusDependencies: import("mathjs").FactoryFunctionMap; - boltzmannDependencies: import("mathjs").FactoryFunctionMap; - classicalElectronRadiusDependencies: import("mathjs").FactoryFunctionMap; - conductanceQuantumDependencies: import("mathjs").FactoryFunctionMap; - coulombDependencies: import("mathjs").FactoryFunctionMap; - deuteronMassDependencies: import("mathjs").FactoryFunctionMap; - efimovFactorDependencies: import("mathjs").FactoryFunctionMap; - electricConstantDependencies: import("mathjs").FactoryFunctionMap; - electronMassDependencies: import("mathjs").FactoryFunctionMap; - elementaryChargeDependencies: import("mathjs").FactoryFunctionMap; - faradayDependencies: import("mathjs").FactoryFunctionMap; - fermiCouplingDependencies: import("mathjs").FactoryFunctionMap; - fineStructureDependencies: import("mathjs").FactoryFunctionMap; - firstRadiationDependencies: import("mathjs").FactoryFunctionMap; - gasConstantDependencies: import("mathjs").FactoryFunctionMap; - gravitationConstantDependencies: import("mathjs").FactoryFunctionMap; - gravityDependencies: import("mathjs").FactoryFunctionMap; - hartreeEnergyDependencies: import("mathjs").FactoryFunctionMap; - inverseConductanceQuantumDependencies: import("mathjs").FactoryFunctionMap; - klitzingDependencies: import("mathjs").FactoryFunctionMap; - loschmidtDependencies: import("mathjs").FactoryFunctionMap; - magneticConstantDependencies: import("mathjs").FactoryFunctionMap; - magneticFluxQuantumDependencies: import("mathjs").FactoryFunctionMap; - molarMassDependencies: import("mathjs").FactoryFunctionMap; - molarMassC12Dependencies: import("mathjs").FactoryFunctionMap; - molarPlanckConstantDependencies: import("mathjs").FactoryFunctionMap; - molarVolumeDependencies: import("mathjs").FactoryFunctionMap; - neutronMassDependencies: import("mathjs").FactoryFunctionMap; - nuclearMagnetonDependencies: import("mathjs").FactoryFunctionMap; - planckChargeDependencies: import("mathjs").FactoryFunctionMap; - planckConstantDependencies: import("mathjs").FactoryFunctionMap; - planckLengthDependencies: import("mathjs").FactoryFunctionMap; - planckMassDependencies: import("mathjs").FactoryFunctionMap; - planckTemperatureDependencies: import("mathjs").FactoryFunctionMap; - planckTimeDependencies: import("mathjs").FactoryFunctionMap; - protonMassDependencies: import("mathjs").FactoryFunctionMap; - quantumOfCirculationDependencies: import("mathjs").FactoryFunctionMap; - reducedPlanckConstantDependencies: import("mathjs").FactoryFunctionMap; - rydbergDependencies: import("mathjs").FactoryFunctionMap; - sackurTetrodeDependencies: import("mathjs").FactoryFunctionMap; - secondRadiationDependencies: import("mathjs").FactoryFunctionMap; - speedOfLightDependencies: import("mathjs").FactoryFunctionMap; - stefanBoltzmannDependencies: import("mathjs").FactoryFunctionMap; - thomsonCrossSectionDependencies: import("mathjs").FactoryFunctionMap; - vacuumImpedanceDependencies: import("mathjs").FactoryFunctionMap; - weakMixingAngleDependencies: import("mathjs").FactoryFunctionMap; - wienDisplacementDependencies: import("mathjs").FactoryFunctionMap; - applyTransformDependencies: import("mathjs").FactoryFunctionMap; - columnTransformDependencies: import("mathjs").FactoryFunctionMap; - filterTransformDependencies: import("mathjs").FactoryFunctionMap; - forEachTransformDependencies: import("mathjs").FactoryFunctionMap; - indexTransformDependencies: import("mathjs").FactoryFunctionMap; - mapTransformDependencies: import("mathjs").FactoryFunctionMap; - maxTransformDependencies: import("mathjs").FactoryFunctionMap; - meanTransformDependencies: import("mathjs").FactoryFunctionMap; - minTransformDependencies: import("mathjs").FactoryFunctionMap; - rangeTransformDependencies: import("mathjs").FactoryFunctionMap; - rowTransformDependencies: import("mathjs").FactoryFunctionMap; - subsetTransformDependencies: import("mathjs").FactoryFunctionMap; - concatTransformDependencies: import("mathjs").FactoryFunctionMap; - stdTransformDependencies: import("mathjs").FactoryFunctionMap; - sumTransformDependencies: import("mathjs").FactoryFunctionMap; - varianceTransformDependencies: import("mathjs").FactoryFunctionMap; - Matrix: import("mathjs").MatrixCtor; - create: (factories: import("mathjs").FactoryFunctionMap, config?: import("mathjs").ConfigOptions | undefined) => import("mathjs").MathJsInstance; - factory: (name: string, dependencies: TDeps, create: (injected: Pick | Extract<"number", TDeps[number]> | Extract<"boolean", TDeps[number]> | Extract<"concat", TDeps[number]> | Extract<"sort", TDeps[number]> | Extract<"forEach", TDeps[number]> | Extract<"map", TDeps[number]> | Extract<"filter", TDeps[number]> | Extract<"AccessorNode", TDeps[number]> | Extract<"ArrayNode", TDeps[number]> | Extract<"AssignmentNode", TDeps[number]> | Extract<"BlockNode", TDeps[number]> | Extract<"ConditionalNode", TDeps[number]> | Extract<"ConstantNode", TDeps[number]> | Extract<"FunctionAssignmentNode", TDeps[number]> | Extract<"FunctionNode", TDeps[number]> | Extract<"IndexNode", TDeps[number]> | Extract<"ObjectNode", TDeps[number]> | Extract<"OperatorNode", TDeps[number]> | Extract<"ParenthesisNode", TDeps[number]> | Extract<"RangeNode", TDeps[number]> | Extract<"RelationalNode", TDeps[number]> | Extract<"SymbolNode", TDeps[number]> | Extract<"Matrix", TDeps[number]> | Extract<"create", TDeps[number]> | Extract<"factory", TDeps[number]> | Extract<"typed", TDeps[number]> | Extract<"e", TDeps[number]> | Extract<"pi", TDeps[number]> | Extract<"i", TDeps[number]> | Extract<"LN2", TDeps[number]> | Extract<"LN10", TDeps[number]> | Extract<"LOG2E", TDeps[number]> | Extract<"LOG10E", TDeps[number]> | Extract<"phi", TDeps[number]> | Extract<"SQRT1_2", TDeps[number]> | Extract<"SQRT2", TDeps[number]> | Extract<"tau", TDeps[number]> | Extract<"Node", TDeps[number]> | Extract<"uninitialized", TDeps[number]> | Extract<"version", TDeps[number]> | Extract<"expression", TDeps[number]> | Extract<"reviver", TDeps[number]> | Extract<"replacer", TDeps[number]> | Extract<"bignumber", TDeps[number]> | Extract<"chain", TDeps[number]> | Extract<"complex", TDeps[number]> | Extract<"createUnit", TDeps[number]> | Extract<"fraction", TDeps[number]> | Extract<"index", TDeps[number]> | Extract<"matrix", TDeps[number]> | Extract<"sparse", TDeps[number]> | Extract<"splitUnit", TDeps[number]> | Extract<"unit", TDeps[number]> | Extract<"compile", TDeps[number]> | Extract<"evaluate", TDeps[number]> | Extract<"help", TDeps[number]> | Extract<"parse", TDeps[number]> | Extract<"parser", TDeps[number]> | Extract<"derivative", TDeps[number]> | Extract<"lsolve", TDeps[number]> | Extract<"lup", TDeps[number]> | Extract<"lusolve", TDeps[number]> | Extract<"polynomialRoot", TDeps[number]> | Extract<"qr", TDeps[number]> | Extract<"rationalize", TDeps[number]> | Extract<"simplify", TDeps[number]> | Extract<"simplifyConstant", TDeps[number]> | Extract<"simplifyCore", TDeps[number]> | Extract<"resolve", TDeps[number]> | Extract<"slu", TDeps[number]> | Extract<"usolve", TDeps[number]> | Extract<"abs", TDeps[number]> | Extract<"add", TDeps[number]> | Extract<"cbrt", TDeps[number]> | Extract<"ceil", TDeps[number]> | Extract<"fix", TDeps[number]> | Extract<"floor", TDeps[number]> | Extract<"round", TDeps[number]> | Extract<"cube", TDeps[number]> | Extract<"divide", TDeps[number]> | Extract<"dotDivide", TDeps[number]> | Extract<"dotMultiply", TDeps[number]> | Extract<"dotPow", TDeps[number]> | Extract<"exp", TDeps[number]> | Extract<"expm1", TDeps[number]> | Extract<"gcd", TDeps[number]> | Extract<"hypot", TDeps[number]> | Extract<"lcm", TDeps[number]> | Extract<"log", TDeps[number]> | Extract<"log10", TDeps[number]> | Extract<"log1p", TDeps[number]> | Extract<"log2", TDeps[number]> | Extract<"mod", TDeps[number]> | Extract<"multiply", TDeps[number]> | Extract<"norm", TDeps[number]> | Extract<"nthRoot", TDeps[number]> | Extract<"pow", TDeps[number]> | Extract<"sign", TDeps[number]> | Extract<"sqrt", TDeps[number]> | Extract<"square", TDeps[number]> | Extract<"subtract", TDeps[number]> | Extract<"unaryMinus", TDeps[number]> | Extract<"unaryPlus", TDeps[number]> | Extract<"xgcd", TDeps[number]> | Extract<"bitAnd", TDeps[number]> | Extract<"bitNot", TDeps[number]> | Extract<"bitOr", TDeps[number]> | Extract<"bitXor", TDeps[number]> | Extract<"leftShift", TDeps[number]> | Extract<"rightArithShift", TDeps[number]> | Extract<"rightLogShift", TDeps[number]> | Extract<"bellNumbers", TDeps[number]> | Extract<"catalan", TDeps[number]> | Extract<"composition", TDeps[number]> | Extract<"stirlingS2", TDeps[number]> | Extract<"arg", TDeps[number]> | Extract<"conj", TDeps[number]> | Extract<"im", TDeps[number]> | Extract<"re", TDeps[number]> | Extract<"distance", TDeps[number]> | Extract<"intersect", TDeps[number]> | Extract<"and", TDeps[number]> | Extract<"not", TDeps[number]> | Extract<"or", TDeps[number]> | Extract<"xor", TDeps[number]> | Extract<"apply", TDeps[number]> | Extract<"cross", TDeps[number]> | Extract<"det", TDeps[number]> | Extract<"diag", TDeps[number]> | Extract<"dot", TDeps[number]> | Extract<"eigs", TDeps[number]> | Extract<"expm", TDeps[number]> | Extract<"sylvester", TDeps[number]> | Extract<"schur", TDeps[number]> | Extract<"lyap", TDeps[number]> | Extract<"identity", TDeps[number]> | Extract<"flatten", TDeps[number]> | Extract<"inv", TDeps[number]> | Extract<"kron", TDeps[number]> | Extract<"ones", TDeps[number]> | Extract<"partitionSelect", TDeps[number]> | Extract<"pinv", TDeps[number]> | Extract<"range", TDeps[number]> | Extract<"reshape", TDeps[number]> | Extract<"resize", TDeps[number]> | Extract<"rotationMatrix", TDeps[number]> | Extract<"row", TDeps[number]> | Extract<"column", TDeps[number]> | Extract<"rotate", TDeps[number]> | Extract<"size", TDeps[number]> | Extract<"sqrtm", TDeps[number]> | Extract<"squeeze", TDeps[number]> | Extract<"subset", TDeps[number]> | Extract<"trace", TDeps[number]> | Extract<"transpose", TDeps[number]> | Extract<"zeros", TDeps[number]> | Extract<"fft", TDeps[number]> | Extract<"ifft", TDeps[number]> | Extract<"combinations", TDeps[number]> | Extract<"factorial", TDeps[number]> | Extract<"gamma", TDeps[number]> | Extract<"kldivergence", TDeps[number]> | Extract<"lgamma", TDeps[number]> | Extract<"multinomial", TDeps[number]> | Extract<"permutations", TDeps[number]> | Extract<"pickRandom", TDeps[number]> | Extract<"random", TDeps[number]> | Extract<"randomInt", TDeps[number]> | Extract<"compare", TDeps[number]> | Extract<"compareNatural", TDeps[number]> | Extract<"compareText", TDeps[number]> | Extract<"deepEqual", TDeps[number]> | Extract<"equal", TDeps[number]> | Extract<"equalText", TDeps[number]> | Extract<"larger", TDeps[number]> | Extract<"largerEq", TDeps[number]> | Extract<"smaller", TDeps[number]> | Extract<"smallerEq", TDeps[number]> | Extract<"unequal", TDeps[number]> | Extract<"setCartesian", TDeps[number]> | Extract<"setDifference", TDeps[number]> | Extract<"setDistinct", TDeps[number]> | Extract<"setIntersect", TDeps[number]> | Extract<"setIsSubset", TDeps[number]> | Extract<"setMultiplicity", TDeps[number]> | Extract<"setPowerset", TDeps[number]> | Extract<"setSize", TDeps[number]> | Extract<"setSymDifference", TDeps[number]> | Extract<"setUnion", TDeps[number]> | Extract<"zpk2tf", TDeps[number]> | Extract<"freqz", TDeps[number]> | Extract<"erf", TDeps[number]> | Extract<"zeta", TDeps[number]> | Extract<"mad", TDeps[number]> | Extract<"max", TDeps[number]> | Extract<"mean", TDeps[number]> | Extract<"median", TDeps[number]> | Extract<"min", TDeps[number]> | Extract<"mode", TDeps[number]> | Extract<"prod", TDeps[number]> | Extract<"quantileSeq", TDeps[number]> | Extract<"std", TDeps[number]> | Extract<"sum", TDeps[number]> | Extract<"count", TDeps[number]> | Extract<"cumsum", TDeps[number]> | Extract<"variance", TDeps[number]> | Extract<"corr", TDeps[number]> | Extract<"format", TDeps[number]> | Extract<"print", TDeps[number]> | Extract<"acos", TDeps[number]> | Extract<"acosh", TDeps[number]> | Extract<"acot", TDeps[number]> | Extract<"acoth", TDeps[number]> | Extract<"acsc", TDeps[number]> | Extract<"acsch", TDeps[number]> | Extract<"asec", TDeps[number]> | Extract<"asech", TDeps[number]> | Extract<"asin", TDeps[number]> | Extract<"asinh", TDeps[number]> | Extract<"atan", TDeps[number]> | Extract<"atan2", TDeps[number]> | Extract<"atanh", TDeps[number]> | Extract<"cos", TDeps[number]> | Extract<"cosh", TDeps[number]> | Extract<"cot", TDeps[number]> | Extract<"coth", TDeps[number]> | Extract<"csc", TDeps[number]> | Extract<"csch", TDeps[number]> | Extract<"sec", TDeps[number]> | Extract<"sech", TDeps[number]> | Extract<"sin", TDeps[number]> | Extract<"sinh", TDeps[number]> | Extract<"tan", TDeps[number]> | Extract<"tanh", TDeps[number]> | Extract<"to", TDeps[number]> | Extract<"isNumber", TDeps[number]> | Extract<"isBigNumber", TDeps[number]> | Extract<"isComplex", TDeps[number]> | Extract<"isFraction", TDeps[number]> | Extract<"isUnit", TDeps[number]> | Extract<"isString", TDeps[number]> | Extract<"isArray", TDeps[number]> | Extract<"isMatrix", TDeps[number]> | Extract<"isCollection", TDeps[number]> | Extract<"isDenseMatrix", TDeps[number]> | Extract<"isSparseMatrix", TDeps[number]> | Extract<"isRange", TDeps[number]> | Extract<"isIndex", TDeps[number]> | Extract<"isBoolean", TDeps[number]> | Extract<"isResultSet", TDeps[number]> | Extract<"isHelp", TDeps[number]> | Extract<"isFunction", TDeps[number]> | Extract<"isDate", TDeps[number]> | Extract<"isRegExp", TDeps[number]> | Extract<"isObject", TDeps[number]> | Extract<"isNull", TDeps[number]> | Extract<"isUndefined", TDeps[number]> | Extract<"isAccessorNode", TDeps[number]> | Extract<"isArrayNode", TDeps[number]> | Extract<"isAssignmentNode", TDeps[number]> | Extract<"isBlockNode", TDeps[number]> | Extract<"isConditionalNode", TDeps[number]> | Extract<"isConstantNode", TDeps[number]> | Extract<"isFunctionAssignmentNode", TDeps[number]> | Extract<"isFunctionNode", TDeps[number]> | Extract<"isIndexNode", TDeps[number]> | Extract<"isNode", TDeps[number]> | Extract<"isObjectNode", TDeps[number]> | Extract<"isOperatorNode", TDeps[number]> | Extract<"isParenthesisNode", TDeps[number]> | Extract<"isRangeNode", TDeps[number]> | Extract<"isRelationalNode", TDeps[number]> | Extract<"isSymbolNode", TDeps[number]> | Extract<"isChain", TDeps[number]> | Extract<"clone", TDeps[number]> | Extract<"hasNumericValue", TDeps[number]> | Extract<"isInteger", TDeps[number]> | Extract<"isNaN", TDeps[number]> | Extract<"isNegative", TDeps[number]> | Extract<"isNumeric", TDeps[number]> | Extract<"isPositive", TDeps[number]> | Extract<"isPrime", TDeps[number]> | Extract<"isZero", TDeps[number]> | Extract<"typeOf", TDeps[number]> | Extract<"Infinity", TDeps[number]> | Extract<"NaN", TDeps[number]> | Extract<"config", TDeps[number]> | Extract<"symbolicEqual", TDeps[number]> | Extract<"import", TDeps[number]>>) => T, meta?: any) => import("mathjs").FactoryFunction; - typed: (name: string, signatures: Record any>) => (...args: any[]) => any; - e: number; - pi: number; - i: number; - LN2: number; - LN10: number; - LOG2E: number; - LOG10E: number; - phi: number; - SQRT1_2: number; - SQRT2: number; - tau: number; - Node: import("mathjs").NodeCtor; - uninitialized: any; - version: string; - expression: import("mathjs").MathNode; - reviver: () => (key: any, value: any) => any; - replacer: () => (key: any, value: any) => any; - bignumber: { - (x?: string | number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): import("mathjs").BigNumber; - (x: T_1): T_1; - }; - boolean: { - (x: string | number | boolean | null): boolean; - (x: import("mathjs").MathCollection): import("mathjs").MathCollection; - }; - chain: (value?: TValue | undefined) => import("mathjs").MathJsChain; - complex: { - (arg?: string | import("mathjs").MathNumericType | import("mathjs").PolarCoordinates | undefined): import("mathjs").Complex; - (arg?: import("mathjs").MathCollection | undefined): import("mathjs").MathCollection; - (re: number, im: number): import("mathjs").Complex; - }; - createUnit: { - (name: string, definition?: string | import("mathjs").Unit | import("mathjs").UnitDefinition | undefined, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit; - (units: Record, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit; - }; - fraction: { - (value: string | number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").FractionDefinition): import("mathjs").Fraction; - (values: import("mathjs").MathCollection): import("mathjs").MathCollection; - (numerator: number, denominator: number): import("mathjs").Fraction; - }; - index: (...ranges: any[]) => import("mathjs").Index; - matrix: { - (format?: "sparse" | "dense" | undefined): import("mathjs").Matrix; - (data: string[] | import("mathjs").MathCollection, format?: "sparse" | "dense" | undefined, dataType?: string | undefined): import("mathjs").Matrix; - }; - number: { - (value?: string | number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): number; - (value?: import("mathjs").MathCollection | undefined): number | import("mathjs").MathCollection; - (unit: import("mathjs").Unit, valuelessUnit: string | import("mathjs").Unit): number; - }; - sparse: (data?: import("mathjs").MathCollection | undefined, dataType?: string | undefined) => import("mathjs").Matrix; - splitUnit: (unit: import("mathjs").Unit, parts: import("mathjs").Unit[]) => import("mathjs").Unit[]; - string: { - (value: string | import("mathjs").MathNumericType | import("mathjs").Unit | null): string; - (value: import("mathjs").MathCollection): import("mathjs").MathCollection; - }; - unit: { - (unit: string): import("mathjs").Unit; - (unit: import("mathjs").Unit): import("mathjs").Unit; - (value: import("mathjs").MathNumericType, unit: string): import("mathjs").Unit; - (value: import("mathjs").MathCollection, unit: string): import("mathjs").Unit[]; - }; - compile: { - (expr: import("mathjs").MathExpression): import("mathjs").EvalFunction; - (exprs: import("mathjs").MathExpression[]): import("mathjs").EvalFunction[]; - }; - evaluate: { - (expr: import("mathjs").MathExpression, scope?: object | undefined): any; - (expr: import("mathjs").MathExpression[], scope?: object | undefined): any[]; - }; - help: (search: () => any) => import("mathjs").Help; - parse: import("mathjs").ParseFunction; - parser: () => import("mathjs").Parser; - derivative: (expr: string | import("mathjs").MathNode, variable: string | import("mathjs").MathNode, options?: { - simplify: boolean; - } | undefined) => import("mathjs").MathNode; - lsolve: { - (L: import("mathjs").Matrix, b: import("mathjs").MathCollection): import("mathjs").Matrix; - (L: import("mathjs").MathArray, b: import("mathjs").MathCollection): import("mathjs").MathArray; - }; - lup: (A?: import("mathjs").MathCollection | undefined) => import("mathjs").LUDecomposition; - lusolve: { - (A: import("mathjs").Matrix, b: import("mathjs").MathCollection, order?: number | undefined, threshold?: number | undefined): import("mathjs").Matrix; - (A: import("mathjs").MathArray, b: import("mathjs").MathCollection, order?: number | undefined, threshold?: number | undefined): import("mathjs").MathArray; - (A: import("mathjs").LUDecomposition, b: import("mathjs").MathCollection): import("mathjs").Matrix; - }; - polynomialRoot: (constantCoeff: number | import("mathjs").Complex, linearCoeff: number | import("mathjs").Complex, quadraticCoeff?: number | import("mathjs").Complex | undefined, cubicCoeff?: number | import("mathjs").Complex | undefined) => (number | import("mathjs").Complex)[]; - qr: (A: import("mathjs").MathCollection) => import("mathjs").QRDecomposition; - rationalize: { - (expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: false | undefined): import("mathjs").MathNode; - (expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: true | undefined): { - expression: string | import("mathjs").MathNode; - variables: string[]; - coefficients: import("mathjs").MathType[]; - }; - }; - simplify: import("mathjs").Simplify; - simplifyConstant: (expr: string | import("mathjs").MathNode, options?: import("mathjs").SimplifyOptions | undefined) => import("mathjs").MathNode; - simplifyCore: (expr: string | import("mathjs").MathNode, options?: import("mathjs").SimplifyOptions | undefined) => import("mathjs").MathNode; - resolve: { - (node: string | import("mathjs").MathNode, scope?: Record | undefined): import("mathjs").MathNode; - (node: (string | import("mathjs").MathNode)[], scope?: Record | undefined): import("mathjs").MathNode[]; - (node: import("mathjs").Matrix, scope?: Record | undefined): import("mathjs").Matrix; - }; - slu: (A: import("mathjs").Matrix, order: number, threshold: number) => import("mathjs").SLUDecomposition; - usolve: { - (U: import("mathjs").Matrix, b: import("mathjs").MathCollection): import("mathjs").Matrix; - (U: import("mathjs").MathArray, b: import("mathjs").MathCollection): import("mathjs").MathArray; - }; - abs: (x: T_2) => T_2; - add: { - (x: T_3, y: T_3): T_3; - (...values: T_4[]): T_4; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - (...values: import("mathjs").MathType[]): import("mathjs").MathType; - }; - cbrt: { - (x: import("mathjs").Complex, allRoots?: boolean | undefined): import("mathjs").Complex; - (x: T_5): T_5; - }; - ceil: { - (x: T_6, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U): U; - }; - fix: { - (x: T_7, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_1): U_1; - }; - floor: { - (x: T_8, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_2): U_2; - }; - round: { - (x: T_9, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_3): U_3; - (x: U_4, unit: import("mathjs").Unit): U_4; - (x: import("mathjs").Unit, unit: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").Unit, n: number | import("mathjs").BigNumber, unit: import("mathjs").Unit): import("mathjs").Unit; - (x: U_5, n: number | import("mathjs").BigNumber, unit: import("mathjs").Unit): U_5; - }; - cube: (x: T_10) => T_10; - divide: { - (x: import("mathjs").Unit, y: import("mathjs").Unit): number | import("mathjs").Unit; - (x: import("mathjs").Unit, y: number): import("mathjs").Unit; - (x: number, y: number): number; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - }; - dotDivide: { - (x: T_11, y: import("mathjs").MathType): T_11; - (x: import("mathjs").MathType, y: T_12): T_12; - (x: import("mathjs").Unit, y: import("mathjs").MathType): import("mathjs").Unit; - (x: import("mathjs").MathType, y: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").MathNumericType, y: import("mathjs").MathNumericType): import("mathjs").MathNumericType; - }; - dotMultiply: { - (x: T_13, y: import("mathjs").MathType): T_13; - (x: import("mathjs").MathType, y: T_14): T_14; - (x: import("mathjs").Unit, y: import("mathjs").MathType): import("mathjs").Unit; - (x: import("mathjs").MathType, y: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").MathNumericType, y: import("mathjs").MathNumericType): import("mathjs").MathNumericType; - }; - dotPow: (x: T_15, y: import("mathjs").MathType) => T_15; - exp: (x: T_16) => T_16; - expm1: (x: T_17) => T_17; - gcd: { - (...args: T_18[]): T_18; - (args: T_19[]): T_19; - }; - hypot: { - (...args: T_20[]): T_20; - (args: T_21[]): T_21; - }; - lcm: (a: T_22, b: T_22) => T_22; - log: (x: T_23, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined) => import("mathjs").NoLiteralType; - log10: (x: T_24) => T_24; - log1p: (x: T_25, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined) => T_25; - log2: (x: T_26) => T_26; - multiply: { - (x: T_27, y: import("mathjs").MathType): import("mathjs").Matrix; - (x: import("mathjs").MathType, y: T_28): import("mathjs").Matrix; - (x: T_29, y: T_29[]): T_29; - (x: T_30[], y: T_30): T_30; - (x: T_31, y: T_31): T_31; - (x: import("mathjs").Unit, y: import("mathjs").Unit): import("mathjs").Unit; - (x: number, y: number): number; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - (...values: T_32[]): T_32; - (...values: import("mathjs").MathType[]): import("mathjs").MathType; - }; - norm: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").MathCollection, p?: string | number | import("mathjs").BigNumber | undefined) => number | import("mathjs").BigNumber; - nthRoot: (a: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").MathCollection, root?: number | import("mathjs").BigNumber | undefined) => number | import("mathjs").Complex | import("mathjs").MathCollection; - pow: (x: import("mathjs").MathType, y: number | import("mathjs").BigNumber | import("mathjs").Complex) => import("mathjs").MathType; - sign: (x: T_33) => T_33; - sqrt: { - (x: number): number | import("mathjs").Complex; - (x: T_34): T_34; - }; - square: (x: T_35) => T_35; - subtract: { - (x: T_36, y: T_36): T_36; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - }; - unaryMinus: (x: T_37) => T_37; - unaryPlus: (x: T_38) => T_38; - xgcd: (a: number | import("mathjs").BigNumber, b: number | import("mathjs").BigNumber) => import("mathjs").MathArray; - bitAnd: (x: T_39, y: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => import("mathjs").NoLiteralType; - bitNot: (x: T_40) => T_40; - bitOr: (x: T_41, y: T_41) => T_41; - bitXor: (x: T_42, y: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => import("mathjs").NoLiteralType; - leftShift: (x: T_43, y: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - rightArithShift: (x: T_44, y: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - rightLogShift: (x: T_45, y: number) => import("mathjs").NoLiteralType; - bellNumbers: (n: T_46) => T_46; - catalan: (n: T_47) => T_47; - composition: (n: T_48, k: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - stirlingS2: (n: T_49, k: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - arg: { - (x: number | import("mathjs").Complex): number; - (x: import("mathjs").BigNumber | import("mathjs").Complex): import("mathjs").BigNumber; - (x: T_50): T_50; - }; - conj: (x: T_51) => import("mathjs").NoLiteralType; - im: { - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - }; - re: { - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - }; - distance: (x: object | import("mathjs").MathCollection, y: object | import("mathjs").MathCollection, z?: object | import("mathjs").MathCollection | undefined) => number | import("mathjs").BigNumber; - intersect: (w: import("mathjs").MathCollection, x: import("mathjs").MathCollection, y: import("mathjs").MathCollection, z?: import("mathjs").MathCollection | undefined) => import("mathjs").MathArray; - and: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - not: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - or: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - xor: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - apply: (array: T_54, dim: number, callback: (array: import("mathjs").MathCollection) => number) => T_54; - concat: (...args: (number | import("mathjs").BigNumber | import("mathjs").MathCollection)[]) => import("mathjs").MathCollection; - cross: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").MathCollection; - det: (x: import("mathjs").MathCollection) => number; - diag: { - (X: import("mathjs").MathCollection, format?: string | undefined): import("mathjs").Matrix; - (X: import("mathjs").MathCollection, k: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - dot: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => number; - eigs: { - (x: import("mathjs").MathCollection, opts?: number | import("mathjs").BigNumber | { - precision?: number | import("mathjs").BigNumber | undefined; - eigenvectors?: true | undefined; - } | undefined): { - values: import("mathjs").MathCollection; - eigenvectors: { - value: number | import("mathjs").BigNumber; - vector: import("mathjs").MathCollection; - }[]; - }; - (x: import("mathjs").MathCollection, opts: { - eigenvectors: false; - precision?: number | import("mathjs").BigNumber | undefined; - }): { - values: import("mathjs").MathCollection; - }; - }; - expm: (x: import("mathjs").Matrix) => import("mathjs").Matrix; - sylvester: (A: import("mathjs").MathCollection, B: import("mathjs").MathCollection, C: import("mathjs").MathCollection) => import("mathjs").MathCollection; - schur: (A: import("mathjs").MathCollection) => import("mathjs").SchurDecomposition; - lyap: (A: import("mathjs").MathCollection, Q: import("mathjs").MathCollection) => import("mathjs").MathCollection; - identity: { - (size: number | number[] | import("mathjs").MathCollection, format?: string | undefined): number | import("mathjs").MathCollection; - (m: number, n: number, format?: string | undefined): number | import("mathjs").MathCollection; - }; - filter: (x: string[] | import("mathjs").MathCollection, test: RegExp | ((value: any, index: any, matrix: string[] | import("mathjs").MathCollection) => boolean)) => import("mathjs").MathCollection; - flatten: (x: T_55) => T_55; - forEach: (x: T_56, callback: (value: any, index: any, matrix: T_56) => void) => void; - inv: (x: T_57) => import("mathjs").NoLiteralType; - kron: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").Matrix; - map: (x: T_58, callback: (value: any, index: any, matrix: T_58) => string | import("mathjs").MathType) => T_58; - ones: { - (size?: number | number[] | import("mathjs").BigNumber | import("mathjs").BigNumber[] | undefined, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, p: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - partitionSelect: (x: import("mathjs").MathCollection, k: number, compare?: "asc" | "desc" | ((a: any, b: any) => number) | undefined) => any; - pinv: (x: T_59) => T_59; - range: { - (str: string, includeEnd?: boolean | undefined): import("mathjs").Matrix; - (start: number | import("mathjs").BigNumber, end: number | import("mathjs").BigNumber, includeEnd?: boolean | undefined): import("mathjs").Matrix; - (start: number | import("mathjs").BigNumber | import("mathjs").Unit, end: number | import("mathjs").BigNumber | import("mathjs").Unit, step: number | import("mathjs").BigNumber | import("mathjs").Unit, includeEnd?: boolean | undefined): import("mathjs").Matrix; - }; - reshape: (x: T_60, sizes: number[]) => T_60; - resize: (x: T_61, size: import("mathjs").MathCollection, defaultValue?: string | number | undefined) => T_61; - rotationMatrix: (theta?: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | undefined, axis?: T_62 | undefined, format?: "sparse" | "dense" | undefined) => T_62; - row: (value: T_63, row: number) => T_63; - column: (value: T_64, column: number) => T_64; - rotate: (w: T_65, theta: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit, v?: T_65 | undefined) => T_65; - size: (x: string | number | boolean | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => import("mathjs").MathCollection; - sort: (x: T_66, compare: "asc" | "desc" | ((a: any, b: any) => number) | "natural") => T_66; - sqrtm: (A: T_67) => T_67; - squeeze: (x: T_68) => T_68; - subset: (value: T_69, index: import("mathjs").Index, replacement?: any, defaultValue?: any) => T_69; - trace: (x: import("mathjs").MathCollection) => number; - transpose: (x: T_70) => T_70; - zeros: { - (size?: number | number[] | import("mathjs").BigNumber | import("mathjs").BigNumber[] | undefined, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, p: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - fft: (arr: T_71) => T_71; - ifft: (arr: T_72) => T_72; - factorial: (n: T_73) => import("mathjs").NoLiteralType; - gamma: (n: T_74) => import("mathjs").NoLiteralType; - kldivergence: (q: import("mathjs").MathCollection, p: import("mathjs").MathCollection) => number; - lgamma: (n: T_75) => import("mathjs").NoLiteralType; - multinomial: (a: T_76[]) => import("mathjs").NoLiteralType; - permutations: (n: T_77, k?: number | import("mathjs").BigNumber | undefined) => import("mathjs").NoLiteralType; - pickRandom: { - (array: T_78[]): T_78; - (array: T_79[], number: number): T_79[]; - (array: T_80[], number: number, weights: number[]): T_80[]; - }; - random: { - (min?: number | undefined, max?: number | undefined): number; - (size: T_81, min?: number | undefined, max?: number | undefined): T_81; - }; - randomInt: { - (min: number, max?: number | undefined): number; - (size: T_82, min?: number | undefined, max?: number | undefined): T_82; - }; - compare: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").MathCollection; - compareNatural: (x: any, y: any) => number; - compareText: (x: string | import("mathjs").MathCollection, y: string | import("mathjs").MathCollection) => number | import("mathjs").MathCollection; - deepEqual: (x: import("mathjs").MathType, y: import("mathjs").MathType) => import("mathjs").MathType; - equal: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - equalText: (x: string | import("mathjs").MathCollection, y: string | import("mathjs").MathCollection) => number | import("mathjs").MathCollection; - larger: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - largerEq: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - smaller: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - smallerEq: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - unequal: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - setCartesian: (a1: T_83, a2: import("mathjs").MathCollection) => T_83; - setDifference: (a1: T_84, a2: import("mathjs").MathCollection) => T_84; - setDistinct: (a: T_85) => T_85; - setIntersect: (a1: T_86, a2: import("mathjs").MathCollection) => T_86; - setIsSubset: (a1: import("mathjs").MathCollection, a2: import("mathjs").MathCollection) => boolean; - setMultiplicity: (e: import("mathjs").MathNumericType, a: import("mathjs").MathCollection) => number; - setPowerset: (a: T_87) => T_87; - setSize: (a: import("mathjs").MathCollection) => number; - setSymDifference: (a1: T_88, a2: import("mathjs").MathCollection) => T_88; - setUnion: (a1: T_89, a2: import("mathjs").MathCollection) => T_89; - zpk2tf: (z: T_90, p: T_90, k?: number | undefined) => T_90; - freqz: (b: T_91, a: T_91, w?: number | T_91 | undefined) => { - w: T_91; - h: T_91; - }; - erf: (x: T_92) => import("mathjs").NoLiteralType; - zeta: (s: T_93) => T_93; - mad: (array: import("mathjs").MathCollection) => any; - max: { - (...args: T_94[]): T_94; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_95[] | T_95[][], dimension?: number | import("mathjs").BigNumber | undefined): T_95; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - mean: { - (...args: T_96[]): T_96; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_97[] | T_97[][], dimension?: number | import("mathjs").BigNumber | undefined): T_97; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - median: { - (...args: T_98[]): T_98; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_99[] | T_99[][]): T_99; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType; - }; - min: { - (...args: T_100[]): T_100; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_101[] | T_101[][], dimension?: number | import("mathjs").BigNumber | undefined): T_101; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - mode: { - (...args: T_102[]): T_102[]; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType[]; - (A: T_103[] | T_103[][]): T_103[]; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType[]; - }; - prod: { - (...args: T_104[]): T_104; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_105[] | T_105[][]): T_105; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType; - }; - quantileSeq: { - (A: T_106[] | T_106[][], prob: number | import("mathjs").BigNumber | import("mathjs").MathArray, sorted?: boolean | undefined): T_106; - (A: import("mathjs").MathCollection, prob: number | import("mathjs").BigNumber | import("mathjs").MathArray, sorted?: boolean | undefined): import("mathjs").MathScalarType | import("mathjs").MathArray; - }; - std: { - (...args: T_107[]): T_107; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (array: import("mathjs").MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): import("mathjs").MathNumericType[]; - (array: import("mathjs").MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): import("mathjs").MathNumericType; - }; - sum: { - (...args: T_108[]): T_108; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_109[] | T_109[][], dimension?: number | import("mathjs").BigNumber | undefined): T_109; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - count: (x: string | import("mathjs").MathCollection) => number; - cumsum: { - (...args: import("mathjs").MathType[]): import("mathjs").MathType[]; - (array: import("mathjs").MathCollection, dim?: number | undefined): import("mathjs").MathCollection; - }; - variance: { - (...args: import("mathjs").MathNumericType[]): import("mathjs").MathNumericType; - (array: import("mathjs").MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): import("mathjs").MathNumericType[]; - (array: import("mathjs").MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): import("mathjs").MathNumericType; - }; - corr: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").MathType; - format: (value: any, options?: number | import("mathjs").BigNumber | import("mathjs").FormatOptions | ((item: any) => string) | undefined, callback?: ((value: any) => string) | undefined) => string; - print: (template: string, values: any, precision?: number | undefined, options?: number | object | undefined) => void; - acos: { - (x: number): number | import("mathjs").Complex; - (x: T_110): T_110; - }; - acosh: { - (x: number): number | import("mathjs").Complex; - (x: T_111): T_111; - }; - acot: { - (x: number): number; - (x: T_112): T_112; - }; - acoth: { - (x: number): number; - (x: T_113): T_113; - }; - acsc: { - (x: number): number | import("mathjs").Complex; - (x: T_114): T_114; - }; - acsch: { - (x: number): number; - (x: T_115): T_115; - }; - asec: { - (x: number): number | import("mathjs").Complex; - (x: T_116): T_116; - }; - asech: { - (x: number): number | import("mathjs").Complex; - (x: T_117): T_117; - }; - asin: { - (x: number): number | import("mathjs").Complex; - (x: T_118): T_118; - }; - asinh: (x: T_119) => T_119; - atan: (x: T_120) => T_120; - atan2: (y: T_121, x: T_121) => T_121; - atanh: { - (x: number): number | import("mathjs").Complex; - (x: T_122): T_122; - }; - cos: { - (x: number | import("mathjs").Unit): number; - (x: T_123): T_123; - }; - cosh: { - (x: number | import("mathjs").Unit): number; - (x: T_124): T_124; - }; - cot: { - (x: number | import("mathjs").Unit): number; - (x: T_125): T_125; - }; - coth: { - (x: number | import("mathjs").Unit): number; - (x: T_126): T_126; - }; - csc: { - (x: number | import("mathjs").Unit): number; - (x: T_127): T_127; - }; - csch: { - (x: number | import("mathjs").Unit): number; - (x: T_128): T_128; - }; - sec: { - (x: number | import("mathjs").Unit): number; - (x: T_129): T_129; - }; - sech: { - (x: number | import("mathjs").Unit): number; - (x: T_130): T_130; - }; - sin: { - (x: number | import("mathjs").Unit): number; - (x: T_131): T_131; - }; - sinh: { - (x: number | import("mathjs").Unit): number; - (x: T_132): T_132; - }; - tan: { - (x: number | import("mathjs").Unit): number; - (x: T_133): T_133; - }; - tanh: { - (x: number | import("mathjs").Unit): number; - (x: T_134): T_134; - }; - to: (x: import("mathjs").Unit | import("mathjs").MathCollection, unit: string | import("mathjs").Unit) => import("mathjs").Unit | import("mathjs").MathCollection; - isNumber: (x: unknown) => x is number; - isBigNumber: (x: unknown) => x is import("mathjs").BigNumber; - isComplex: (x: unknown) => x is import("mathjs").Complex; - isFraction: (x: unknown) => x is import("mathjs").Fraction; - isUnit: (x: unknown) => x is import("mathjs").Unit; - isString: (x: unknown) => x is string; - isArray: (arg: any) => arg is any[]; - isMatrix: (x: unknown) => x is import("mathjs").Matrix; - isCollection: (x: unknown) => x is any[] | import("mathjs").Matrix; - isDenseMatrix: (x: unknown) => x is import("mathjs").Matrix; - isSparseMatrix: (x: unknown) => x is import("mathjs").Matrix; - isRange: (x: unknown) => boolean; - isIndex: (x: unknown) => x is import("mathjs").Index; - isBoolean: (x: unknown) => x is boolean; - isResultSet: (x: unknown) => boolean; - isHelp: (x: unknown) => x is import("mathjs").Help; - isFunction: (x: unknown) => boolean; - isDate: (x: unknown) => x is Date; - isRegExp: (x: unknown) => x is RegExp; - isObject: (x: unknown) => boolean; - isNull: (x: unknown) => x is null; - isUndefined: (x: unknown) => x is undefined; - isAccessorNode: (x: unknown) => x is import("mathjs").AccessorNode; - isArrayNode: (x: unknown) => x is import("mathjs").ArrayNode; - isAssignmentNode: (x: unknown) => x is import("mathjs").AssignmentNode; - isBlockNode: (x: unknown) => x is import("mathjs").BlockNode; - isConditionalNode: (x: unknown) => x is import("mathjs").ConditionalNode; - isConstantNode: (x: unknown) => x is import("mathjs").ConstantNode; - isFunctionAssignmentNode: (x: unknown) => x is import("mathjs").FunctionAssignmentNode; - isFunctionNode: (x: unknown) => x is import("mathjs").FunctionNode; - isIndexNode: (x: unknown) => x is import("mathjs").IndexNode; - isNode: (x: unknown) => x is import("mathjs").MathNode; - isObjectNode: (x: unknown) => x is import("mathjs").ObjectNode>; - isOperatorNode: (x: unknown) => x is import("mathjs").OperatorNode; - isParenthesisNode: (x: unknown) => x is import("mathjs").ParenthesisNode; - isRangeNode: (x: unknown) => x is import("mathjs").RangeNode; - isRelationalNode: (x: unknown) => x is import("mathjs").RelationalNode; - isSymbolNode: (x: unknown) => x is import("mathjs").SymbolNode; - isChain: (x: unknown) => x is import("mathjs").MathJsChain; - clone: (x: TType) => TType; - hasNumericValue: (x: any) => boolean | boolean[]; - isInteger: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").MathCollection) => boolean; - isNaN: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isNegative: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isNumeric: (x: any) => x is number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction; - isPositive: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isPrime: (x: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => boolean; - isZero: (x: import("mathjs").MathType) => boolean; - typeOf: (x: any) => string; - }; - object: typeof object; - selector: typeof selector; - specific: typeof specific; - str: typeof str; - tree: typeof tree; - url: typeof url; - uuid: typeof uuid; - assertion: typeof assertion; - yaml: typeof yaml; -}; -declare const _default: { - array: typeof array; - cls: typeof cls; - clone: typeof clone; - constants: typeof constants; - hash: typeof hash; - math: { - PI: number; - trunc: (x: number) => number; - product: (v1: number[], v2: number[]) => number | number[]; - vlen: (v: number[]) => number; - angle: (a: number[], b: number[], unit: string) => number; - angleUpTo90: (a: number[], b: number[], unit: string) => number; - vDist: (v1: number[], v2: number[]) => number; - vEqualWithTolerance: (vec1: number[], vec2: number[], tolerance?: number) => boolean; - roundToZero: (n: number) => number; - precise: (x: number, n?: number) => number; - mod: (num: number, tolerance?: number) => number; - isBetweenZeroInclusiveAndOne: (number: number, tolerance?: number) => boolean; - cartesianProduct: (...arg: number[][]) => number[][]; - almostEqual: (a: number, b: number, tolerance?: number) => boolean; - combinations: (a: number, b: number, c: number) => number[][]; - combinationsFromIntervals: (arrA: number[], arrB: number[], arrC: number[]) => number[][]; - calculateSegmentsBetweenPoints3D: (point1: (string | number)[], point2: (string | number)[], n: string | number) => number[][]; - roundValueToNDecimals: (value: number, decimals?: number) => number; - numberToPrecision: typeof import("./shared/math").numberToPrecision; - roundCustom: (value: number, decimals?: number, mode?: import("decimal.js").default.Rounding) => number; - RoundingMethod: { - Bankers: 6; - HalfAwayFromZero: 4; - }; - roundArrayOrNumber: (value: unknown, decimals?: number, mode?: import("decimal.js").default.Rounding) => unknown; - AccessorNode: import("mathjs").AccessorNodeCtor; - ArrayNode: import("mathjs").ArrayNodeCtor; - AssignmentNode: import("mathjs").AssignmentNodeCtor; - BlockNode: import("mathjs").BlockNodeCtor; - ConditionalNode: import("mathjs").ConditionalNodeCtor; - ConstantNode: import("mathjs").ConstantNodeCtor; - FunctionAssignmentNode: import("mathjs").FunctionAssignmentNodeCtor; - FunctionNode: import("mathjs").FunctionNodeCtor; - IndexNode: import("mathjs").IndexNodeCtor; - ObjectNode: import("mathjs").ObjectNodeCtor; - OperatorNode: import("mathjs").OperatorNodeCtor; - ParenthesisNode: import("mathjs").ParenthesisNodeCtor; - RangeNode: import("mathjs").RangeNodeCtor; - RelationalNode: import("mathjs").RelationalNodeCtor; - SymbolNode: import("mathjs").SymbolNodeCtor; - all: import("mathjs").FactoryFunctionMap; - typedDependencies: import("mathjs").FactoryFunctionMap; - ResultSetDependencies: import("mathjs").FactoryFunctionMap; - BigNumberDependencies: import("mathjs").FactoryFunctionMap; - ComplexDependencies: import("mathjs").FactoryFunctionMap; - FractionDependencies: import("mathjs").FactoryFunctionMap; - RangeDependencies: import("mathjs").FactoryFunctionMap; - MatrixDependencies: import("mathjs").FactoryFunctionMap; - DenseMatrixDependencies: import("mathjs").FactoryFunctionMap; - cloneDependencies: import("mathjs").FactoryFunctionMap; - isIntegerDependencies: import("mathjs").FactoryFunctionMap; - isNegativeDependencies: import("mathjs").FactoryFunctionMap; - isNumericDependencies: import("mathjs").FactoryFunctionMap; - hasNumericValueDependencies: import("mathjs").FactoryFunctionMap; - isPositiveDependencies: import("mathjs").FactoryFunctionMap; - isZeroDependencies: import("mathjs").FactoryFunctionMap; - isNaNDependencies: import("mathjs").FactoryFunctionMap; - typeOfDependencies: import("mathjs").FactoryFunctionMap; - typeofDependencies: import("mathjs").FactoryFunctionMap; - equalScalarDependencies: import("mathjs").FactoryFunctionMap; - SparseMatrixDependencies: import("mathjs").FactoryFunctionMap; - numberDependencies: import("mathjs").FactoryFunctionMap; - stringDependencies: import("mathjs").FactoryFunctionMap; - booleanDependencies: import("mathjs").FactoryFunctionMap; - bignumberDependencies: import("mathjs").FactoryFunctionMap; - complexDependencies: import("mathjs").FactoryFunctionMap; - fractionDependencies: import("mathjs").FactoryFunctionMap; - matrixDependencies: import("mathjs").FactoryFunctionMap; - splitUnitDependencies: import("mathjs").FactoryFunctionMap; - unaryMinusDependencies: import("mathjs").FactoryFunctionMap; - unaryPlusDependencies: import("mathjs").FactoryFunctionMap; - absDependencies: import("mathjs").FactoryFunctionMap; - applyDependencies: import("mathjs").FactoryFunctionMap; - addScalarDependencies: import("mathjs").FactoryFunctionMap; - cbrtDependencies: import("mathjs").FactoryFunctionMap; - ceilDependencies: import("mathjs").FactoryFunctionMap; - cubeDependencies: import("mathjs").FactoryFunctionMap; - expDependencies: import("mathjs").FactoryFunctionMap; - expm1Dependencies: import("mathjs").FactoryFunctionMap; - fixDependencies: import("mathjs").FactoryFunctionMap; - floorDependencies: import("mathjs").FactoryFunctionMap; - gcdDependencies: import("mathjs").FactoryFunctionMap; - lcmDependencies: import("mathjs").FactoryFunctionMap; - log10Dependencies: import("mathjs").FactoryFunctionMap; - log2Dependencies: import("mathjs").FactoryFunctionMap; - modDependencies: import("mathjs").FactoryFunctionMap; - multiplyScalarDependencies: import("mathjs").FactoryFunctionMap; - multiplyDependencies: import("mathjs").FactoryFunctionMap; - nthRootDependencies: import("mathjs").FactoryFunctionMap; - signDependencies: import("mathjs").FactoryFunctionMap; - sqrtDependencies: import("mathjs").FactoryFunctionMap; - squareDependencies: import("mathjs").FactoryFunctionMap; - subtractDependencies: import("mathjs").FactoryFunctionMap; - xgcdDependencies: import("mathjs").FactoryFunctionMap; - dotMultiplyDependencies: import("mathjs").FactoryFunctionMap; - bitAndDependencies: import("mathjs").FactoryFunctionMap; - bitNotDependencies: import("mathjs").FactoryFunctionMap; - bitOrDependencies: import("mathjs").FactoryFunctionMap; - bitXorDependencies: import("mathjs").FactoryFunctionMap; - argDependencies: import("mathjs").FactoryFunctionMap; - conjDependencies: import("mathjs").FactoryFunctionMap; - imDependencies: import("mathjs").FactoryFunctionMap; - reDependencies: import("mathjs").FactoryFunctionMap; - notDependencies: import("mathjs").FactoryFunctionMap; - orDependencies: import("mathjs").FactoryFunctionMap; - xorDependencies: import("mathjs").FactoryFunctionMap; - concatDependencies: import("mathjs").FactoryFunctionMap; - columnDependencies: import("mathjs").FactoryFunctionMap; - crossDependencies: import("mathjs").FactoryFunctionMap; - diagDependencies: import("mathjs").FactoryFunctionMap; - eyeDependencies: import("mathjs").FactoryFunctionMap; - filterDependencies: import("mathjs").FactoryFunctionMap; - flattenDependencies: import("mathjs").FactoryFunctionMap; - forEachDependencies: import("mathjs").FactoryFunctionMap; - getMatrixDataTypeDependencies: import("mathjs").FactoryFunctionMap; - identityDependencies: import("mathjs").FactoryFunctionMap; - kronDependencies: import("mathjs").FactoryFunctionMap; - mapDependencies: import("mathjs").FactoryFunctionMap; - onesDependencies: import("mathjs").FactoryFunctionMap; - rangeDependencies: import("mathjs").FactoryFunctionMap; - reshapeDependencies: import("mathjs").FactoryFunctionMap; - resizeDependencies: import("mathjs").FactoryFunctionMap; - rowDependencies: import("mathjs").FactoryFunctionMap; - sizeDependencies: import("mathjs").FactoryFunctionMap; - squeezeDependencies: import("mathjs").FactoryFunctionMap; - subsetDependencies: import("mathjs").FactoryFunctionMap; - transposeDependencies: import("mathjs").FactoryFunctionMap; - ctransposeDependencies: import("mathjs").FactoryFunctionMap; - zerosDependencies: import("mathjs").FactoryFunctionMap; - erfDependencies: import("mathjs").FactoryFunctionMap; - modeDependencies: import("mathjs").FactoryFunctionMap; - prodDependencies: import("mathjs").FactoryFunctionMap; - formatDependencies: import("mathjs").FactoryFunctionMap; - printDependencies: import("mathjs").FactoryFunctionMap; - toDependencies: import("mathjs").FactoryFunctionMap; - isPrimeDependencies: import("mathjs").FactoryFunctionMap; - numericDependencies: import("mathjs").FactoryFunctionMap; - divideScalarDependencies: import("mathjs").FactoryFunctionMap; - powDependencies: import("mathjs").FactoryFunctionMap; - roundDependencies: import("mathjs").FactoryFunctionMap; - logDependencies: import("mathjs").FactoryFunctionMap; - log1pDependencies: import("mathjs").FactoryFunctionMap; - nthRootsDependencies: import("mathjs").FactoryFunctionMap; - dotPowDependencies: import("mathjs").FactoryFunctionMap; - dotDivideDependencies: import("mathjs").FactoryFunctionMap; - lsolveDependencies: import("mathjs").FactoryFunctionMap; - usolveDependencies: import("mathjs").FactoryFunctionMap; - leftShiftDependencies: import("mathjs").FactoryFunctionMap; - rightArithShiftDependencies: import("mathjs").FactoryFunctionMap; - rightLogShiftDependencies: import("mathjs").FactoryFunctionMap; - andDependencies: import("mathjs").FactoryFunctionMap; - compareDependencies: import("mathjs").FactoryFunctionMap; - compareNaturalDependencies: import("mathjs").FactoryFunctionMap; - compareTextDependencies: import("mathjs").FactoryFunctionMap; - equalDependencies: import("mathjs").FactoryFunctionMap; - equalTextDependencies: import("mathjs").FactoryFunctionMap; - smallerDependencies: import("mathjs").FactoryFunctionMap; - smallerEqDependencies: import("mathjs").FactoryFunctionMap; - largerDependencies: import("mathjs").FactoryFunctionMap; - largerEqDependencies: import("mathjs").FactoryFunctionMap; - deepEqualDependencies: import("mathjs").FactoryFunctionMap; - unequalDependencies: import("mathjs").FactoryFunctionMap; - partitionSelectDependencies: import("mathjs").FactoryFunctionMap; - sortDependencies: import("mathjs").FactoryFunctionMap; - maxDependencies: import("mathjs").FactoryFunctionMap; - minDependencies: import("mathjs").FactoryFunctionMap; - ImmutableDenseMatrixDependencies: import("mathjs").FactoryFunctionMap; - IndexDependencies: import("mathjs").FactoryFunctionMap; - FibonacciHeapDependencies: import("mathjs").FactoryFunctionMap; - SpaDependencies: import("mathjs").FactoryFunctionMap; - UnitDependencies: import("mathjs").FactoryFunctionMap; - unitDependencies: import("mathjs").FactoryFunctionMap; - sparseDependencies: import("mathjs").FactoryFunctionMap; - createUnitDependencies: import("mathjs").FactoryFunctionMap; - acosDependencies: import("mathjs").FactoryFunctionMap; - acoshDependencies: import("mathjs").FactoryFunctionMap; - acotDependencies: import("mathjs").FactoryFunctionMap; - acothDependencies: import("mathjs").FactoryFunctionMap; - acscDependencies: import("mathjs").FactoryFunctionMap; - acschDependencies: import("mathjs").FactoryFunctionMap; - asecDependencies: import("mathjs").FactoryFunctionMap; - asechDependencies: import("mathjs").FactoryFunctionMap; - asinDependencies: import("mathjs").FactoryFunctionMap; - asinhDependencies: import("mathjs").FactoryFunctionMap; - atanDependencies: import("mathjs").FactoryFunctionMap; - atan2Dependencies: import("mathjs").FactoryFunctionMap; - atanhDependencies: import("mathjs").FactoryFunctionMap; - cosDependencies: import("mathjs").FactoryFunctionMap; - coshDependencies: import("mathjs").FactoryFunctionMap; - cotDependencies: import("mathjs").FactoryFunctionMap; - cothDependencies: import("mathjs").FactoryFunctionMap; - cscDependencies: import("mathjs").FactoryFunctionMap; - cschDependencies: import("mathjs").FactoryFunctionMap; - secDependencies: import("mathjs").FactoryFunctionMap; - sechDependencies: import("mathjs").FactoryFunctionMap; - sinDependencies: import("mathjs").FactoryFunctionMap; - sinhDependencies: import("mathjs").FactoryFunctionMap; - tanDependencies: import("mathjs").FactoryFunctionMap; - tanhDependencies: import("mathjs").FactoryFunctionMap; - setCartesianDependencies: import("mathjs").FactoryFunctionMap; - setDifferenceDependencies: import("mathjs").FactoryFunctionMap; - setDistinctDependencies: import("mathjs").FactoryFunctionMap; - setIntersectDependencies: import("mathjs").FactoryFunctionMap; - setIsSubsetDependencies: import("mathjs").FactoryFunctionMap; - setMultiplicityDependencies: import("mathjs").FactoryFunctionMap; - setPowersetDependencies: import("mathjs").FactoryFunctionMap; - setSizeDependencies: import("mathjs").FactoryFunctionMap; - setSymDifferenceDependencies: import("mathjs").FactoryFunctionMap; - setUnionDependencies: import("mathjs").FactoryFunctionMap; - zpk2tfDependencies: import("mathjs").FactoryFunctionMap; - freqzDependencies: import("mathjs").FactoryFunctionMap; - addDependencies: import("mathjs").FactoryFunctionMap; - hypotDependencies: import("mathjs").FactoryFunctionMap; - normDependencies: import("mathjs").FactoryFunctionMap; - dotDependencies: import("mathjs").FactoryFunctionMap; - traceDependencies: import("mathjs").FactoryFunctionMap; - indexDependencies: import("mathjs").FactoryFunctionMap; - NodeDependencies: import("mathjs").FactoryFunctionMap; - AccessorNodeDependencies: import("mathjs").FactoryFunctionMap; - ArrayNodeDependencies: import("mathjs").FactoryFunctionMap; - AssignmentNodeDependencies: import("mathjs").FactoryFunctionMap; - BlockNodeDependencies: import("mathjs").FactoryFunctionMap; - ConditionalNodeDependencies: import("mathjs").FactoryFunctionMap; - ConstantNodeDependencies: import("mathjs").FactoryFunctionMap; - FunctionAssignmentNodeDependencies: import("mathjs").FactoryFunctionMap; - IndexNodeDependencies: import("mathjs").FactoryFunctionMap; - ObjectNodeDependencies: import("mathjs").FactoryFunctionMap; - OperatorNodeDependencies: import("mathjs").FactoryFunctionMap; - ParenthesisNodeDependencies: import("mathjs").FactoryFunctionMap; - RangeNodeDependencies: import("mathjs").FactoryFunctionMap; - RelationalNodeDependencies: import("mathjs").FactoryFunctionMap; - SymbolNodeDependencies: import("mathjs").FactoryFunctionMap; - FunctionNodeDependencies: import("mathjs").FactoryFunctionMap; - parseDependencies: import("mathjs").FactoryFunctionMap; - compileDependencies: import("mathjs").FactoryFunctionMap; - evaluateDependencies: import("mathjs").FactoryFunctionMap; - evalDependencies: import("mathjs").FactoryFunctionMap; - ParserDependencies: import("mathjs").FactoryFunctionMap; - parserDependencies: import("mathjs").FactoryFunctionMap; - lupDependencies: import("mathjs").FactoryFunctionMap; - qrDependencies: import("mathjs").FactoryFunctionMap; - sluDependencies: import("mathjs").FactoryFunctionMap; - lusolveDependencies: import("mathjs").FactoryFunctionMap; - HelpDependencies: import("mathjs").FactoryFunctionMap; - ChainDependencies: import("mathjs").FactoryFunctionMap; - helpDependencies: import("mathjs").FactoryFunctionMap; - chainDependencies: import("mathjs").FactoryFunctionMap; - detDependencies: import("mathjs").FactoryFunctionMap; - invDependencies: import("mathjs").FactoryFunctionMap; - expmDependencies: import("mathjs").FactoryFunctionMap; - sqrtmDependencies: import("mathjs").FactoryFunctionMap; - sylvesterDependencies: import("mathjs").FactoryFunctionMap; - schurDependencies: import("mathjs").FactoryFunctionMap; - lyapDependencies: import("mathjs").FactoryFunctionMap; - divideDependencies: import("mathjs").FactoryFunctionMap; - distanceDependencies: import("mathjs").FactoryFunctionMap; - intersectDependencies: import("mathjs").FactoryFunctionMap; - sumDependencies: import("mathjs").FactoryFunctionMap; - meanDependencies: import("mathjs").FactoryFunctionMap; - medianDependencies: import("mathjs").FactoryFunctionMap; - madDependencies: import("mathjs").FactoryFunctionMap; - varianceDependencies: import("mathjs").FactoryFunctionMap; - varDependencies: import("mathjs").FactoryFunctionMap; - quantileSeqDependencies: import("mathjs").FactoryFunctionMap; - stdDependencies: import("mathjs").FactoryFunctionMap; - combinationsDependencies: import("mathjs").FactoryFunctionMap; - gammaDependencies: import("mathjs").FactoryFunctionMap; - factorialDependencies: import("mathjs").FactoryFunctionMap; - kldivergenceDependencies: import("mathjs").FactoryFunctionMap; - multinomialDependencies: import("mathjs").FactoryFunctionMap; - permutationsDependencies: import("mathjs").FactoryFunctionMap; - pickRandomDependencies: import("mathjs").FactoryFunctionMap; - randomDependencies: import("mathjs").FactoryFunctionMap; - randomIntDependencies: import("mathjs").FactoryFunctionMap; - stirlingS2Dependencies: import("mathjs").FactoryFunctionMap; - bellNumbersDependencies: import("mathjs").FactoryFunctionMap; - catalanDependencies: import("mathjs").FactoryFunctionMap; - compositionDependencies: import("mathjs").FactoryFunctionMap; - simplifyDependencies: import("mathjs").FactoryFunctionMap; - derivativeDependencies: import("mathjs").FactoryFunctionMap; - rationalizeDependencies: import("mathjs").FactoryFunctionMap; - reviverDependencies: import("mathjs").FactoryFunctionMap; - eDependencies: import("mathjs").FactoryFunctionMap; - EDependencies: import("mathjs").FactoryFunctionMap; - falseDependencies: import("mathjs").FactoryFunctionMap; - iDependencies: import("mathjs").FactoryFunctionMap; - InfinityDependencies: import("mathjs").FactoryFunctionMap; - LN10Dependencies: import("mathjs").FactoryFunctionMap; - LN2Dependencies: import("mathjs").FactoryFunctionMap; - LOG10EDependencies: import("mathjs").FactoryFunctionMap; - LOG2EDependencies: import("mathjs").FactoryFunctionMap; - NaNDependencies: import("mathjs").FactoryFunctionMap; - nullDependencies: import("mathjs").FactoryFunctionMap; - phiDependencies: import("mathjs").FactoryFunctionMap; - piDependencies: import("mathjs").FactoryFunctionMap; - PIDependencies: import("mathjs").FactoryFunctionMap; - SQRT1_2Dependencies: import("mathjs").FactoryFunctionMap; - SQRT2Dependencies: import("mathjs").FactoryFunctionMap; - tauDependencies: import("mathjs").FactoryFunctionMap; - trueDependencies: import("mathjs").FactoryFunctionMap; - versionDependencies: import("mathjs").FactoryFunctionMap; - atomicMassDependencies: import("mathjs").FactoryFunctionMap; - avogadroDependencies: import("mathjs").FactoryFunctionMap; - bohrMagnetonDependencies: import("mathjs").FactoryFunctionMap; - bohrRadiusDependencies: import("mathjs").FactoryFunctionMap; - boltzmannDependencies: import("mathjs").FactoryFunctionMap; - classicalElectronRadiusDependencies: import("mathjs").FactoryFunctionMap; - conductanceQuantumDependencies: import("mathjs").FactoryFunctionMap; - coulombDependencies: import("mathjs").FactoryFunctionMap; - deuteronMassDependencies: import("mathjs").FactoryFunctionMap; - efimovFactorDependencies: import("mathjs").FactoryFunctionMap; - electricConstantDependencies: import("mathjs").FactoryFunctionMap; - electronMassDependencies: import("mathjs").FactoryFunctionMap; - elementaryChargeDependencies: import("mathjs").FactoryFunctionMap; - faradayDependencies: import("mathjs").FactoryFunctionMap; - fermiCouplingDependencies: import("mathjs").FactoryFunctionMap; - fineStructureDependencies: import("mathjs").FactoryFunctionMap; - firstRadiationDependencies: import("mathjs").FactoryFunctionMap; - gasConstantDependencies: import("mathjs").FactoryFunctionMap; - gravitationConstantDependencies: import("mathjs").FactoryFunctionMap; - gravityDependencies: import("mathjs").FactoryFunctionMap; - hartreeEnergyDependencies: import("mathjs").FactoryFunctionMap; - inverseConductanceQuantumDependencies: import("mathjs").FactoryFunctionMap; - klitzingDependencies: import("mathjs").FactoryFunctionMap; - loschmidtDependencies: import("mathjs").FactoryFunctionMap; - magneticConstantDependencies: import("mathjs").FactoryFunctionMap; - magneticFluxQuantumDependencies: import("mathjs").FactoryFunctionMap; - molarMassDependencies: import("mathjs").FactoryFunctionMap; - molarMassC12Dependencies: import("mathjs").FactoryFunctionMap; - molarPlanckConstantDependencies: import("mathjs").FactoryFunctionMap; - molarVolumeDependencies: import("mathjs").FactoryFunctionMap; - neutronMassDependencies: import("mathjs").FactoryFunctionMap; - nuclearMagnetonDependencies: import("mathjs").FactoryFunctionMap; - planckChargeDependencies: import("mathjs").FactoryFunctionMap; - planckConstantDependencies: import("mathjs").FactoryFunctionMap; - planckLengthDependencies: import("mathjs").FactoryFunctionMap; - planckMassDependencies: import("mathjs").FactoryFunctionMap; - planckTemperatureDependencies: import("mathjs").FactoryFunctionMap; - planckTimeDependencies: import("mathjs").FactoryFunctionMap; - protonMassDependencies: import("mathjs").FactoryFunctionMap; - quantumOfCirculationDependencies: import("mathjs").FactoryFunctionMap; - reducedPlanckConstantDependencies: import("mathjs").FactoryFunctionMap; - rydbergDependencies: import("mathjs").FactoryFunctionMap; - sackurTetrodeDependencies: import("mathjs").FactoryFunctionMap; - secondRadiationDependencies: import("mathjs").FactoryFunctionMap; - speedOfLightDependencies: import("mathjs").FactoryFunctionMap; - stefanBoltzmannDependencies: import("mathjs").FactoryFunctionMap; - thomsonCrossSectionDependencies: import("mathjs").FactoryFunctionMap; - vacuumImpedanceDependencies: import("mathjs").FactoryFunctionMap; - weakMixingAngleDependencies: import("mathjs").FactoryFunctionMap; - wienDisplacementDependencies: import("mathjs").FactoryFunctionMap; - applyTransformDependencies: import("mathjs").FactoryFunctionMap; - columnTransformDependencies: import("mathjs").FactoryFunctionMap; - filterTransformDependencies: import("mathjs").FactoryFunctionMap; - forEachTransformDependencies: import("mathjs").FactoryFunctionMap; - indexTransformDependencies: import("mathjs").FactoryFunctionMap; - mapTransformDependencies: import("mathjs").FactoryFunctionMap; - maxTransformDependencies: import("mathjs").FactoryFunctionMap; - meanTransformDependencies: import("mathjs").FactoryFunctionMap; - minTransformDependencies: import("mathjs").FactoryFunctionMap; - rangeTransformDependencies: import("mathjs").FactoryFunctionMap; - rowTransformDependencies: import("mathjs").FactoryFunctionMap; - subsetTransformDependencies: import("mathjs").FactoryFunctionMap; - concatTransformDependencies: import("mathjs").FactoryFunctionMap; - stdTransformDependencies: import("mathjs").FactoryFunctionMap; - sumTransformDependencies: import("mathjs").FactoryFunctionMap; - varianceTransformDependencies: import("mathjs").FactoryFunctionMap; - Matrix: import("mathjs").MatrixCtor; - create: (factories: import("mathjs").FactoryFunctionMap, config?: import("mathjs").ConfigOptions | undefined) => import("mathjs").MathJsInstance; - factory: (name: string, dependencies: TDeps, create: (injected: Pick | Extract<"number", TDeps[number]> | Extract<"boolean", TDeps[number]> | Extract<"concat", TDeps[number]> | Extract<"sort", TDeps[number]> | Extract<"forEach", TDeps[number]> | Extract<"map", TDeps[number]> | Extract<"filter", TDeps[number]> | Extract<"AccessorNode", TDeps[number]> | Extract<"ArrayNode", TDeps[number]> | Extract<"AssignmentNode", TDeps[number]> | Extract<"BlockNode", TDeps[number]> | Extract<"ConditionalNode", TDeps[number]> | Extract<"ConstantNode", TDeps[number]> | Extract<"FunctionAssignmentNode", TDeps[number]> | Extract<"FunctionNode", TDeps[number]> | Extract<"IndexNode", TDeps[number]> | Extract<"ObjectNode", TDeps[number]> | Extract<"OperatorNode", TDeps[number]> | Extract<"ParenthesisNode", TDeps[number]> | Extract<"RangeNode", TDeps[number]> | Extract<"RelationalNode", TDeps[number]> | Extract<"SymbolNode", TDeps[number]> | Extract<"Matrix", TDeps[number]> | Extract<"create", TDeps[number]> | Extract<"factory", TDeps[number]> | Extract<"typed", TDeps[number]> | Extract<"e", TDeps[number]> | Extract<"pi", TDeps[number]> | Extract<"i", TDeps[number]> | Extract<"LN2", TDeps[number]> | Extract<"LN10", TDeps[number]> | Extract<"LOG2E", TDeps[number]> | Extract<"LOG10E", TDeps[number]> | Extract<"phi", TDeps[number]> | Extract<"SQRT1_2", TDeps[number]> | Extract<"SQRT2", TDeps[number]> | Extract<"tau", TDeps[number]> | Extract<"Node", TDeps[number]> | Extract<"uninitialized", TDeps[number]> | Extract<"version", TDeps[number]> | Extract<"expression", TDeps[number]> | Extract<"reviver", TDeps[number]> | Extract<"replacer", TDeps[number]> | Extract<"bignumber", TDeps[number]> | Extract<"chain", TDeps[number]> | Extract<"complex", TDeps[number]> | Extract<"createUnit", TDeps[number]> | Extract<"fraction", TDeps[number]> | Extract<"index", TDeps[number]> | Extract<"matrix", TDeps[number]> | Extract<"sparse", TDeps[number]> | Extract<"splitUnit", TDeps[number]> | Extract<"unit", TDeps[number]> | Extract<"compile", TDeps[number]> | Extract<"evaluate", TDeps[number]> | Extract<"help", TDeps[number]> | Extract<"parse", TDeps[number]> | Extract<"parser", TDeps[number]> | Extract<"derivative", TDeps[number]> | Extract<"lsolve", TDeps[number]> | Extract<"lup", TDeps[number]> | Extract<"lusolve", TDeps[number]> | Extract<"polynomialRoot", TDeps[number]> | Extract<"qr", TDeps[number]> | Extract<"rationalize", TDeps[number]> | Extract<"simplify", TDeps[number]> | Extract<"simplifyConstant", TDeps[number]> | Extract<"simplifyCore", TDeps[number]> | Extract<"resolve", TDeps[number]> | Extract<"slu", TDeps[number]> | Extract<"usolve", TDeps[number]> | Extract<"abs", TDeps[number]> | Extract<"add", TDeps[number]> | Extract<"cbrt", TDeps[number]> | Extract<"ceil", TDeps[number]> | Extract<"fix", TDeps[number]> | Extract<"floor", TDeps[number]> | Extract<"round", TDeps[number]> | Extract<"cube", TDeps[number]> | Extract<"divide", TDeps[number]> | Extract<"dotDivide", TDeps[number]> | Extract<"dotMultiply", TDeps[number]> | Extract<"dotPow", TDeps[number]> | Extract<"exp", TDeps[number]> | Extract<"expm1", TDeps[number]> | Extract<"gcd", TDeps[number]> | Extract<"hypot", TDeps[number]> | Extract<"lcm", TDeps[number]> | Extract<"log", TDeps[number]> | Extract<"log10", TDeps[number]> | Extract<"log1p", TDeps[number]> | Extract<"log2", TDeps[number]> | Extract<"mod", TDeps[number]> | Extract<"multiply", TDeps[number]> | Extract<"norm", TDeps[number]> | Extract<"nthRoot", TDeps[number]> | Extract<"pow", TDeps[number]> | Extract<"sign", TDeps[number]> | Extract<"sqrt", TDeps[number]> | Extract<"square", TDeps[number]> | Extract<"subtract", TDeps[number]> | Extract<"unaryMinus", TDeps[number]> | Extract<"unaryPlus", TDeps[number]> | Extract<"xgcd", TDeps[number]> | Extract<"bitAnd", TDeps[number]> | Extract<"bitNot", TDeps[number]> | Extract<"bitOr", TDeps[number]> | Extract<"bitXor", TDeps[number]> | Extract<"leftShift", TDeps[number]> | Extract<"rightArithShift", TDeps[number]> | Extract<"rightLogShift", TDeps[number]> | Extract<"bellNumbers", TDeps[number]> | Extract<"catalan", TDeps[number]> | Extract<"composition", TDeps[number]> | Extract<"stirlingS2", TDeps[number]> | Extract<"arg", TDeps[number]> | Extract<"conj", TDeps[number]> | Extract<"im", TDeps[number]> | Extract<"re", TDeps[number]> | Extract<"distance", TDeps[number]> | Extract<"intersect", TDeps[number]> | Extract<"and", TDeps[number]> | Extract<"not", TDeps[number]> | Extract<"or", TDeps[number]> | Extract<"xor", TDeps[number]> | Extract<"apply", TDeps[number]> | Extract<"cross", TDeps[number]> | Extract<"det", TDeps[number]> | Extract<"diag", TDeps[number]> | Extract<"dot", TDeps[number]> | Extract<"eigs", TDeps[number]> | Extract<"expm", TDeps[number]> | Extract<"sylvester", TDeps[number]> | Extract<"schur", TDeps[number]> | Extract<"lyap", TDeps[number]> | Extract<"identity", TDeps[number]> | Extract<"flatten", TDeps[number]> | Extract<"inv", TDeps[number]> | Extract<"kron", TDeps[number]> | Extract<"ones", TDeps[number]> | Extract<"partitionSelect", TDeps[number]> | Extract<"pinv", TDeps[number]> | Extract<"range", TDeps[number]> | Extract<"reshape", TDeps[number]> | Extract<"resize", TDeps[number]> | Extract<"rotationMatrix", TDeps[number]> | Extract<"row", TDeps[number]> | Extract<"column", TDeps[number]> | Extract<"rotate", TDeps[number]> | Extract<"size", TDeps[number]> | Extract<"sqrtm", TDeps[number]> | Extract<"squeeze", TDeps[number]> | Extract<"subset", TDeps[number]> | Extract<"trace", TDeps[number]> | Extract<"transpose", TDeps[number]> | Extract<"zeros", TDeps[number]> | Extract<"fft", TDeps[number]> | Extract<"ifft", TDeps[number]> | Extract<"combinations", TDeps[number]> | Extract<"factorial", TDeps[number]> | Extract<"gamma", TDeps[number]> | Extract<"kldivergence", TDeps[number]> | Extract<"lgamma", TDeps[number]> | Extract<"multinomial", TDeps[number]> | Extract<"permutations", TDeps[number]> | Extract<"pickRandom", TDeps[number]> | Extract<"random", TDeps[number]> | Extract<"randomInt", TDeps[number]> | Extract<"compare", TDeps[number]> | Extract<"compareNatural", TDeps[number]> | Extract<"compareText", TDeps[number]> | Extract<"deepEqual", TDeps[number]> | Extract<"equal", TDeps[number]> | Extract<"equalText", TDeps[number]> | Extract<"larger", TDeps[number]> | Extract<"largerEq", TDeps[number]> | Extract<"smaller", TDeps[number]> | Extract<"smallerEq", TDeps[number]> | Extract<"unequal", TDeps[number]> | Extract<"setCartesian", TDeps[number]> | Extract<"setDifference", TDeps[number]> | Extract<"setDistinct", TDeps[number]> | Extract<"setIntersect", TDeps[number]> | Extract<"setIsSubset", TDeps[number]> | Extract<"setMultiplicity", TDeps[number]> | Extract<"setPowerset", TDeps[number]> | Extract<"setSize", TDeps[number]> | Extract<"setSymDifference", TDeps[number]> | Extract<"setUnion", TDeps[number]> | Extract<"zpk2tf", TDeps[number]> | Extract<"freqz", TDeps[number]> | Extract<"erf", TDeps[number]> | Extract<"zeta", TDeps[number]> | Extract<"mad", TDeps[number]> | Extract<"max", TDeps[number]> | Extract<"mean", TDeps[number]> | Extract<"median", TDeps[number]> | Extract<"min", TDeps[number]> | Extract<"mode", TDeps[number]> | Extract<"prod", TDeps[number]> | Extract<"quantileSeq", TDeps[number]> | Extract<"std", TDeps[number]> | Extract<"sum", TDeps[number]> | Extract<"count", TDeps[number]> | Extract<"cumsum", TDeps[number]> | Extract<"variance", TDeps[number]> | Extract<"corr", TDeps[number]> | Extract<"format", TDeps[number]> | Extract<"print", TDeps[number]> | Extract<"acos", TDeps[number]> | Extract<"acosh", TDeps[number]> | Extract<"acot", TDeps[number]> | Extract<"acoth", TDeps[number]> | Extract<"acsc", TDeps[number]> | Extract<"acsch", TDeps[number]> | Extract<"asec", TDeps[number]> | Extract<"asech", TDeps[number]> | Extract<"asin", TDeps[number]> | Extract<"asinh", TDeps[number]> | Extract<"atan", TDeps[number]> | Extract<"atan2", TDeps[number]> | Extract<"atanh", TDeps[number]> | Extract<"cos", TDeps[number]> | Extract<"cosh", TDeps[number]> | Extract<"cot", TDeps[number]> | Extract<"coth", TDeps[number]> | Extract<"csc", TDeps[number]> | Extract<"csch", TDeps[number]> | Extract<"sec", TDeps[number]> | Extract<"sech", TDeps[number]> | Extract<"sin", TDeps[number]> | Extract<"sinh", TDeps[number]> | Extract<"tan", TDeps[number]> | Extract<"tanh", TDeps[number]> | Extract<"to", TDeps[number]> | Extract<"isNumber", TDeps[number]> | Extract<"isBigNumber", TDeps[number]> | Extract<"isComplex", TDeps[number]> | Extract<"isFraction", TDeps[number]> | Extract<"isUnit", TDeps[number]> | Extract<"isString", TDeps[number]> | Extract<"isArray", TDeps[number]> | Extract<"isMatrix", TDeps[number]> | Extract<"isCollection", TDeps[number]> | Extract<"isDenseMatrix", TDeps[number]> | Extract<"isSparseMatrix", TDeps[number]> | Extract<"isRange", TDeps[number]> | Extract<"isIndex", TDeps[number]> | Extract<"isBoolean", TDeps[number]> | Extract<"isResultSet", TDeps[number]> | Extract<"isHelp", TDeps[number]> | Extract<"isFunction", TDeps[number]> | Extract<"isDate", TDeps[number]> | Extract<"isRegExp", TDeps[number]> | Extract<"isObject", TDeps[number]> | Extract<"isNull", TDeps[number]> | Extract<"isUndefined", TDeps[number]> | Extract<"isAccessorNode", TDeps[number]> | Extract<"isArrayNode", TDeps[number]> | Extract<"isAssignmentNode", TDeps[number]> | Extract<"isBlockNode", TDeps[number]> | Extract<"isConditionalNode", TDeps[number]> | Extract<"isConstantNode", TDeps[number]> | Extract<"isFunctionAssignmentNode", TDeps[number]> | Extract<"isFunctionNode", TDeps[number]> | Extract<"isIndexNode", TDeps[number]> | Extract<"isNode", TDeps[number]> | Extract<"isObjectNode", TDeps[number]> | Extract<"isOperatorNode", TDeps[number]> | Extract<"isParenthesisNode", TDeps[number]> | Extract<"isRangeNode", TDeps[number]> | Extract<"isRelationalNode", TDeps[number]> | Extract<"isSymbolNode", TDeps[number]> | Extract<"isChain", TDeps[number]> | Extract<"clone", TDeps[number]> | Extract<"hasNumericValue", TDeps[number]> | Extract<"isInteger", TDeps[number]> | Extract<"isNaN", TDeps[number]> | Extract<"isNegative", TDeps[number]> | Extract<"isNumeric", TDeps[number]> | Extract<"isPositive", TDeps[number]> | Extract<"isPrime", TDeps[number]> | Extract<"isZero", TDeps[number]> | Extract<"typeOf", TDeps[number]> | Extract<"Infinity", TDeps[number]> | Extract<"NaN", TDeps[number]> | Extract<"config", TDeps[number]> | Extract<"symbolicEqual", TDeps[number]> | Extract<"import", TDeps[number]>>) => T, meta?: any) => import("mathjs").FactoryFunction; - typed: (name: string, signatures: Record any>) => (...args: any[]) => any; - e: number; - pi: number; - i: number; - LN2: number; - LN10: number; - LOG2E: number; - LOG10E: number; - phi: number; - SQRT1_2: number; - SQRT2: number; - tau: number; - Node: import("mathjs").NodeCtor; - uninitialized: any; - version: string; - expression: import("mathjs").MathNode; - reviver: () => (key: any, value: any) => any; - replacer: () => (key: any, value: any) => any; - bignumber: { - (x?: string | number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): import("mathjs").BigNumber; - (x: T_1): T_1; - }; - boolean: { - (x: string | number | boolean | null): boolean; - (x: import("mathjs").MathCollection): import("mathjs").MathCollection; - }; - chain: (value?: TValue | undefined) => import("mathjs").MathJsChain; - complex: { - (arg?: string | import("mathjs").MathNumericType | import("mathjs").PolarCoordinates | undefined): import("mathjs").Complex; - (arg?: import("mathjs").MathCollection | undefined): import("mathjs").MathCollection; - (re: number, im: number): import("mathjs").Complex; - }; - createUnit: { - (name: string, definition?: string | import("mathjs").Unit | import("mathjs").UnitDefinition | undefined, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit; - (units: Record, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit; - }; - fraction: { - (value: string | number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").FractionDefinition): import("mathjs").Fraction; - (values: import("mathjs").MathCollection): import("mathjs").MathCollection; - (numerator: number, denominator: number): import("mathjs").Fraction; - }; - index: (...ranges: any[]) => import("mathjs").Index; - matrix: { - (format?: "sparse" | "dense" | undefined): import("mathjs").Matrix; - (data: string[] | import("mathjs").MathCollection, format?: "sparse" | "dense" | undefined, dataType?: string | undefined): import("mathjs").Matrix; - }; - number: { - (value?: string | number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): number; - (value?: import("mathjs").MathCollection | undefined): number | import("mathjs").MathCollection; - (unit: import("mathjs").Unit, valuelessUnit: string | import("mathjs").Unit): number; - }; - sparse: (data?: import("mathjs").MathCollection | undefined, dataType?: string | undefined) => import("mathjs").Matrix; - splitUnit: (unit: import("mathjs").Unit, parts: import("mathjs").Unit[]) => import("mathjs").Unit[]; - string: { - (value: string | import("mathjs").MathNumericType | import("mathjs").Unit | null): string; - (value: import("mathjs").MathCollection): import("mathjs").MathCollection; - }; - unit: { - (unit: string): import("mathjs").Unit; - (unit: import("mathjs").Unit): import("mathjs").Unit; - (value: import("mathjs").MathNumericType, unit: string): import("mathjs").Unit; - (value: import("mathjs").MathCollection, unit: string): import("mathjs").Unit[]; - }; - compile: { - (expr: import("mathjs").MathExpression): import("mathjs").EvalFunction; - (exprs: import("mathjs").MathExpression[]): import("mathjs").EvalFunction[]; - }; - evaluate: { - (expr: import("mathjs").MathExpression, scope?: object | undefined): any; - (expr: import("mathjs").MathExpression[], scope?: object | undefined): any[]; - }; - help: (search: () => any) => import("mathjs").Help; - parse: import("mathjs").ParseFunction; - parser: () => import("mathjs").Parser; - derivative: (expr: string | import("mathjs").MathNode, variable: string | import("mathjs").MathNode, options?: { - simplify: boolean; - } | undefined) => import("mathjs").MathNode; - lsolve: { - (L: import("mathjs").Matrix, b: import("mathjs").MathCollection): import("mathjs").Matrix; - (L: import("mathjs").MathArray, b: import("mathjs").MathCollection): import("mathjs").MathArray; - }; - lup: (A?: import("mathjs").MathCollection | undefined) => import("mathjs").LUDecomposition; - lusolve: { - (A: import("mathjs").Matrix, b: import("mathjs").MathCollection, order?: number | undefined, threshold?: number | undefined): import("mathjs").Matrix; - (A: import("mathjs").MathArray, b: import("mathjs").MathCollection, order?: number | undefined, threshold?: number | undefined): import("mathjs").MathArray; - (A: import("mathjs").LUDecomposition, b: import("mathjs").MathCollection): import("mathjs").Matrix; - }; - polynomialRoot: (constantCoeff: number | import("mathjs").Complex, linearCoeff: number | import("mathjs").Complex, quadraticCoeff?: number | import("mathjs").Complex | undefined, cubicCoeff?: number | import("mathjs").Complex | undefined) => (number | import("mathjs").Complex)[]; - qr: (A: import("mathjs").MathCollection) => import("mathjs").QRDecomposition; - rationalize: { - (expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: false | undefined): import("mathjs").MathNode; - (expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: true | undefined): { - expression: string | import("mathjs").MathNode; - variables: string[]; - coefficients: import("mathjs").MathType[]; - }; - }; - simplify: import("mathjs").Simplify; - simplifyConstant: (expr: string | import("mathjs").MathNode, options?: import("mathjs").SimplifyOptions | undefined) => import("mathjs").MathNode; - simplifyCore: (expr: string | import("mathjs").MathNode, options?: import("mathjs").SimplifyOptions | undefined) => import("mathjs").MathNode; - resolve: { - (node: string | import("mathjs").MathNode, scope?: Record | undefined): import("mathjs").MathNode; - (node: (string | import("mathjs").MathNode)[], scope?: Record | undefined): import("mathjs").MathNode[]; - (node: import("mathjs").Matrix, scope?: Record | undefined): import("mathjs").Matrix; - }; - slu: (A: import("mathjs").Matrix, order: number, threshold: number) => import("mathjs").SLUDecomposition; - usolve: { - (U: import("mathjs").Matrix, b: import("mathjs").MathCollection): import("mathjs").Matrix; - (U: import("mathjs").MathArray, b: import("mathjs").MathCollection): import("mathjs").MathArray; - }; - abs: (x: T_2) => T_2; - add: { - (x: T_3, y: T_3): T_3; - (...values: T_4[]): T_4; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - (...values: import("mathjs").MathType[]): import("mathjs").MathType; - }; - cbrt: { - (x: import("mathjs").Complex, allRoots?: boolean | undefined): import("mathjs").Complex; - (x: T_5): T_5; - }; - ceil: { - (x: T_6, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U): U; - }; - fix: { - (x: T_7, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_1): U_1; - }; - floor: { - (x: T_8, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_2): U_2; - }; - round: { - (x: T_9, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_3): U_3; - (x: U_4, unit: import("mathjs").Unit): U_4; - (x: import("mathjs").Unit, unit: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").Unit, n: number | import("mathjs").BigNumber, unit: import("mathjs").Unit): import("mathjs").Unit; - (x: U_5, n: number | import("mathjs").BigNumber, unit: import("mathjs").Unit): U_5; - }; - cube: (x: T_10) => T_10; - divide: { - (x: import("mathjs").Unit, y: import("mathjs").Unit): number | import("mathjs").Unit; - (x: import("mathjs").Unit, y: number): import("mathjs").Unit; - (x: number, y: number): number; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - }; - dotDivide: { - (x: T_11, y: import("mathjs").MathType): T_11; - (x: import("mathjs").MathType, y: T_12): T_12; - (x: import("mathjs").Unit, y: import("mathjs").MathType): import("mathjs").Unit; - (x: import("mathjs").MathType, y: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").MathNumericType, y: import("mathjs").MathNumericType): import("mathjs").MathNumericType; - }; - dotMultiply: { - (x: T_13, y: import("mathjs").MathType): T_13; - (x: import("mathjs").MathType, y: T_14): T_14; - (x: import("mathjs").Unit, y: import("mathjs").MathType): import("mathjs").Unit; - (x: import("mathjs").MathType, y: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").MathNumericType, y: import("mathjs").MathNumericType): import("mathjs").MathNumericType; - }; - dotPow: (x: T_15, y: import("mathjs").MathType) => T_15; - exp: (x: T_16) => T_16; - expm1: (x: T_17) => T_17; - gcd: { - (...args: T_18[]): T_18; - (args: T_19[]): T_19; - }; - hypot: { - (...args: T_20[]): T_20; - (args: T_21[]): T_21; - }; - lcm: (a: T_22, b: T_22) => T_22; - log: (x: T_23, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined) => import("mathjs").NoLiteralType; - log10: (x: T_24) => T_24; - log1p: (x: T_25, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined) => T_25; - log2: (x: T_26) => T_26; - multiply: { - (x: T_27, y: import("mathjs").MathType): import("mathjs").Matrix; - (x: import("mathjs").MathType, y: T_28): import("mathjs").Matrix; - (x: T_29, y: T_29[]): T_29; - (x: T_30[], y: T_30): T_30; - (x: T_31, y: T_31): T_31; - (x: import("mathjs").Unit, y: import("mathjs").Unit): import("mathjs").Unit; - (x: number, y: number): number; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - (...values: T_32[]): T_32; - (...values: import("mathjs").MathType[]): import("mathjs").MathType; - }; - norm: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").MathCollection, p?: string | number | import("mathjs").BigNumber | undefined) => number | import("mathjs").BigNumber; - nthRoot: (a: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").MathCollection, root?: number | import("mathjs").BigNumber | undefined) => number | import("mathjs").Complex | import("mathjs").MathCollection; - pow: (x: import("mathjs").MathType, y: number | import("mathjs").BigNumber | import("mathjs").Complex) => import("mathjs").MathType; - sign: (x: T_33) => T_33; - sqrt: { - (x: number): number | import("mathjs").Complex; - (x: T_34): T_34; - }; - square: (x: T_35) => T_35; - subtract: { - (x: T_36, y: T_36): T_36; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - }; - unaryMinus: (x: T_37) => T_37; - unaryPlus: (x: T_38) => T_38; - xgcd: (a: number | import("mathjs").BigNumber, b: number | import("mathjs").BigNumber) => import("mathjs").MathArray; - bitAnd: (x: T_39, y: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => import("mathjs").NoLiteralType; - bitNot: (x: T_40) => T_40; - bitOr: (x: T_41, y: T_41) => T_41; - bitXor: (x: T_42, y: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => import("mathjs").NoLiteralType; - leftShift: (x: T_43, y: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - rightArithShift: (x: T_44, y: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - rightLogShift: (x: T_45, y: number) => import("mathjs").NoLiteralType; - bellNumbers: (n: T_46) => T_46; - catalan: (n: T_47) => T_47; - composition: (n: T_48, k: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - stirlingS2: (n: T_49, k: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - arg: { - (x: number | import("mathjs").Complex): number; - (x: import("mathjs").BigNumber | import("mathjs").Complex): import("mathjs").BigNumber; - (x: T_50): T_50; - }; - conj: (x: T_51) => import("mathjs").NoLiteralType; - im: { - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - }; - re: { - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - }; - distance: (x: object | import("mathjs").MathCollection, y: object | import("mathjs").MathCollection, z?: object | import("mathjs").MathCollection | undefined) => number | import("mathjs").BigNumber; - intersect: (w: import("mathjs").MathCollection, x: import("mathjs").MathCollection, y: import("mathjs").MathCollection, z?: import("mathjs").MathCollection | undefined) => import("mathjs").MathArray; - and: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - not: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - or: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - xor: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - apply: (array: T_54, dim: number, callback: (array: import("mathjs").MathCollection) => number) => T_54; - concat: (...args: (number | import("mathjs").BigNumber | import("mathjs").MathCollection)[]) => import("mathjs").MathCollection; - cross: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").MathCollection; - det: (x: import("mathjs").MathCollection) => number; - diag: { - (X: import("mathjs").MathCollection, format?: string | undefined): import("mathjs").Matrix; - (X: import("mathjs").MathCollection, k: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - dot: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => number; - eigs: { - (x: import("mathjs").MathCollection, opts?: number | import("mathjs").BigNumber | { - precision?: number | import("mathjs").BigNumber | undefined; - eigenvectors?: true | undefined; - } | undefined): { - values: import("mathjs").MathCollection; - eigenvectors: { - value: number | import("mathjs").BigNumber; - vector: import("mathjs").MathCollection; - }[]; - }; - (x: import("mathjs").MathCollection, opts: { - eigenvectors: false; - precision?: number | import("mathjs").BigNumber | undefined; - }): { - values: import("mathjs").MathCollection; - }; - }; - expm: (x: import("mathjs").Matrix) => import("mathjs").Matrix; - sylvester: (A: import("mathjs").MathCollection, B: import("mathjs").MathCollection, C: import("mathjs").MathCollection) => import("mathjs").MathCollection; - schur: (A: import("mathjs").MathCollection) => import("mathjs").SchurDecomposition; - lyap: (A: import("mathjs").MathCollection, Q: import("mathjs").MathCollection) => import("mathjs").MathCollection; - identity: { - (size: number | number[] | import("mathjs").MathCollection, format?: string | undefined): number | import("mathjs").MathCollection; - (m: number, n: number, format?: string | undefined): number | import("mathjs").MathCollection; - }; - filter: (x: string[] | import("mathjs").MathCollection, test: RegExp | ((value: any, index: any, matrix: string[] | import("mathjs").MathCollection) => boolean)) => import("mathjs").MathCollection; - flatten: (x: T_55) => T_55; - forEach: (x: T_56, callback: (value: any, index: any, matrix: T_56) => void) => void; - inv: (x: T_57) => import("mathjs").NoLiteralType; - kron: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").Matrix; - map: (x: T_58, callback: (value: any, index: any, matrix: T_58) => string | import("mathjs").MathType) => T_58; - ones: { - (size?: number | number[] | import("mathjs").BigNumber | import("mathjs").BigNumber[] | undefined, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, p: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - partitionSelect: (x: import("mathjs").MathCollection, k: number, compare?: "asc" | "desc" | ((a: any, b: any) => number) | undefined) => any; - pinv: (x: T_59) => T_59; - range: { - (str: string, includeEnd?: boolean | undefined): import("mathjs").Matrix; - (start: number | import("mathjs").BigNumber, end: number | import("mathjs").BigNumber, includeEnd?: boolean | undefined): import("mathjs").Matrix; - (start: number | import("mathjs").BigNumber | import("mathjs").Unit, end: number | import("mathjs").BigNumber | import("mathjs").Unit, step: number | import("mathjs").BigNumber | import("mathjs").Unit, includeEnd?: boolean | undefined): import("mathjs").Matrix; - }; - reshape: (x: T_60, sizes: number[]) => T_60; - resize: (x: T_61, size: import("mathjs").MathCollection, defaultValue?: string | number | undefined) => T_61; - rotationMatrix: (theta?: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | undefined, axis?: T_62 | undefined, format?: "sparse" | "dense" | undefined) => T_62; - row: (value: T_63, row: number) => T_63; - column: (value: T_64, column: number) => T_64; - rotate: (w: T_65, theta: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit, v?: T_65 | undefined) => T_65; - size: (x: string | number | boolean | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => import("mathjs").MathCollection; - sort: (x: T_66, compare: "asc" | "desc" | ((a: any, b: any) => number) | "natural") => T_66; - sqrtm: (A: T_67) => T_67; - squeeze: (x: T_68) => T_68; - subset: (value: T_69, index: import("mathjs").Index, replacement?: any, defaultValue?: any) => T_69; - trace: (x: import("mathjs").MathCollection) => number; - transpose: (x: T_70) => T_70; - zeros: { - (size?: number | number[] | import("mathjs").BigNumber | import("mathjs").BigNumber[] | undefined, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, p: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - fft: (arr: T_71) => T_71; - ifft: (arr: T_72) => T_72; - factorial: (n: T_73) => import("mathjs").NoLiteralType; - gamma: (n: T_74) => import("mathjs").NoLiteralType; - kldivergence: (q: import("mathjs").MathCollection, p: import("mathjs").MathCollection) => number; - lgamma: (n: T_75) => import("mathjs").NoLiteralType; - multinomial: (a: T_76[]) => import("mathjs").NoLiteralType; - permutations: (n: T_77, k?: number | import("mathjs").BigNumber | undefined) => import("mathjs").NoLiteralType; - pickRandom: { - (array: T_78[]): T_78; - (array: T_79[], number: number): T_79[]; - (array: T_80[], number: number, weights: number[]): T_80[]; - }; - random: { - (min?: number | undefined, max?: number | undefined): number; - (size: T_81, min?: number | undefined, max?: number | undefined): T_81; - }; - randomInt: { - (min: number, max?: number | undefined): number; - (size: T_82, min?: number | undefined, max?: number | undefined): T_82; - }; - compare: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").MathCollection; - compareNatural: (x: any, y: any) => number; - compareText: (x: string | import("mathjs").MathCollection, y: string | import("mathjs").MathCollection) => number | import("mathjs").MathCollection; - deepEqual: (x: import("mathjs").MathType, y: import("mathjs").MathType) => import("mathjs").MathType; - equal: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - equalText: (x: string | import("mathjs").MathCollection, y: string | import("mathjs").MathCollection) => number | import("mathjs").MathCollection; - larger: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - largerEq: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - smaller: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - smallerEq: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - unequal: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - setCartesian: (a1: T_83, a2: import("mathjs").MathCollection) => T_83; - setDifference: (a1: T_84, a2: import("mathjs").MathCollection) => T_84; - setDistinct: (a: T_85) => T_85; - setIntersect: (a1: T_86, a2: import("mathjs").MathCollection) => T_86; - setIsSubset: (a1: import("mathjs").MathCollection, a2: import("mathjs").MathCollection) => boolean; - setMultiplicity: (e: import("mathjs").MathNumericType, a: import("mathjs").MathCollection) => number; - setPowerset: (a: T_87) => T_87; - setSize: (a: import("mathjs").MathCollection) => number; - setSymDifference: (a1: T_88, a2: import("mathjs").MathCollection) => T_88; - setUnion: (a1: T_89, a2: import("mathjs").MathCollection) => T_89; - zpk2tf: (z: T_90, p: T_90, k?: number | undefined) => T_90; - freqz: (b: T_91, a: T_91, w?: number | T_91 | undefined) => { - w: T_91; - h: T_91; - }; - erf: (x: T_92) => import("mathjs").NoLiteralType; - zeta: (s: T_93) => T_93; - mad: (array: import("mathjs").MathCollection) => any; - max: { - (...args: T_94[]): T_94; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_95[] | T_95[][], dimension?: number | import("mathjs").BigNumber | undefined): T_95; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - mean: { - (...args: T_96[]): T_96; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_97[] | T_97[][], dimension?: number | import("mathjs").BigNumber | undefined): T_97; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - median: { - (...args: T_98[]): T_98; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_99[] | T_99[][]): T_99; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType; - }; - min: { - (...args: T_100[]): T_100; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_101[] | T_101[][], dimension?: number | import("mathjs").BigNumber | undefined): T_101; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - mode: { - (...args: T_102[]): T_102[]; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType[]; - (A: T_103[] | T_103[][]): T_103[]; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType[]; - }; - prod: { - (...args: T_104[]): T_104; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_105[] | T_105[][]): T_105; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType; - }; - quantileSeq: { - (A: T_106[] | T_106[][], prob: number | import("mathjs").BigNumber | import("mathjs").MathArray, sorted?: boolean | undefined): T_106; - (A: import("mathjs").MathCollection, prob: number | import("mathjs").BigNumber | import("mathjs").MathArray, sorted?: boolean | undefined): import("mathjs").MathScalarType | import("mathjs").MathArray; - }; - std: { - (...args: T_107[]): T_107; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (array: import("mathjs").MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): import("mathjs").MathNumericType[]; - (array: import("mathjs").MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): import("mathjs").MathNumericType; - }; - sum: { - (...args: T_108[]): T_108; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_109[] | T_109[][], dimension?: number | import("mathjs").BigNumber | undefined): T_109; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - count: (x: string | import("mathjs").MathCollection) => number; - cumsum: { - (...args: import("mathjs").MathType[]): import("mathjs").MathType[]; - (array: import("mathjs").MathCollection, dim?: number | undefined): import("mathjs").MathCollection; - }; - variance: { - (...args: import("mathjs").MathNumericType[]): import("mathjs").MathNumericType; - (array: import("mathjs").MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): import("mathjs").MathNumericType[]; - (array: import("mathjs").MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): import("mathjs").MathNumericType; - }; - corr: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").MathType; - format: (value: any, options?: number | import("mathjs").BigNumber | import("mathjs").FormatOptions | ((item: any) => string) | undefined, callback?: ((value: any) => string) | undefined) => string; - print: (template: string, values: any, precision?: number | undefined, options?: number | object | undefined) => void; - acos: { - (x: number): number | import("mathjs").Complex; - (x: T_110): T_110; - }; - acosh: { - (x: number): number | import("mathjs").Complex; - (x: T_111): T_111; - }; - acot: { - (x: number): number; - (x: T_112): T_112; - }; - acoth: { - (x: number): number; - (x: T_113): T_113; - }; - acsc: { - (x: number): number | import("mathjs").Complex; - (x: T_114): T_114; - }; - acsch: { - (x: number): number; - (x: T_115): T_115; - }; - asec: { - (x: number): number | import("mathjs").Complex; - (x: T_116): T_116; - }; - asech: { - (x: number): number | import("mathjs").Complex; - (x: T_117): T_117; - }; - asin: { - (x: number): number | import("mathjs").Complex; - (x: T_118): T_118; - }; - asinh: (x: T_119) => T_119; - atan: (x: T_120) => T_120; - atan2: (y: T_121, x: T_121) => T_121; - atanh: { - (x: number): number | import("mathjs").Complex; - (x: T_122): T_122; - }; - cos: { - (x: number | import("mathjs").Unit): number; - (x: T_123): T_123; - }; - cosh: { - (x: number | import("mathjs").Unit): number; - (x: T_124): T_124; - }; - cot: { - (x: number | import("mathjs").Unit): number; - (x: T_125): T_125; - }; - coth: { - (x: number | import("mathjs").Unit): number; - (x: T_126): T_126; - }; - csc: { - (x: number | import("mathjs").Unit): number; - (x: T_127): T_127; - }; - csch: { - (x: number | import("mathjs").Unit): number; - (x: T_128): T_128; - }; - sec: { - (x: number | import("mathjs").Unit): number; - (x: T_129): T_129; - }; - sech: { - (x: number | import("mathjs").Unit): number; - (x: T_130): T_130; - }; - sin: { - (x: number | import("mathjs").Unit): number; - (x: T_131): T_131; - }; - sinh: { - (x: number | import("mathjs").Unit): number; - (x: T_132): T_132; - }; - tan: { - (x: number | import("mathjs").Unit): number; - (x: T_133): T_133; - }; - tanh: { - (x: number | import("mathjs").Unit): number; - (x: T_134): T_134; - }; - to: (x: import("mathjs").Unit | import("mathjs").MathCollection, unit: string | import("mathjs").Unit) => import("mathjs").Unit | import("mathjs").MathCollection; - isNumber: (x: unknown) => x is number; - isBigNumber: (x: unknown) => x is import("mathjs").BigNumber; - isComplex: (x: unknown) => x is import("mathjs").Complex; - isFraction: (x: unknown) => x is import("mathjs").Fraction; - isUnit: (x: unknown) => x is import("mathjs").Unit; - isString: (x: unknown) => x is string; - isArray: (arg: any) => arg is any[]; - isMatrix: (x: unknown) => x is import("mathjs").Matrix; - isCollection: (x: unknown) => x is any[] | import("mathjs").Matrix; - isDenseMatrix: (x: unknown) => x is import("mathjs").Matrix; - isSparseMatrix: (x: unknown) => x is import("mathjs").Matrix; - isRange: (x: unknown) => boolean; - isIndex: (x: unknown) => x is import("mathjs").Index; - isBoolean: (x: unknown) => x is boolean; - isResultSet: (x: unknown) => boolean; - isHelp: (x: unknown) => x is import("mathjs").Help; - isFunction: (x: unknown) => boolean; - isDate: (x: unknown) => x is Date; - isRegExp: (x: unknown) => x is RegExp; - isObject: (x: unknown) => boolean; - isNull: (x: unknown) => x is null; - isUndefined: (x: unknown) => x is undefined; - isAccessorNode: (x: unknown) => x is import("mathjs").AccessorNode; - isArrayNode: (x: unknown) => x is import("mathjs").ArrayNode; - isAssignmentNode: (x: unknown) => x is import("mathjs").AssignmentNode; - isBlockNode: (x: unknown) => x is import("mathjs").BlockNode; - isConditionalNode: (x: unknown) => x is import("mathjs").ConditionalNode; - isConstantNode: (x: unknown) => x is import("mathjs").ConstantNode; - isFunctionAssignmentNode: (x: unknown) => x is import("mathjs").FunctionAssignmentNode; - isFunctionNode: (x: unknown) => x is import("mathjs").FunctionNode; - isIndexNode: (x: unknown) => x is import("mathjs").IndexNode; - isNode: (x: unknown) => x is import("mathjs").MathNode; - isObjectNode: (x: unknown) => x is import("mathjs").ObjectNode>; - isOperatorNode: (x: unknown) => x is import("mathjs").OperatorNode; - isParenthesisNode: (x: unknown) => x is import("mathjs").ParenthesisNode; - isRangeNode: (x: unknown) => x is import("mathjs").RangeNode; - isRelationalNode: (x: unknown) => x is import("mathjs").RelationalNode; - isSymbolNode: (x: unknown) => x is import("mathjs").SymbolNode; - isChain: (x: unknown) => x is import("mathjs").MathJsChain; - clone: (x: TType) => TType; - hasNumericValue: (x: any) => boolean | boolean[]; - isInteger: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").MathCollection) => boolean; - isNaN: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isNegative: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isNumeric: (x: any) => x is number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction; - isPositive: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isPrime: (x: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => boolean; - isZero: (x: import("mathjs").MathType) => boolean; - typeOf: (x: any) => string; - }; - object: typeof object; - selector: typeof selector; - specific: typeof specific; - str: typeof str; - tree: typeof tree; - url: typeof url; - uuid: typeof uuid; - assertion: typeof assertion; - yaml: typeof yaml; -}; -export default _default; diff --git a/dist/js/index.js b/dist/js/index.js deleted file mode 100644 index 493a933..0000000 --- a/dist/js/index.js +++ /dev/null @@ -1,63 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Utils = exports.sharedUtils = void 0; -const array = __importStar(require("./shared/array")); -const assertion = __importStar(require("./shared/assertion")); -const cls = __importStar(require("./shared/class")); -const clone = __importStar(require("./shared/clone")); -const constants = __importStar(require("./shared/constants")); -const hash = __importStar(require("./shared/hash")); -const math_1 = __importDefault(require("./shared/math")); -const object = __importStar(require("./shared/object")); -const selector = __importStar(require("./shared/selector")); -const specific = __importStar(require("./shared/specific")); -const str = __importStar(require("./shared/str")); -const tree = __importStar(require("./shared/tree")); -const url = __importStar(require("./shared/url")); -const uuid = __importStar(require("./shared/uuid")); -const yaml = __importStar(require("./shared/yaml")); -exports.sharedUtils = { - array, - cls, - clone, - constants, - hash, - math: math_1.default, - object, - selector, - specific, - str, - tree, - url, - uuid, - assertion, - yaml, -}; -exports.Utils = exports.sharedUtils; -exports.default = { ...exports.Utils }; diff --git a/dist/js/index_browser.d.ts b/dist/js/index_browser.d.ts deleted file mode 100644 index 87408d0..0000000 --- a/dist/js/index_browser.d.ts +++ /dev/null @@ -1,1911 +0,0 @@ -import * as codemirror from "./browser/specific/codemirror"; -export declare const browserUtils: { - codemirror: typeof codemirror; -}; -export declare const Utils: { - codemirror: typeof codemirror; - array: typeof import("./shared/array"); - cls: typeof import("./shared/class"); - clone: typeof import("./shared/clone"); - constants: typeof import("./shared/constants"); - hash: typeof import("./shared/hash"); - math: { - PI: number; - trunc: (x: number) => number; - product: (v1: number[], v2: number[]) => number | number[]; - vlen: (v: number[]) => number; - angle: (a: number[], b: number[], unit: string) => number; - angleUpTo90: (a: number[], b: number[], unit: string) => number; - vDist: (v1: number[], v2: number[]) => number; - vEqualWithTolerance: (vec1: number[], vec2: number[], tolerance?: number) => boolean; - roundToZero: (n: number) => number; - precise: (x: number, n?: number) => number; - mod: (num: number, tolerance?: number) => number; - isBetweenZeroInclusiveAndOne: (number: number, tolerance?: number) => boolean; - cartesianProduct: (...arg: number[][]) => number[][]; - almostEqual: (a: number, b: number, tolerance?: number) => boolean; - combinations: (a: number, b: number, c: number) => number[][]; - combinationsFromIntervals: (arrA: number[], arrB: number[], arrC: number[]) => number[][]; - calculateSegmentsBetweenPoints3D: (point1: (string | number)[], point2: (string | number)[], n: string | number) => number[][]; - roundValueToNDecimals: (value: number, decimals?: number) => number; - numberToPrecision: typeof import("./shared/math").numberToPrecision; - roundCustom: (value: number, decimals?: number, mode?: import("decimal.js").default.Rounding) => number; - RoundingMethod: { - Bankers: 6; - HalfAwayFromZero: 4; - }; - roundArrayOrNumber: (value: unknown, decimals?: number, mode?: import("decimal.js").default.Rounding) => unknown; - AccessorNode: import("mathjs").AccessorNodeCtor; - ArrayNode: import("mathjs").ArrayNodeCtor; - AssignmentNode: import("mathjs").AssignmentNodeCtor; - BlockNode: import("mathjs").BlockNodeCtor; - ConditionalNode: import("mathjs").ConditionalNodeCtor; - ConstantNode: import("mathjs").ConstantNodeCtor; - FunctionAssignmentNode: import("mathjs").FunctionAssignmentNodeCtor; - FunctionNode: import("mathjs").FunctionNodeCtor; - IndexNode: import("mathjs").IndexNodeCtor; - ObjectNode: import("mathjs").ObjectNodeCtor; - OperatorNode: import("mathjs").OperatorNodeCtor; - ParenthesisNode: import("mathjs").ParenthesisNodeCtor; - RangeNode: import("mathjs").RangeNodeCtor; - RelationalNode: import("mathjs").RelationalNodeCtor; - SymbolNode: import("mathjs").SymbolNodeCtor; - all: import("mathjs").FactoryFunctionMap; - typedDependencies: import("mathjs").FactoryFunctionMap; - ResultSetDependencies: import("mathjs").FactoryFunctionMap; - BigNumberDependencies: import("mathjs").FactoryFunctionMap; - ComplexDependencies: import("mathjs").FactoryFunctionMap; - FractionDependencies: import("mathjs").FactoryFunctionMap; - RangeDependencies: import("mathjs").FactoryFunctionMap; - MatrixDependencies: import("mathjs").FactoryFunctionMap; - DenseMatrixDependencies: import("mathjs").FactoryFunctionMap; - cloneDependencies: import("mathjs").FactoryFunctionMap; - isIntegerDependencies: import("mathjs").FactoryFunctionMap; - isNegativeDependencies: import("mathjs").FactoryFunctionMap; - isNumericDependencies: import("mathjs").FactoryFunctionMap; - hasNumericValueDependencies: import("mathjs").FactoryFunctionMap; - isPositiveDependencies: import("mathjs").FactoryFunctionMap; - isZeroDependencies: import("mathjs").FactoryFunctionMap; - isNaNDependencies: import("mathjs").FactoryFunctionMap; - typeOfDependencies: import("mathjs").FactoryFunctionMap; - typeofDependencies: import("mathjs").FactoryFunctionMap; - equalScalarDependencies: import("mathjs").FactoryFunctionMap; - SparseMatrixDependencies: import("mathjs").FactoryFunctionMap; - numberDependencies: import("mathjs").FactoryFunctionMap; - stringDependencies: import("mathjs").FactoryFunctionMap; - booleanDependencies: import("mathjs").FactoryFunctionMap; - bignumberDependencies: import("mathjs").FactoryFunctionMap; - complexDependencies: import("mathjs").FactoryFunctionMap; - fractionDependencies: import("mathjs").FactoryFunctionMap; - matrixDependencies: import("mathjs").FactoryFunctionMap; - splitUnitDependencies: import("mathjs").FactoryFunctionMap; - unaryMinusDependencies: import("mathjs").FactoryFunctionMap; - unaryPlusDependencies: import("mathjs").FactoryFunctionMap; - absDependencies: import("mathjs").FactoryFunctionMap; - applyDependencies: import("mathjs").FactoryFunctionMap; - addScalarDependencies: import("mathjs").FactoryFunctionMap; - cbrtDependencies: import("mathjs").FactoryFunctionMap; - ceilDependencies: import("mathjs").FactoryFunctionMap; - cubeDependencies: import("mathjs").FactoryFunctionMap; - expDependencies: import("mathjs").FactoryFunctionMap; - expm1Dependencies: import("mathjs").FactoryFunctionMap; - fixDependencies: import("mathjs").FactoryFunctionMap; - floorDependencies: import("mathjs").FactoryFunctionMap; - gcdDependencies: import("mathjs").FactoryFunctionMap; - lcmDependencies: import("mathjs").FactoryFunctionMap; - log10Dependencies: import("mathjs").FactoryFunctionMap; - log2Dependencies: import("mathjs").FactoryFunctionMap; - modDependencies: import("mathjs").FactoryFunctionMap; - multiplyScalarDependencies: import("mathjs").FactoryFunctionMap; - multiplyDependencies: import("mathjs").FactoryFunctionMap; - nthRootDependencies: import("mathjs").FactoryFunctionMap; - signDependencies: import("mathjs").FactoryFunctionMap; - sqrtDependencies: import("mathjs").FactoryFunctionMap; - squareDependencies: import("mathjs").FactoryFunctionMap; - subtractDependencies: import("mathjs").FactoryFunctionMap; - xgcdDependencies: import("mathjs").FactoryFunctionMap; - dotMultiplyDependencies: import("mathjs").FactoryFunctionMap; - bitAndDependencies: import("mathjs").FactoryFunctionMap; - bitNotDependencies: import("mathjs").FactoryFunctionMap; - bitOrDependencies: import("mathjs").FactoryFunctionMap; - bitXorDependencies: import("mathjs").FactoryFunctionMap; - argDependencies: import("mathjs").FactoryFunctionMap; - conjDependencies: import("mathjs").FactoryFunctionMap; - imDependencies: import("mathjs").FactoryFunctionMap; - reDependencies: import("mathjs").FactoryFunctionMap; - notDependencies: import("mathjs").FactoryFunctionMap; - orDependencies: import("mathjs").FactoryFunctionMap; - xorDependencies: import("mathjs").FactoryFunctionMap; - concatDependencies: import("mathjs").FactoryFunctionMap; - columnDependencies: import("mathjs").FactoryFunctionMap; - crossDependencies: import("mathjs").FactoryFunctionMap; - diagDependencies: import("mathjs").FactoryFunctionMap; - eyeDependencies: import("mathjs").FactoryFunctionMap; - filterDependencies: import("mathjs").FactoryFunctionMap; - flattenDependencies: import("mathjs").FactoryFunctionMap; - forEachDependencies: import("mathjs").FactoryFunctionMap; - getMatrixDataTypeDependencies: import("mathjs").FactoryFunctionMap; - identityDependencies: import("mathjs").FactoryFunctionMap; - kronDependencies: import("mathjs").FactoryFunctionMap; - mapDependencies: import("mathjs").FactoryFunctionMap; - onesDependencies: import("mathjs").FactoryFunctionMap; - rangeDependencies: import("mathjs").FactoryFunctionMap; - reshapeDependencies: import("mathjs").FactoryFunctionMap; - resizeDependencies: import("mathjs").FactoryFunctionMap; - rowDependencies: import("mathjs").FactoryFunctionMap; - sizeDependencies: import("mathjs").FactoryFunctionMap; - squeezeDependencies: import("mathjs").FactoryFunctionMap; - subsetDependencies: import("mathjs").FactoryFunctionMap; - transposeDependencies: import("mathjs").FactoryFunctionMap; - ctransposeDependencies: import("mathjs").FactoryFunctionMap; - zerosDependencies: import("mathjs").FactoryFunctionMap; - erfDependencies: import("mathjs").FactoryFunctionMap; - modeDependencies: import("mathjs").FactoryFunctionMap; - prodDependencies: import("mathjs").FactoryFunctionMap; - formatDependencies: import("mathjs").FactoryFunctionMap; - printDependencies: import("mathjs").FactoryFunctionMap; - toDependencies: import("mathjs").FactoryFunctionMap; - isPrimeDependencies: import("mathjs").FactoryFunctionMap; - numericDependencies: import("mathjs").FactoryFunctionMap; - divideScalarDependencies: import("mathjs").FactoryFunctionMap; - powDependencies: import("mathjs").FactoryFunctionMap; - roundDependencies: import("mathjs").FactoryFunctionMap; - logDependencies: import("mathjs").FactoryFunctionMap; - log1pDependencies: import("mathjs").FactoryFunctionMap; - nthRootsDependencies: import("mathjs").FactoryFunctionMap; - dotPowDependencies: import("mathjs").FactoryFunctionMap; - dotDivideDependencies: import("mathjs").FactoryFunctionMap; - lsolveDependencies: import("mathjs").FactoryFunctionMap; - usolveDependencies: import("mathjs").FactoryFunctionMap; - leftShiftDependencies: import("mathjs").FactoryFunctionMap; - rightArithShiftDependencies: import("mathjs").FactoryFunctionMap; - rightLogShiftDependencies: import("mathjs").FactoryFunctionMap; - andDependencies: import("mathjs").FactoryFunctionMap; - compareDependencies: import("mathjs").FactoryFunctionMap; - compareNaturalDependencies: import("mathjs").FactoryFunctionMap; - compareTextDependencies: import("mathjs").FactoryFunctionMap; - equalDependencies: import("mathjs").FactoryFunctionMap; - equalTextDependencies: import("mathjs").FactoryFunctionMap; - smallerDependencies: import("mathjs").FactoryFunctionMap; - smallerEqDependencies: import("mathjs").FactoryFunctionMap; - largerDependencies: import("mathjs").FactoryFunctionMap; - largerEqDependencies: import("mathjs").FactoryFunctionMap; - deepEqualDependencies: import("mathjs").FactoryFunctionMap; - unequalDependencies: import("mathjs").FactoryFunctionMap; - partitionSelectDependencies: import("mathjs").FactoryFunctionMap; - sortDependencies: import("mathjs").FactoryFunctionMap; - maxDependencies: import("mathjs").FactoryFunctionMap; - minDependencies: import("mathjs").FactoryFunctionMap; - ImmutableDenseMatrixDependencies: import("mathjs").FactoryFunctionMap; - IndexDependencies: import("mathjs").FactoryFunctionMap; - FibonacciHeapDependencies: import("mathjs").FactoryFunctionMap; - SpaDependencies: import("mathjs").FactoryFunctionMap; - UnitDependencies: import("mathjs").FactoryFunctionMap; - unitDependencies: import("mathjs").FactoryFunctionMap; - sparseDependencies: import("mathjs").FactoryFunctionMap; - createUnitDependencies: import("mathjs").FactoryFunctionMap; - acosDependencies: import("mathjs").FactoryFunctionMap; - acoshDependencies: import("mathjs").FactoryFunctionMap; - acotDependencies: import("mathjs").FactoryFunctionMap; - acothDependencies: import("mathjs").FactoryFunctionMap; - acscDependencies: import("mathjs").FactoryFunctionMap; - acschDependencies: import("mathjs").FactoryFunctionMap; - asecDependencies: import("mathjs").FactoryFunctionMap; - asechDependencies: import("mathjs").FactoryFunctionMap; - asinDependencies: import("mathjs").FactoryFunctionMap; - asinhDependencies: import("mathjs").FactoryFunctionMap; - atanDependencies: import("mathjs").FactoryFunctionMap; - atan2Dependencies: import("mathjs").FactoryFunctionMap; - atanhDependencies: import("mathjs").FactoryFunctionMap; - cosDependencies: import("mathjs").FactoryFunctionMap; - coshDependencies: import("mathjs").FactoryFunctionMap; - cotDependencies: import("mathjs").FactoryFunctionMap; - cothDependencies: import("mathjs").FactoryFunctionMap; - cscDependencies: import("mathjs").FactoryFunctionMap; - cschDependencies: import("mathjs").FactoryFunctionMap; - secDependencies: import("mathjs").FactoryFunctionMap; - sechDependencies: import("mathjs").FactoryFunctionMap; - sinDependencies: import("mathjs").FactoryFunctionMap; - sinhDependencies: import("mathjs").FactoryFunctionMap; - tanDependencies: import("mathjs").FactoryFunctionMap; - tanhDependencies: import("mathjs").FactoryFunctionMap; - setCartesianDependencies: import("mathjs").FactoryFunctionMap; - setDifferenceDependencies: import("mathjs").FactoryFunctionMap; - setDistinctDependencies: import("mathjs").FactoryFunctionMap; - setIntersectDependencies: import("mathjs").FactoryFunctionMap; - setIsSubsetDependencies: import("mathjs").FactoryFunctionMap; - setMultiplicityDependencies: import("mathjs").FactoryFunctionMap; - setPowersetDependencies: import("mathjs").FactoryFunctionMap; - setSizeDependencies: import("mathjs").FactoryFunctionMap; - setSymDifferenceDependencies: import("mathjs").FactoryFunctionMap; - setUnionDependencies: import("mathjs").FactoryFunctionMap; - zpk2tfDependencies: import("mathjs").FactoryFunctionMap; - freqzDependencies: import("mathjs").FactoryFunctionMap; - addDependencies: import("mathjs").FactoryFunctionMap; - hypotDependencies: import("mathjs").FactoryFunctionMap; - normDependencies: import("mathjs").FactoryFunctionMap; - dotDependencies: import("mathjs").FactoryFunctionMap; - traceDependencies: import("mathjs").FactoryFunctionMap; - indexDependencies: import("mathjs").FactoryFunctionMap; - NodeDependencies: import("mathjs").FactoryFunctionMap; - AccessorNodeDependencies: import("mathjs").FactoryFunctionMap; - ArrayNodeDependencies: import("mathjs").FactoryFunctionMap; - AssignmentNodeDependencies: import("mathjs").FactoryFunctionMap; - BlockNodeDependencies: import("mathjs").FactoryFunctionMap; - ConditionalNodeDependencies: import("mathjs").FactoryFunctionMap; - ConstantNodeDependencies: import("mathjs").FactoryFunctionMap; - FunctionAssignmentNodeDependencies: import("mathjs").FactoryFunctionMap; - IndexNodeDependencies: import("mathjs").FactoryFunctionMap; - ObjectNodeDependencies: import("mathjs").FactoryFunctionMap; - OperatorNodeDependencies: import("mathjs").FactoryFunctionMap; - ParenthesisNodeDependencies: import("mathjs").FactoryFunctionMap; - RangeNodeDependencies: import("mathjs").FactoryFunctionMap; - RelationalNodeDependencies: import("mathjs").FactoryFunctionMap; - SymbolNodeDependencies: import("mathjs").FactoryFunctionMap; - FunctionNodeDependencies: import("mathjs").FactoryFunctionMap; - parseDependencies: import("mathjs").FactoryFunctionMap; - compileDependencies: import("mathjs").FactoryFunctionMap; - evaluateDependencies: import("mathjs").FactoryFunctionMap; - evalDependencies: import("mathjs").FactoryFunctionMap; - ParserDependencies: import("mathjs").FactoryFunctionMap; - parserDependencies: import("mathjs").FactoryFunctionMap; - lupDependencies: import("mathjs").FactoryFunctionMap; - qrDependencies: import("mathjs").FactoryFunctionMap; - sluDependencies: import("mathjs").FactoryFunctionMap; - lusolveDependencies: import("mathjs").FactoryFunctionMap; - HelpDependencies: import("mathjs").FactoryFunctionMap; - ChainDependencies: import("mathjs").FactoryFunctionMap; - helpDependencies: import("mathjs").FactoryFunctionMap; - chainDependencies: import("mathjs").FactoryFunctionMap; - detDependencies: import("mathjs").FactoryFunctionMap; - invDependencies: import("mathjs").FactoryFunctionMap; - expmDependencies: import("mathjs").FactoryFunctionMap; - sqrtmDependencies: import("mathjs").FactoryFunctionMap; - sylvesterDependencies: import("mathjs").FactoryFunctionMap; - schurDependencies: import("mathjs").FactoryFunctionMap; - lyapDependencies: import("mathjs").FactoryFunctionMap; - divideDependencies: import("mathjs").FactoryFunctionMap; - distanceDependencies: import("mathjs").FactoryFunctionMap; - intersectDependencies: import("mathjs").FactoryFunctionMap; - sumDependencies: import("mathjs").FactoryFunctionMap; - meanDependencies: import("mathjs").FactoryFunctionMap; - medianDependencies: import("mathjs").FactoryFunctionMap; - madDependencies: import("mathjs").FactoryFunctionMap; - varianceDependencies: import("mathjs").FactoryFunctionMap; - varDependencies: import("mathjs").FactoryFunctionMap; - quantileSeqDependencies: import("mathjs").FactoryFunctionMap; - stdDependencies: import("mathjs").FactoryFunctionMap; - combinationsDependencies: import("mathjs").FactoryFunctionMap; - gammaDependencies: import("mathjs").FactoryFunctionMap; - factorialDependencies: import("mathjs").FactoryFunctionMap; - kldivergenceDependencies: import("mathjs").FactoryFunctionMap; - multinomialDependencies: import("mathjs").FactoryFunctionMap; - permutationsDependencies: import("mathjs").FactoryFunctionMap; - pickRandomDependencies: import("mathjs").FactoryFunctionMap; - randomDependencies: import("mathjs").FactoryFunctionMap; - randomIntDependencies: import("mathjs").FactoryFunctionMap; - stirlingS2Dependencies: import("mathjs").FactoryFunctionMap; - bellNumbersDependencies: import("mathjs").FactoryFunctionMap; - catalanDependencies: import("mathjs").FactoryFunctionMap; - compositionDependencies: import("mathjs").FactoryFunctionMap; - simplifyDependencies: import("mathjs").FactoryFunctionMap; - derivativeDependencies: import("mathjs").FactoryFunctionMap; - rationalizeDependencies: import("mathjs").FactoryFunctionMap; - reviverDependencies: import("mathjs").FactoryFunctionMap; - eDependencies: import("mathjs").FactoryFunctionMap; - EDependencies: import("mathjs").FactoryFunctionMap; - falseDependencies: import("mathjs").FactoryFunctionMap; - iDependencies: import("mathjs").FactoryFunctionMap; - InfinityDependencies: import("mathjs").FactoryFunctionMap; - LN10Dependencies: import("mathjs").FactoryFunctionMap; - LN2Dependencies: import("mathjs").FactoryFunctionMap; - LOG10EDependencies: import("mathjs").FactoryFunctionMap; - LOG2EDependencies: import("mathjs").FactoryFunctionMap; - NaNDependencies: import("mathjs").FactoryFunctionMap; - nullDependencies: import("mathjs").FactoryFunctionMap; - phiDependencies: import("mathjs").FactoryFunctionMap; - piDependencies: import("mathjs").FactoryFunctionMap; - PIDependencies: import("mathjs").FactoryFunctionMap; - SQRT1_2Dependencies: import("mathjs").FactoryFunctionMap; - SQRT2Dependencies: import("mathjs").FactoryFunctionMap; - tauDependencies: import("mathjs").FactoryFunctionMap; - trueDependencies: import("mathjs").FactoryFunctionMap; - versionDependencies: import("mathjs").FactoryFunctionMap; - atomicMassDependencies: import("mathjs").FactoryFunctionMap; - avogadroDependencies: import("mathjs").FactoryFunctionMap; - bohrMagnetonDependencies: import("mathjs").FactoryFunctionMap; - bohrRadiusDependencies: import("mathjs").FactoryFunctionMap; - boltzmannDependencies: import("mathjs").FactoryFunctionMap; - classicalElectronRadiusDependencies: import("mathjs").FactoryFunctionMap; - conductanceQuantumDependencies: import("mathjs").FactoryFunctionMap; - coulombDependencies: import("mathjs").FactoryFunctionMap; - deuteronMassDependencies: import("mathjs").FactoryFunctionMap; - efimovFactorDependencies: import("mathjs").FactoryFunctionMap; - electricConstantDependencies: import("mathjs").FactoryFunctionMap; - electronMassDependencies: import("mathjs").FactoryFunctionMap; - elementaryChargeDependencies: import("mathjs").FactoryFunctionMap; - faradayDependencies: import("mathjs").FactoryFunctionMap; - fermiCouplingDependencies: import("mathjs").FactoryFunctionMap; - fineStructureDependencies: import("mathjs").FactoryFunctionMap; - firstRadiationDependencies: import("mathjs").FactoryFunctionMap; - gasConstantDependencies: import("mathjs").FactoryFunctionMap; - gravitationConstantDependencies: import("mathjs").FactoryFunctionMap; - gravityDependencies: import("mathjs").FactoryFunctionMap; - hartreeEnergyDependencies: import("mathjs").FactoryFunctionMap; - inverseConductanceQuantumDependencies: import("mathjs").FactoryFunctionMap; - klitzingDependencies: import("mathjs").FactoryFunctionMap; - loschmidtDependencies: import("mathjs").FactoryFunctionMap; - magneticConstantDependencies: import("mathjs").FactoryFunctionMap; - magneticFluxQuantumDependencies: import("mathjs").FactoryFunctionMap; - molarMassDependencies: import("mathjs").FactoryFunctionMap; - molarMassC12Dependencies: import("mathjs").FactoryFunctionMap; - molarPlanckConstantDependencies: import("mathjs").FactoryFunctionMap; - molarVolumeDependencies: import("mathjs").FactoryFunctionMap; - neutronMassDependencies: import("mathjs").FactoryFunctionMap; - nuclearMagnetonDependencies: import("mathjs").FactoryFunctionMap; - planckChargeDependencies: import("mathjs").FactoryFunctionMap; - planckConstantDependencies: import("mathjs").FactoryFunctionMap; - planckLengthDependencies: import("mathjs").FactoryFunctionMap; - planckMassDependencies: import("mathjs").FactoryFunctionMap; - planckTemperatureDependencies: import("mathjs").FactoryFunctionMap; - planckTimeDependencies: import("mathjs").FactoryFunctionMap; - protonMassDependencies: import("mathjs").FactoryFunctionMap; - quantumOfCirculationDependencies: import("mathjs").FactoryFunctionMap; - reducedPlanckConstantDependencies: import("mathjs").FactoryFunctionMap; - rydbergDependencies: import("mathjs").FactoryFunctionMap; - sackurTetrodeDependencies: import("mathjs").FactoryFunctionMap; - secondRadiationDependencies: import("mathjs").FactoryFunctionMap; - speedOfLightDependencies: import("mathjs").FactoryFunctionMap; - stefanBoltzmannDependencies: import("mathjs").FactoryFunctionMap; - thomsonCrossSectionDependencies: import("mathjs").FactoryFunctionMap; - vacuumImpedanceDependencies: import("mathjs").FactoryFunctionMap; - weakMixingAngleDependencies: import("mathjs").FactoryFunctionMap; - wienDisplacementDependencies: import("mathjs").FactoryFunctionMap; - applyTransformDependencies: import("mathjs").FactoryFunctionMap; - columnTransformDependencies: import("mathjs").FactoryFunctionMap; - filterTransformDependencies: import("mathjs").FactoryFunctionMap; - forEachTransformDependencies: import("mathjs").FactoryFunctionMap; - indexTransformDependencies: import("mathjs").FactoryFunctionMap; - mapTransformDependencies: import("mathjs").FactoryFunctionMap; - maxTransformDependencies: import("mathjs").FactoryFunctionMap; - meanTransformDependencies: import("mathjs").FactoryFunctionMap; - minTransformDependencies: import("mathjs").FactoryFunctionMap; - rangeTransformDependencies: import("mathjs").FactoryFunctionMap; - rowTransformDependencies: import("mathjs").FactoryFunctionMap; - subsetTransformDependencies: import("mathjs").FactoryFunctionMap; - concatTransformDependencies: import("mathjs").FactoryFunctionMap; - stdTransformDependencies: import("mathjs").FactoryFunctionMap; - sumTransformDependencies: import("mathjs").FactoryFunctionMap; - varianceTransformDependencies: import("mathjs").FactoryFunctionMap; - Matrix: import("mathjs").MatrixCtor; - create: (factories: import("mathjs").FactoryFunctionMap, config?: import("mathjs").ConfigOptions | undefined) => import("mathjs").MathJsInstance; - factory: (name: string, dependencies: TDeps, create: (injected: Pick | Extract<"number", TDeps[number]> | Extract<"boolean", TDeps[number]> | Extract<"concat", TDeps[number]> | Extract<"sort", TDeps[number]> | Extract<"forEach", TDeps[number]> | Extract<"map", TDeps[number]> | Extract<"filter", TDeps[number]> | Extract<"AccessorNode", TDeps[number]> | Extract<"ArrayNode", TDeps[number]> | Extract<"AssignmentNode", TDeps[number]> | Extract<"BlockNode", TDeps[number]> | Extract<"ConditionalNode", TDeps[number]> | Extract<"ConstantNode", TDeps[number]> | Extract<"FunctionAssignmentNode", TDeps[number]> | Extract<"FunctionNode", TDeps[number]> | Extract<"IndexNode", TDeps[number]> | Extract<"ObjectNode", TDeps[number]> | Extract<"OperatorNode", TDeps[number]> | Extract<"ParenthesisNode", TDeps[number]> | Extract<"RangeNode", TDeps[number]> | Extract<"RelationalNode", TDeps[number]> | Extract<"SymbolNode", TDeps[number]> | Extract<"Matrix", TDeps[number]> | Extract<"create", TDeps[number]> | Extract<"factory", TDeps[number]> | Extract<"typed", TDeps[number]> | Extract<"e", TDeps[number]> | Extract<"pi", TDeps[number]> | Extract<"i", TDeps[number]> | Extract<"LN2", TDeps[number]> | Extract<"LN10", TDeps[number]> | Extract<"LOG2E", TDeps[number]> | Extract<"LOG10E", TDeps[number]> | Extract<"phi", TDeps[number]> | Extract<"SQRT1_2", TDeps[number]> | Extract<"SQRT2", TDeps[number]> | Extract<"tau", TDeps[number]> | Extract<"Node", TDeps[number]> | Extract<"uninitialized", TDeps[number]> | Extract<"version", TDeps[number]> | Extract<"expression", TDeps[number]> | Extract<"reviver", TDeps[number]> | Extract<"replacer", TDeps[number]> | Extract<"bignumber", TDeps[number]> | Extract<"chain", TDeps[number]> | Extract<"complex", TDeps[number]> | Extract<"createUnit", TDeps[number]> | Extract<"fraction", TDeps[number]> | Extract<"index", TDeps[number]> | Extract<"matrix", TDeps[number]> | Extract<"sparse", TDeps[number]> | Extract<"splitUnit", TDeps[number]> | Extract<"unit", TDeps[number]> | Extract<"compile", TDeps[number]> | Extract<"evaluate", TDeps[number]> | Extract<"help", TDeps[number]> | Extract<"parse", TDeps[number]> | Extract<"parser", TDeps[number]> | Extract<"derivative", TDeps[number]> | Extract<"lsolve", TDeps[number]> | Extract<"lup", TDeps[number]> | Extract<"lusolve", TDeps[number]> | Extract<"polynomialRoot", TDeps[number]> | Extract<"qr", TDeps[number]> | Extract<"rationalize", TDeps[number]> | Extract<"simplify", TDeps[number]> | Extract<"simplifyConstant", TDeps[number]> | Extract<"simplifyCore", TDeps[number]> | Extract<"resolve", TDeps[number]> | Extract<"slu", TDeps[number]> | Extract<"usolve", TDeps[number]> | Extract<"abs", TDeps[number]> | Extract<"add", TDeps[number]> | Extract<"cbrt", TDeps[number]> | Extract<"ceil", TDeps[number]> | Extract<"fix", TDeps[number]> | Extract<"floor", TDeps[number]> | Extract<"round", TDeps[number]> | Extract<"cube", TDeps[number]> | Extract<"divide", TDeps[number]> | Extract<"dotDivide", TDeps[number]> | Extract<"dotMultiply", TDeps[number]> | Extract<"dotPow", TDeps[number]> | Extract<"exp", TDeps[number]> | Extract<"expm1", TDeps[number]> | Extract<"gcd", TDeps[number]> | Extract<"hypot", TDeps[number]> | Extract<"lcm", TDeps[number]> | Extract<"log", TDeps[number]> | Extract<"log10", TDeps[number]> | Extract<"log1p", TDeps[number]> | Extract<"log2", TDeps[number]> | Extract<"mod", TDeps[number]> | Extract<"multiply", TDeps[number]> | Extract<"norm", TDeps[number]> | Extract<"nthRoot", TDeps[number]> | Extract<"pow", TDeps[number]> | Extract<"sign", TDeps[number]> | Extract<"sqrt", TDeps[number]> | Extract<"square", TDeps[number]> | Extract<"subtract", TDeps[number]> | Extract<"unaryMinus", TDeps[number]> | Extract<"unaryPlus", TDeps[number]> | Extract<"xgcd", TDeps[number]> | Extract<"bitAnd", TDeps[number]> | Extract<"bitNot", TDeps[number]> | Extract<"bitOr", TDeps[number]> | Extract<"bitXor", TDeps[number]> | Extract<"leftShift", TDeps[number]> | Extract<"rightArithShift", TDeps[number]> | Extract<"rightLogShift", TDeps[number]> | Extract<"bellNumbers", TDeps[number]> | Extract<"catalan", TDeps[number]> | Extract<"composition", TDeps[number]> | Extract<"stirlingS2", TDeps[number]> | Extract<"arg", TDeps[number]> | Extract<"conj", TDeps[number]> | Extract<"im", TDeps[number]> | Extract<"re", TDeps[number]> | Extract<"distance", TDeps[number]> | Extract<"intersect", TDeps[number]> | Extract<"and", TDeps[number]> | Extract<"not", TDeps[number]> | Extract<"or", TDeps[number]> | Extract<"xor", TDeps[number]> | Extract<"apply", TDeps[number]> | Extract<"cross", TDeps[number]> | Extract<"det", TDeps[number]> | Extract<"diag", TDeps[number]> | Extract<"dot", TDeps[number]> | Extract<"eigs", TDeps[number]> | Extract<"expm", TDeps[number]> | Extract<"sylvester", TDeps[number]> | Extract<"schur", TDeps[number]> | Extract<"lyap", TDeps[number]> | Extract<"identity", TDeps[number]> | Extract<"flatten", TDeps[number]> | Extract<"inv", TDeps[number]> | Extract<"kron", TDeps[number]> | Extract<"ones", TDeps[number]> | Extract<"partitionSelect", TDeps[number]> | Extract<"pinv", TDeps[number]> | Extract<"range", TDeps[number]> | Extract<"reshape", TDeps[number]> | Extract<"resize", TDeps[number]> | Extract<"rotationMatrix", TDeps[number]> | Extract<"row", TDeps[number]> | Extract<"column", TDeps[number]> | Extract<"rotate", TDeps[number]> | Extract<"size", TDeps[number]> | Extract<"sqrtm", TDeps[number]> | Extract<"squeeze", TDeps[number]> | Extract<"subset", TDeps[number]> | Extract<"trace", TDeps[number]> | Extract<"transpose", TDeps[number]> | Extract<"zeros", TDeps[number]> | Extract<"fft", TDeps[number]> | Extract<"ifft", TDeps[number]> | Extract<"combinations", TDeps[number]> | Extract<"factorial", TDeps[number]> | Extract<"gamma", TDeps[number]> | Extract<"kldivergence", TDeps[number]> | Extract<"lgamma", TDeps[number]> | Extract<"multinomial", TDeps[number]> | Extract<"permutations", TDeps[number]> | Extract<"pickRandom", TDeps[number]> | Extract<"random", TDeps[number]> | Extract<"randomInt", TDeps[number]> | Extract<"compare", TDeps[number]> | Extract<"compareNatural", TDeps[number]> | Extract<"compareText", TDeps[number]> | Extract<"deepEqual", TDeps[number]> | Extract<"equal", TDeps[number]> | Extract<"equalText", TDeps[number]> | Extract<"larger", TDeps[number]> | Extract<"largerEq", TDeps[number]> | Extract<"smaller", TDeps[number]> | Extract<"smallerEq", TDeps[number]> | Extract<"unequal", TDeps[number]> | Extract<"setCartesian", TDeps[number]> | Extract<"setDifference", TDeps[number]> | Extract<"setDistinct", TDeps[number]> | Extract<"setIntersect", TDeps[number]> | Extract<"setIsSubset", TDeps[number]> | Extract<"setMultiplicity", TDeps[number]> | Extract<"setPowerset", TDeps[number]> | Extract<"setSize", TDeps[number]> | Extract<"setSymDifference", TDeps[number]> | Extract<"setUnion", TDeps[number]> | Extract<"zpk2tf", TDeps[number]> | Extract<"freqz", TDeps[number]> | Extract<"erf", TDeps[number]> | Extract<"zeta", TDeps[number]> | Extract<"mad", TDeps[number]> | Extract<"max", TDeps[number]> | Extract<"mean", TDeps[number]> | Extract<"median", TDeps[number]> | Extract<"min", TDeps[number]> | Extract<"mode", TDeps[number]> | Extract<"prod", TDeps[number]> | Extract<"quantileSeq", TDeps[number]> | Extract<"std", TDeps[number]> | Extract<"sum", TDeps[number]> | Extract<"count", TDeps[number]> | Extract<"cumsum", TDeps[number]> | Extract<"variance", TDeps[number]> | Extract<"corr", TDeps[number]> | Extract<"format", TDeps[number]> | Extract<"print", TDeps[number]> | Extract<"acos", TDeps[number]> | Extract<"acosh", TDeps[number]> | Extract<"acot", TDeps[number]> | Extract<"acoth", TDeps[number]> | Extract<"acsc", TDeps[number]> | Extract<"acsch", TDeps[number]> | Extract<"asec", TDeps[number]> | Extract<"asech", TDeps[number]> | Extract<"asin", TDeps[number]> | Extract<"asinh", TDeps[number]> | Extract<"atan", TDeps[number]> | Extract<"atan2", TDeps[number]> | Extract<"atanh", TDeps[number]> | Extract<"cos", TDeps[number]> | Extract<"cosh", TDeps[number]> | Extract<"cot", TDeps[number]> | Extract<"coth", TDeps[number]> | Extract<"csc", TDeps[number]> | Extract<"csch", TDeps[number]> | Extract<"sec", TDeps[number]> | Extract<"sech", TDeps[number]> | Extract<"sin", TDeps[number]> | Extract<"sinh", TDeps[number]> | Extract<"tan", TDeps[number]> | Extract<"tanh", TDeps[number]> | Extract<"to", TDeps[number]> | Extract<"isNumber", TDeps[number]> | Extract<"isBigNumber", TDeps[number]> | Extract<"isComplex", TDeps[number]> | Extract<"isFraction", TDeps[number]> | Extract<"isUnit", TDeps[number]> | Extract<"isString", TDeps[number]> | Extract<"isArray", TDeps[number]> | Extract<"isMatrix", TDeps[number]> | Extract<"isCollection", TDeps[number]> | Extract<"isDenseMatrix", TDeps[number]> | Extract<"isSparseMatrix", TDeps[number]> | Extract<"isRange", TDeps[number]> | Extract<"isIndex", TDeps[number]> | Extract<"isBoolean", TDeps[number]> | Extract<"isResultSet", TDeps[number]> | Extract<"isHelp", TDeps[number]> | Extract<"isFunction", TDeps[number]> | Extract<"isDate", TDeps[number]> | Extract<"isRegExp", TDeps[number]> | Extract<"isObject", TDeps[number]> | Extract<"isNull", TDeps[number]> | Extract<"isUndefined", TDeps[number]> | Extract<"isAccessorNode", TDeps[number]> | Extract<"isArrayNode", TDeps[number]> | Extract<"isAssignmentNode", TDeps[number]> | Extract<"isBlockNode", TDeps[number]> | Extract<"isConditionalNode", TDeps[number]> | Extract<"isConstantNode", TDeps[number]> | Extract<"isFunctionAssignmentNode", TDeps[number]> | Extract<"isFunctionNode", TDeps[number]> | Extract<"isIndexNode", TDeps[number]> | Extract<"isNode", TDeps[number]> | Extract<"isObjectNode", TDeps[number]> | Extract<"isOperatorNode", TDeps[number]> | Extract<"isParenthesisNode", TDeps[number]> | Extract<"isRangeNode", TDeps[number]> | Extract<"isRelationalNode", TDeps[number]> | Extract<"isSymbolNode", TDeps[number]> | Extract<"isChain", TDeps[number]> | Extract<"clone", TDeps[number]> | Extract<"hasNumericValue", TDeps[number]> | Extract<"isInteger", TDeps[number]> | Extract<"isNaN", TDeps[number]> | Extract<"isNegative", TDeps[number]> | Extract<"isNumeric", TDeps[number]> | Extract<"isPositive", TDeps[number]> | Extract<"isPrime", TDeps[number]> | Extract<"isZero", TDeps[number]> | Extract<"typeOf", TDeps[number]> | Extract<"Infinity", TDeps[number]> | Extract<"NaN", TDeps[number]> | Extract<"config", TDeps[number]> | Extract<"symbolicEqual", TDeps[number]> | Extract<"import", TDeps[number]>>) => T, meta?: any) => import("mathjs").FactoryFunction; - typed: (name: string, signatures: Record any>) => (...args: any[]) => any; - e: number; - pi: number; - i: number; - LN2: number; - LN10: number; - LOG2E: number; - LOG10E: number; - phi: number; - SQRT1_2: number; - SQRT2: number; - tau: number; - Node: import("mathjs").NodeCtor; - uninitialized: any; - version: string; - expression: import("mathjs").MathNode; - reviver: () => (key: any, value: any) => any; - replacer: () => (key: any, value: any) => any; - bignumber: { - (x?: string | number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): import("mathjs").BigNumber; - (x: T_1): T_1; - }; - boolean: { - (x: string | number | boolean | null): boolean; - (x: import("mathjs").MathCollection): import("mathjs").MathCollection; - }; - chain: (value?: TValue | undefined) => import("mathjs").MathJsChain; - complex: { - (arg?: string | import("mathjs").MathNumericType | import("mathjs").PolarCoordinates | undefined): import("mathjs").Complex; - (arg?: import("mathjs").MathCollection | undefined): import("mathjs").MathCollection; - (re: number, im: number): import("mathjs").Complex; - }; - createUnit: { - (name: string, definition?: string | import("mathjs").Unit | import("mathjs").UnitDefinition | undefined, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit; - (units: Record, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit; - }; - fraction: { - (value: string | number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").FractionDefinition): import("mathjs").Fraction; - (values: import("mathjs").MathCollection): import("mathjs").MathCollection; - (numerator: number, denominator: number): import("mathjs").Fraction; - }; - index: (...ranges: any[]) => import("mathjs").Index; - matrix: { - (format?: "sparse" | "dense" | undefined): import("mathjs").Matrix; - (data: string[] | import("mathjs").MathCollection, format?: "sparse" | "dense" | undefined, dataType?: string | undefined): import("mathjs").Matrix; - }; - number: { - (value?: string | number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): number; - (value?: import("mathjs").MathCollection | undefined): number | import("mathjs").MathCollection; - (unit: import("mathjs").Unit, valuelessUnit: string | import("mathjs").Unit): number; - }; - sparse: (data?: import("mathjs").MathCollection | undefined, dataType?: string | undefined) => import("mathjs").Matrix; - splitUnit: (unit: import("mathjs").Unit, parts: import("mathjs").Unit[]) => import("mathjs").Unit[]; - string: { - (value: string | import("mathjs").MathNumericType | import("mathjs").Unit | null): string; - (value: import("mathjs").MathCollection): import("mathjs").MathCollection; - }; - unit: { - (unit: string): import("mathjs").Unit; - (unit: import("mathjs").Unit): import("mathjs").Unit; - (value: import("mathjs").MathNumericType, unit: string): import("mathjs").Unit; - (value: import("mathjs").MathCollection, unit: string): import("mathjs").Unit[]; - }; - compile: { - (expr: import("mathjs").MathExpression): import("mathjs").EvalFunction; - (exprs: import("mathjs").MathExpression[]): import("mathjs").EvalFunction[]; - }; - evaluate: { - (expr: import("mathjs").MathExpression, scope?: object | undefined): any; - (expr: import("mathjs").MathExpression[], scope?: object | undefined): any[]; - }; - help: (search: () => any) => import("mathjs").Help; - parse: import("mathjs").ParseFunction; - parser: () => import("mathjs").Parser; - derivative: (expr: string | import("mathjs").MathNode, variable: string | import("mathjs").MathNode, options?: { - simplify: boolean; - } | undefined) => import("mathjs").MathNode; - lsolve: { - (L: import("mathjs").Matrix, b: import("mathjs").MathCollection): import("mathjs").Matrix; - (L: import("mathjs").MathArray, b: import("mathjs").MathCollection): import("mathjs").MathArray; - }; - lup: (A?: import("mathjs").MathCollection | undefined) => import("mathjs").LUDecomposition; - lusolve: { - (A: import("mathjs").Matrix, b: import("mathjs").MathCollection, order?: number | undefined, threshold?: number | undefined): import("mathjs").Matrix; - (A: import("mathjs").MathArray, b: import("mathjs").MathCollection, order?: number | undefined, threshold?: number | undefined): import("mathjs").MathArray; - (A: import("mathjs").LUDecomposition, b: import("mathjs").MathCollection): import("mathjs").Matrix; - }; - polynomialRoot: (constantCoeff: number | import("mathjs").Complex, linearCoeff: number | import("mathjs").Complex, quadraticCoeff?: number | import("mathjs").Complex | undefined, cubicCoeff?: number | import("mathjs").Complex | undefined) => (number | import("mathjs").Complex)[]; - qr: (A: import("mathjs").MathCollection) => import("mathjs").QRDecomposition; - rationalize: { - (expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: false | undefined): import("mathjs").MathNode; - (expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: true | undefined): { - expression: string | import("mathjs").MathNode; - variables: string[]; - coefficients: import("mathjs").MathType[]; - }; - }; - simplify: import("mathjs").Simplify; - simplifyConstant: (expr: string | import("mathjs").MathNode, options?: import("mathjs").SimplifyOptions | undefined) => import("mathjs").MathNode; - simplifyCore: (expr: string | import("mathjs").MathNode, options?: import("mathjs").SimplifyOptions | undefined) => import("mathjs").MathNode; - resolve: { - (node: string | import("mathjs").MathNode, scope?: Record | undefined): import("mathjs").MathNode; - (node: (string | import("mathjs").MathNode)[], scope?: Record | undefined): import("mathjs").MathNode[]; - (node: import("mathjs").Matrix, scope?: Record | undefined): import("mathjs").Matrix; - }; - slu: (A: import("mathjs").Matrix, order: number, threshold: number) => import("mathjs").SLUDecomposition; - usolve: { - (U: import("mathjs").Matrix, b: import("mathjs").MathCollection): import("mathjs").Matrix; - (U: import("mathjs").MathArray, b: import("mathjs").MathCollection): import("mathjs").MathArray; - }; - abs: (x: T_2) => T_2; - add: { - (x: T_3, y: T_3): T_3; - (...values: T_4[]): T_4; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - (...values: import("mathjs").MathType[]): import("mathjs").MathType; - }; - cbrt: { - (x: import("mathjs").Complex, allRoots?: boolean | undefined): import("mathjs").Complex; - (x: T_5): T_5; - }; - ceil: { - (x: T_6, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U): U; - }; - fix: { - (x: T_7, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_1): U_1; - }; - floor: { - (x: T_8, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_2): U_2; - }; - round: { - (x: T_9, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_3): U_3; - (x: U_4, unit: import("mathjs").Unit): U_4; - (x: import("mathjs").Unit, unit: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").Unit, n: number | import("mathjs").BigNumber, unit: import("mathjs").Unit): import("mathjs").Unit; - (x: U_5, n: number | import("mathjs").BigNumber, unit: import("mathjs").Unit): U_5; - }; - cube: (x: T_10) => T_10; - divide: { - (x: import("mathjs").Unit, y: import("mathjs").Unit): number | import("mathjs").Unit; - (x: import("mathjs").Unit, y: number): import("mathjs").Unit; - (x: number, y: number): number; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - }; - dotDivide: { - (x: T_11, y: import("mathjs").MathType): T_11; - (x: import("mathjs").MathType, y: T_12): T_12; - (x: import("mathjs").Unit, y: import("mathjs").MathType): import("mathjs").Unit; - (x: import("mathjs").MathType, y: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").MathNumericType, y: import("mathjs").MathNumericType): import("mathjs").MathNumericType; - }; - dotMultiply: { - (x: T_13, y: import("mathjs").MathType): T_13; - (x: import("mathjs").MathType, y: T_14): T_14; - (x: import("mathjs").Unit, y: import("mathjs").MathType): import("mathjs").Unit; - (x: import("mathjs").MathType, y: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").MathNumericType, y: import("mathjs").MathNumericType): import("mathjs").MathNumericType; - }; - dotPow: (x: T_15, y: import("mathjs").MathType) => T_15; - exp: (x: T_16) => T_16; - expm1: (x: T_17) => T_17; - gcd: { - (...args: T_18[]): T_18; - (args: T_19[]): T_19; - }; - hypot: { - (...args: T_20[]): T_20; - (args: T_21[]): T_21; - }; - lcm: (a: T_22, b: T_22) => T_22; - log: (x: T_23, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined) => import("mathjs").NoLiteralType; - log10: (x: T_24) => T_24; - log1p: (x: T_25, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined) => T_25; - log2: (x: T_26) => T_26; - multiply: { - (x: T_27, y: import("mathjs").MathType): import("mathjs").Matrix; - (x: import("mathjs").MathType, y: T_28): import("mathjs").Matrix; - (x: T_29, y: T_29[]): T_29; - (x: T_30[], y: T_30): T_30; - (x: T_31, y: T_31): T_31; - (x: import("mathjs").Unit, y: import("mathjs").Unit): import("mathjs").Unit; - (x: number, y: number): number; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - (...values: T_32[]): T_32; - (...values: import("mathjs").MathType[]): import("mathjs").MathType; - }; - norm: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").MathCollection, p?: string | number | import("mathjs").BigNumber | undefined) => number | import("mathjs").BigNumber; - nthRoot: (a: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").MathCollection, root?: number | import("mathjs").BigNumber | undefined) => number | import("mathjs").Complex | import("mathjs").MathCollection; - pow: (x: import("mathjs").MathType, y: number | import("mathjs").BigNumber | import("mathjs").Complex) => import("mathjs").MathType; - sign: (x: T_33) => T_33; - sqrt: { - (x: number): number | import("mathjs").Complex; - (x: T_34): T_34; - }; - square: (x: T_35) => T_35; - subtract: { - (x: T_36, y: T_36): T_36; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - }; - unaryMinus: (x: T_37) => T_37; - unaryPlus: (x: T_38) => T_38; - xgcd: (a: number | import("mathjs").BigNumber, b: number | import("mathjs").BigNumber) => import("mathjs").MathArray; - bitAnd: (x: T_39, y: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => import("mathjs").NoLiteralType; - bitNot: (x: T_40) => T_40; - bitOr: (x: T_41, y: T_41) => T_41; - bitXor: (x: T_42, y: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => import("mathjs").NoLiteralType; - leftShift: (x: T_43, y: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - rightArithShift: (x: T_44, y: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - rightLogShift: (x: T_45, y: number) => import("mathjs").NoLiteralType; - bellNumbers: (n: T_46) => T_46; - catalan: (n: T_47) => T_47; - composition: (n: T_48, k: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - stirlingS2: (n: T_49, k: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - arg: { - (x: number | import("mathjs").Complex): number; - (x: import("mathjs").BigNumber | import("mathjs").Complex): import("mathjs").BigNumber; - (x: T_50): T_50; - }; - conj: (x: T_51) => import("mathjs").NoLiteralType; - im: { - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - }; - re: { - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - }; - distance: (x: object | import("mathjs").MathCollection, y: object | import("mathjs").MathCollection, z?: object | import("mathjs").MathCollection | undefined) => number | import("mathjs").BigNumber; - intersect: (w: import("mathjs").MathCollection, x: import("mathjs").MathCollection, y: import("mathjs").MathCollection, z?: import("mathjs").MathCollection | undefined) => import("mathjs").MathArray; - and: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - not: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - or: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - xor: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - apply: (array: T_54, dim: number, callback: (array: import("mathjs").MathCollection) => number) => T_54; - concat: (...args: (number | import("mathjs").BigNumber | import("mathjs").MathCollection)[]) => import("mathjs").MathCollection; - cross: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").MathCollection; - det: (x: import("mathjs").MathCollection) => number; - diag: { - (X: import("mathjs").MathCollection, format?: string | undefined): import("mathjs").Matrix; - (X: import("mathjs").MathCollection, k: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - dot: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => number; - eigs: { - (x: import("mathjs").MathCollection, opts?: number | import("mathjs").BigNumber | { - precision?: number | import("mathjs").BigNumber | undefined; - eigenvectors?: true | undefined; - } | undefined): { - values: import("mathjs").MathCollection; - eigenvectors: { - value: number | import("mathjs").BigNumber; - vector: import("mathjs").MathCollection; - }[]; - }; - (x: import("mathjs").MathCollection, opts: { - eigenvectors: false; - precision?: number | import("mathjs").BigNumber | undefined; - }): { - values: import("mathjs").MathCollection; - }; - }; - expm: (x: import("mathjs").Matrix) => import("mathjs").Matrix; - sylvester: (A: import("mathjs").MathCollection, B: import("mathjs").MathCollection, C: import("mathjs").MathCollection) => import("mathjs").MathCollection; - schur: (A: import("mathjs").MathCollection) => import("mathjs").SchurDecomposition; - lyap: (A: import("mathjs").MathCollection, Q: import("mathjs").MathCollection) => import("mathjs").MathCollection; - identity: { - (size: number | number[] | import("mathjs").MathCollection, format?: string | undefined): number | import("mathjs").MathCollection; - (m: number, n: number, format?: string | undefined): number | import("mathjs").MathCollection; - }; - filter: (x: string[] | import("mathjs").MathCollection, test: RegExp | ((value: any, index: any, matrix: string[] | import("mathjs").MathCollection) => boolean)) => import("mathjs").MathCollection; - flatten: (x: T_55) => T_55; - forEach: (x: T_56, callback: (value: any, index: any, matrix: T_56) => void) => void; - inv: (x: T_57) => import("mathjs").NoLiteralType; - kron: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").Matrix; - map: (x: T_58, callback: (value: any, index: any, matrix: T_58) => string | import("mathjs").MathType) => T_58; - ones: { - (size?: number | number[] | import("mathjs").BigNumber | import("mathjs").BigNumber[] | undefined, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, p: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - partitionSelect: (x: import("mathjs").MathCollection, k: number, compare?: "asc" | "desc" | ((a: any, b: any) => number) | undefined) => any; - pinv: (x: T_59) => T_59; - range: { - (str: string, includeEnd?: boolean | undefined): import("mathjs").Matrix; - (start: number | import("mathjs").BigNumber, end: number | import("mathjs").BigNumber, includeEnd?: boolean | undefined): import("mathjs").Matrix; - (start: number | import("mathjs").BigNumber | import("mathjs").Unit, end: number | import("mathjs").BigNumber | import("mathjs").Unit, step: number | import("mathjs").BigNumber | import("mathjs").Unit, includeEnd?: boolean | undefined): import("mathjs").Matrix; - }; - reshape: (x: T_60, sizes: number[]) => T_60; - resize: (x: T_61, size: import("mathjs").MathCollection, defaultValue?: string | number | undefined) => T_61; - rotationMatrix: (theta?: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | undefined, axis?: T_62 | undefined, format?: "sparse" | "dense" | undefined) => T_62; - row: (value: T_63, row: number) => T_63; - column: (value: T_64, column: number) => T_64; - rotate: (w: T_65, theta: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit, v?: T_65 | undefined) => T_65; - size: (x: string | number | boolean | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => import("mathjs").MathCollection; - sort: (x: T_66, compare: "asc" | "desc" | ((a: any, b: any) => number) | "natural") => T_66; - sqrtm: (A: T_67) => T_67; - squeeze: (x: T_68) => T_68; - subset: (value: T_69, index: import("mathjs").Index, replacement?: any, defaultValue?: any) => T_69; - trace: (x: import("mathjs").MathCollection) => number; - transpose: (x: T_70) => T_70; - zeros: { - (size?: number | number[] | import("mathjs").BigNumber | import("mathjs").BigNumber[] | undefined, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, p: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - fft: (arr: T_71) => T_71; - ifft: (arr: T_72) => T_72; - factorial: (n: T_73) => import("mathjs").NoLiteralType; - gamma: (n: T_74) => import("mathjs").NoLiteralType; - kldivergence: (q: import("mathjs").MathCollection, p: import("mathjs").MathCollection) => number; - lgamma: (n: T_75) => import("mathjs").NoLiteralType; - multinomial: (a: T_76[]) => import("mathjs").NoLiteralType; - permutations: (n: T_77, k?: number | import("mathjs").BigNumber | undefined) => import("mathjs").NoLiteralType; - pickRandom: { - (array: T_78[]): T_78; - (array: T_79[], number: number): T_79[]; - (array: T_80[], number: number, weights: number[]): T_80[]; - }; - random: { - (min?: number | undefined, max?: number | undefined): number; - (size: T_81, min?: number | undefined, max?: number | undefined): T_81; - }; - randomInt: { - (min: number, max?: number | undefined): number; - (size: T_82, min?: number | undefined, max?: number | undefined): T_82; - }; - compare: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").MathCollection; - compareNatural: (x: any, y: any) => number; - compareText: (x: string | import("mathjs").MathCollection, y: string | import("mathjs").MathCollection) => number | import("mathjs").MathCollection; - deepEqual: (x: import("mathjs").MathType, y: import("mathjs").MathType) => import("mathjs").MathType; - equal: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - equalText: (x: string | import("mathjs").MathCollection, y: string | import("mathjs").MathCollection) => number | import("mathjs").MathCollection; - larger: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - largerEq: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - smaller: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - smallerEq: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - unequal: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - setCartesian: (a1: T_83, a2: import("mathjs").MathCollection) => T_83; - setDifference: (a1: T_84, a2: import("mathjs").MathCollection) => T_84; - setDistinct: (a: T_85) => T_85; - setIntersect: (a1: T_86, a2: import("mathjs").MathCollection) => T_86; - setIsSubset: (a1: import("mathjs").MathCollection, a2: import("mathjs").MathCollection) => boolean; - setMultiplicity: (e: import("mathjs").MathNumericType, a: import("mathjs").MathCollection) => number; - setPowerset: (a: T_87) => T_87; - setSize: (a: import("mathjs").MathCollection) => number; - setSymDifference: (a1: T_88, a2: import("mathjs").MathCollection) => T_88; - setUnion: (a1: T_89, a2: import("mathjs").MathCollection) => T_89; - zpk2tf: (z: T_90, p: T_90, k?: number | undefined) => T_90; - freqz: (b: T_91, a: T_91, w?: number | T_91 | undefined) => { - w: T_91; - h: T_91; - }; - erf: (x: T_92) => import("mathjs").NoLiteralType; - zeta: (s: T_93) => T_93; - mad: (array: import("mathjs").MathCollection) => any; - max: { - (...args: T_94[]): T_94; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_95[] | T_95[][], dimension?: number | import("mathjs").BigNumber | undefined): T_95; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - mean: { - (...args: T_96[]): T_96; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_97[] | T_97[][], dimension?: number | import("mathjs").BigNumber | undefined): T_97; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - median: { - (...args: T_98[]): T_98; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_99[] | T_99[][]): T_99; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType; - }; - min: { - (...args: T_100[]): T_100; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_101[] | T_101[][], dimension?: number | import("mathjs").BigNumber | undefined): T_101; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - mode: { - (...args: T_102[]): T_102[]; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType[]; - (A: T_103[] | T_103[][]): T_103[]; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType[]; - }; - prod: { - (...args: T_104[]): T_104; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_105[] | T_105[][]): T_105; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType; - }; - quantileSeq: { - (A: T_106[] | T_106[][], prob: number | import("mathjs").BigNumber | import("mathjs").MathArray, sorted?: boolean | undefined): T_106; - (A: import("mathjs").MathCollection, prob: number | import("mathjs").BigNumber | import("mathjs").MathArray, sorted?: boolean | undefined): import("mathjs").MathScalarType | import("mathjs").MathArray; - }; - std: { - (...args: T_107[]): T_107; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (array: import("mathjs").MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): import("mathjs").MathNumericType[]; - (array: import("mathjs").MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): import("mathjs").MathNumericType; - }; - sum: { - (...args: T_108[]): T_108; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_109[] | T_109[][], dimension?: number | import("mathjs").BigNumber | undefined): T_109; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - count: (x: string | import("mathjs").MathCollection) => number; - cumsum: { - (...args: import("mathjs").MathType[]): import("mathjs").MathType[]; - (array: import("mathjs").MathCollection, dim?: number | undefined): import("mathjs").MathCollection; - }; - variance: { - (...args: import("mathjs").MathNumericType[]): import("mathjs").MathNumericType; - (array: import("mathjs").MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): import("mathjs").MathNumericType[]; - (array: import("mathjs").MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): import("mathjs").MathNumericType; - }; - corr: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").MathType; - format: (value: any, options?: number | import("mathjs").BigNumber | import("mathjs").FormatOptions | ((item: any) => string) | undefined, callback?: ((value: any) => string) | undefined) => string; - print: (template: string, values: any, precision?: number | undefined, options?: number | object | undefined) => void; - acos: { - (x: number): number | import("mathjs").Complex; - (x: T_110): T_110; - }; - acosh: { - (x: number): number | import("mathjs").Complex; - (x: T_111): T_111; - }; - acot: { - (x: number): number; - (x: T_112): T_112; - }; - acoth: { - (x: number): number; - (x: T_113): T_113; - }; - acsc: { - (x: number): number | import("mathjs").Complex; - (x: T_114): T_114; - }; - acsch: { - (x: number): number; - (x: T_115): T_115; - }; - asec: { - (x: number): number | import("mathjs").Complex; - (x: T_116): T_116; - }; - asech: { - (x: number): number | import("mathjs").Complex; - (x: T_117): T_117; - }; - asin: { - (x: number): number | import("mathjs").Complex; - (x: T_118): T_118; - }; - asinh: (x: T_119) => T_119; - atan: (x: T_120) => T_120; - atan2: (y: T_121, x: T_121) => T_121; - atanh: { - (x: number): number | import("mathjs").Complex; - (x: T_122): T_122; - }; - cos: { - (x: number | import("mathjs").Unit): number; - (x: T_123): T_123; - }; - cosh: { - (x: number | import("mathjs").Unit): number; - (x: T_124): T_124; - }; - cot: { - (x: number | import("mathjs").Unit): number; - (x: T_125): T_125; - }; - coth: { - (x: number | import("mathjs").Unit): number; - (x: T_126): T_126; - }; - csc: { - (x: number | import("mathjs").Unit): number; - (x: T_127): T_127; - }; - csch: { - (x: number | import("mathjs").Unit): number; - (x: T_128): T_128; - }; - sec: { - (x: number | import("mathjs").Unit): number; - (x: T_129): T_129; - }; - sech: { - (x: number | import("mathjs").Unit): number; - (x: T_130): T_130; - }; - sin: { - (x: number | import("mathjs").Unit): number; - (x: T_131): T_131; - }; - sinh: { - (x: number | import("mathjs").Unit): number; - (x: T_132): T_132; - }; - tan: { - (x: number | import("mathjs").Unit): number; - (x: T_133): T_133; - }; - tanh: { - (x: number | import("mathjs").Unit): number; - (x: T_134): T_134; - }; - to: (x: import("mathjs").Unit | import("mathjs").MathCollection, unit: string | import("mathjs").Unit) => import("mathjs").Unit | import("mathjs").MathCollection; - isNumber: (x: unknown) => x is number; - isBigNumber: (x: unknown) => x is import("mathjs").BigNumber; - isComplex: (x: unknown) => x is import("mathjs").Complex; - isFraction: (x: unknown) => x is import("mathjs").Fraction; - isUnit: (x: unknown) => x is import("mathjs").Unit; - isString: (x: unknown) => x is string; - isArray: (arg: any) => arg is any[]; - isMatrix: (x: unknown) => x is import("mathjs").Matrix; - isCollection: (x: unknown) => x is any[] | import("mathjs").Matrix; - isDenseMatrix: (x: unknown) => x is import("mathjs").Matrix; - isSparseMatrix: (x: unknown) => x is import("mathjs").Matrix; - isRange: (x: unknown) => boolean; - isIndex: (x: unknown) => x is import("mathjs").Index; - isBoolean: (x: unknown) => x is boolean; - isResultSet: (x: unknown) => boolean; - isHelp: (x: unknown) => x is import("mathjs").Help; - isFunction: (x: unknown) => boolean; - isDate: (x: unknown) => x is Date; - isRegExp: (x: unknown) => x is RegExp; - isObject: (x: unknown) => boolean; - isNull: (x: unknown) => x is null; - isUndefined: (x: unknown) => x is undefined; - isAccessorNode: (x: unknown) => x is import("mathjs").AccessorNode; - isArrayNode: (x: unknown) => x is import("mathjs").ArrayNode; - isAssignmentNode: (x: unknown) => x is import("mathjs").AssignmentNode; - isBlockNode: (x: unknown) => x is import("mathjs").BlockNode; - isConditionalNode: (x: unknown) => x is import("mathjs").ConditionalNode; - isConstantNode: (x: unknown) => x is import("mathjs").ConstantNode; - isFunctionAssignmentNode: (x: unknown) => x is import("mathjs").FunctionAssignmentNode; - isFunctionNode: (x: unknown) => x is import("mathjs").FunctionNode; - isIndexNode: (x: unknown) => x is import("mathjs").IndexNode; - isNode: (x: unknown) => x is import("mathjs").MathNode; - isObjectNode: (x: unknown) => x is import("mathjs").ObjectNode>; - isOperatorNode: (x: unknown) => x is import("mathjs").OperatorNode; - isParenthesisNode: (x: unknown) => x is import("mathjs").ParenthesisNode; - isRangeNode: (x: unknown) => x is import("mathjs").RangeNode; - isRelationalNode: (x: unknown) => x is import("mathjs").RelationalNode; - isSymbolNode: (x: unknown) => x is import("mathjs").SymbolNode; - isChain: (x: unknown) => x is import("mathjs").MathJsChain; - clone: (x: TType) => TType; - hasNumericValue: (x: any) => boolean | boolean[]; - isInteger: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").MathCollection) => boolean; - isNaN: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isNegative: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isNumeric: (x: any) => x is number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction; - isPositive: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isPrime: (x: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => boolean; - isZero: (x: import("mathjs").MathType) => boolean; - typeOf: (x: any) => string; - }; - object: typeof import("./shared/object"); - selector: typeof import("./shared/selector"); - specific: typeof import("./shared/specific"); - str: typeof import("./shared/str"); - tree: typeof import("./shared/tree"); - url: typeof import("./shared/url"); - uuid: typeof import("./shared/uuid"); - assertion: typeof import("./shared/assertion"); - yaml: typeof import("./shared/yaml"); -}; -declare const _default: { - codemirror: typeof codemirror; - array: typeof import("./shared/array"); - cls: typeof import("./shared/class"); - clone: typeof import("./shared/clone"); - constants: typeof import("./shared/constants"); - hash: typeof import("./shared/hash"); - math: { - PI: number; - trunc: (x: number) => number; - product: (v1: number[], v2: number[]) => number | number[]; - vlen: (v: number[]) => number; - angle: (a: number[], b: number[], unit: string) => number; - angleUpTo90: (a: number[], b: number[], unit: string) => number; - vDist: (v1: number[], v2: number[]) => number; - vEqualWithTolerance: (vec1: number[], vec2: number[], tolerance?: number) => boolean; - roundToZero: (n: number) => number; - precise: (x: number, n?: number) => number; - mod: (num: number, tolerance?: number) => number; - isBetweenZeroInclusiveAndOne: (number: number, tolerance?: number) => boolean; - cartesianProduct: (...arg: number[][]) => number[][]; - almostEqual: (a: number, b: number, tolerance?: number) => boolean; - combinations: (a: number, b: number, c: number) => number[][]; - combinationsFromIntervals: (arrA: number[], arrB: number[], arrC: number[]) => number[][]; - calculateSegmentsBetweenPoints3D: (point1: (string | number)[], point2: (string | number)[], n: string | number) => number[][]; - roundValueToNDecimals: (value: number, decimals?: number) => number; - numberToPrecision: typeof import("./shared/math").numberToPrecision; - roundCustom: (value: number, decimals?: number, mode?: import("decimal.js").default.Rounding) => number; - RoundingMethod: { - Bankers: 6; - HalfAwayFromZero: 4; - }; - roundArrayOrNumber: (value: unknown, decimals?: number, mode?: import("decimal.js").default.Rounding) => unknown; - AccessorNode: import("mathjs").AccessorNodeCtor; - ArrayNode: import("mathjs").ArrayNodeCtor; - AssignmentNode: import("mathjs").AssignmentNodeCtor; - BlockNode: import("mathjs").BlockNodeCtor; - ConditionalNode: import("mathjs").ConditionalNodeCtor; - ConstantNode: import("mathjs").ConstantNodeCtor; - FunctionAssignmentNode: import("mathjs").FunctionAssignmentNodeCtor; - FunctionNode: import("mathjs").FunctionNodeCtor; - IndexNode: import("mathjs").IndexNodeCtor; - ObjectNode: import("mathjs").ObjectNodeCtor; - OperatorNode: import("mathjs").OperatorNodeCtor; - ParenthesisNode: import("mathjs").ParenthesisNodeCtor; - RangeNode: import("mathjs").RangeNodeCtor; - RelationalNode: import("mathjs").RelationalNodeCtor; - SymbolNode: import("mathjs").SymbolNodeCtor; - all: import("mathjs").FactoryFunctionMap; - typedDependencies: import("mathjs").FactoryFunctionMap; - ResultSetDependencies: import("mathjs").FactoryFunctionMap; - BigNumberDependencies: import("mathjs").FactoryFunctionMap; - ComplexDependencies: import("mathjs").FactoryFunctionMap; - FractionDependencies: import("mathjs").FactoryFunctionMap; - RangeDependencies: import("mathjs").FactoryFunctionMap; - MatrixDependencies: import("mathjs").FactoryFunctionMap; - DenseMatrixDependencies: import("mathjs").FactoryFunctionMap; - cloneDependencies: import("mathjs").FactoryFunctionMap; - isIntegerDependencies: import("mathjs").FactoryFunctionMap; - isNegativeDependencies: import("mathjs").FactoryFunctionMap; - isNumericDependencies: import("mathjs").FactoryFunctionMap; - hasNumericValueDependencies: import("mathjs").FactoryFunctionMap; - isPositiveDependencies: import("mathjs").FactoryFunctionMap; - isZeroDependencies: import("mathjs").FactoryFunctionMap; - isNaNDependencies: import("mathjs").FactoryFunctionMap; - typeOfDependencies: import("mathjs").FactoryFunctionMap; - typeofDependencies: import("mathjs").FactoryFunctionMap; - equalScalarDependencies: import("mathjs").FactoryFunctionMap; - SparseMatrixDependencies: import("mathjs").FactoryFunctionMap; - numberDependencies: import("mathjs").FactoryFunctionMap; - stringDependencies: import("mathjs").FactoryFunctionMap; - booleanDependencies: import("mathjs").FactoryFunctionMap; - bignumberDependencies: import("mathjs").FactoryFunctionMap; - complexDependencies: import("mathjs").FactoryFunctionMap; - fractionDependencies: import("mathjs").FactoryFunctionMap; - matrixDependencies: import("mathjs").FactoryFunctionMap; - splitUnitDependencies: import("mathjs").FactoryFunctionMap; - unaryMinusDependencies: import("mathjs").FactoryFunctionMap; - unaryPlusDependencies: import("mathjs").FactoryFunctionMap; - absDependencies: import("mathjs").FactoryFunctionMap; - applyDependencies: import("mathjs").FactoryFunctionMap; - addScalarDependencies: import("mathjs").FactoryFunctionMap; - cbrtDependencies: import("mathjs").FactoryFunctionMap; - ceilDependencies: import("mathjs").FactoryFunctionMap; - cubeDependencies: import("mathjs").FactoryFunctionMap; - expDependencies: import("mathjs").FactoryFunctionMap; - expm1Dependencies: import("mathjs").FactoryFunctionMap; - fixDependencies: import("mathjs").FactoryFunctionMap; - floorDependencies: import("mathjs").FactoryFunctionMap; - gcdDependencies: import("mathjs").FactoryFunctionMap; - lcmDependencies: import("mathjs").FactoryFunctionMap; - log10Dependencies: import("mathjs").FactoryFunctionMap; - log2Dependencies: import("mathjs").FactoryFunctionMap; - modDependencies: import("mathjs").FactoryFunctionMap; - multiplyScalarDependencies: import("mathjs").FactoryFunctionMap; - multiplyDependencies: import("mathjs").FactoryFunctionMap; - nthRootDependencies: import("mathjs").FactoryFunctionMap; - signDependencies: import("mathjs").FactoryFunctionMap; - sqrtDependencies: import("mathjs").FactoryFunctionMap; - squareDependencies: import("mathjs").FactoryFunctionMap; - subtractDependencies: import("mathjs").FactoryFunctionMap; - xgcdDependencies: import("mathjs").FactoryFunctionMap; - dotMultiplyDependencies: import("mathjs").FactoryFunctionMap; - bitAndDependencies: import("mathjs").FactoryFunctionMap; - bitNotDependencies: import("mathjs").FactoryFunctionMap; - bitOrDependencies: import("mathjs").FactoryFunctionMap; - bitXorDependencies: import("mathjs").FactoryFunctionMap; - argDependencies: import("mathjs").FactoryFunctionMap; - conjDependencies: import("mathjs").FactoryFunctionMap; - imDependencies: import("mathjs").FactoryFunctionMap; - reDependencies: import("mathjs").FactoryFunctionMap; - notDependencies: import("mathjs").FactoryFunctionMap; - orDependencies: import("mathjs").FactoryFunctionMap; - xorDependencies: import("mathjs").FactoryFunctionMap; - concatDependencies: import("mathjs").FactoryFunctionMap; - columnDependencies: import("mathjs").FactoryFunctionMap; - crossDependencies: import("mathjs").FactoryFunctionMap; - diagDependencies: import("mathjs").FactoryFunctionMap; - eyeDependencies: import("mathjs").FactoryFunctionMap; - filterDependencies: import("mathjs").FactoryFunctionMap; - flattenDependencies: import("mathjs").FactoryFunctionMap; - forEachDependencies: import("mathjs").FactoryFunctionMap; - getMatrixDataTypeDependencies: import("mathjs").FactoryFunctionMap; - identityDependencies: import("mathjs").FactoryFunctionMap; - kronDependencies: import("mathjs").FactoryFunctionMap; - mapDependencies: import("mathjs").FactoryFunctionMap; - onesDependencies: import("mathjs").FactoryFunctionMap; - rangeDependencies: import("mathjs").FactoryFunctionMap; - reshapeDependencies: import("mathjs").FactoryFunctionMap; - resizeDependencies: import("mathjs").FactoryFunctionMap; - rowDependencies: import("mathjs").FactoryFunctionMap; - sizeDependencies: import("mathjs").FactoryFunctionMap; - squeezeDependencies: import("mathjs").FactoryFunctionMap; - subsetDependencies: import("mathjs").FactoryFunctionMap; - transposeDependencies: import("mathjs").FactoryFunctionMap; - ctransposeDependencies: import("mathjs").FactoryFunctionMap; - zerosDependencies: import("mathjs").FactoryFunctionMap; - erfDependencies: import("mathjs").FactoryFunctionMap; - modeDependencies: import("mathjs").FactoryFunctionMap; - prodDependencies: import("mathjs").FactoryFunctionMap; - formatDependencies: import("mathjs").FactoryFunctionMap; - printDependencies: import("mathjs").FactoryFunctionMap; - toDependencies: import("mathjs").FactoryFunctionMap; - isPrimeDependencies: import("mathjs").FactoryFunctionMap; - numericDependencies: import("mathjs").FactoryFunctionMap; - divideScalarDependencies: import("mathjs").FactoryFunctionMap; - powDependencies: import("mathjs").FactoryFunctionMap; - roundDependencies: import("mathjs").FactoryFunctionMap; - logDependencies: import("mathjs").FactoryFunctionMap; - log1pDependencies: import("mathjs").FactoryFunctionMap; - nthRootsDependencies: import("mathjs").FactoryFunctionMap; - dotPowDependencies: import("mathjs").FactoryFunctionMap; - dotDivideDependencies: import("mathjs").FactoryFunctionMap; - lsolveDependencies: import("mathjs").FactoryFunctionMap; - usolveDependencies: import("mathjs").FactoryFunctionMap; - leftShiftDependencies: import("mathjs").FactoryFunctionMap; - rightArithShiftDependencies: import("mathjs").FactoryFunctionMap; - rightLogShiftDependencies: import("mathjs").FactoryFunctionMap; - andDependencies: import("mathjs").FactoryFunctionMap; - compareDependencies: import("mathjs").FactoryFunctionMap; - compareNaturalDependencies: import("mathjs").FactoryFunctionMap; - compareTextDependencies: import("mathjs").FactoryFunctionMap; - equalDependencies: import("mathjs").FactoryFunctionMap; - equalTextDependencies: import("mathjs").FactoryFunctionMap; - smallerDependencies: import("mathjs").FactoryFunctionMap; - smallerEqDependencies: import("mathjs").FactoryFunctionMap; - largerDependencies: import("mathjs").FactoryFunctionMap; - largerEqDependencies: import("mathjs").FactoryFunctionMap; - deepEqualDependencies: import("mathjs").FactoryFunctionMap; - unequalDependencies: import("mathjs").FactoryFunctionMap; - partitionSelectDependencies: import("mathjs").FactoryFunctionMap; - sortDependencies: import("mathjs").FactoryFunctionMap; - maxDependencies: import("mathjs").FactoryFunctionMap; - minDependencies: import("mathjs").FactoryFunctionMap; - ImmutableDenseMatrixDependencies: import("mathjs").FactoryFunctionMap; - IndexDependencies: import("mathjs").FactoryFunctionMap; - FibonacciHeapDependencies: import("mathjs").FactoryFunctionMap; - SpaDependencies: import("mathjs").FactoryFunctionMap; - UnitDependencies: import("mathjs").FactoryFunctionMap; - unitDependencies: import("mathjs").FactoryFunctionMap; - sparseDependencies: import("mathjs").FactoryFunctionMap; - createUnitDependencies: import("mathjs").FactoryFunctionMap; - acosDependencies: import("mathjs").FactoryFunctionMap; - acoshDependencies: import("mathjs").FactoryFunctionMap; - acotDependencies: import("mathjs").FactoryFunctionMap; - acothDependencies: import("mathjs").FactoryFunctionMap; - acscDependencies: import("mathjs").FactoryFunctionMap; - acschDependencies: import("mathjs").FactoryFunctionMap; - asecDependencies: import("mathjs").FactoryFunctionMap; - asechDependencies: import("mathjs").FactoryFunctionMap; - asinDependencies: import("mathjs").FactoryFunctionMap; - asinhDependencies: import("mathjs").FactoryFunctionMap; - atanDependencies: import("mathjs").FactoryFunctionMap; - atan2Dependencies: import("mathjs").FactoryFunctionMap; - atanhDependencies: import("mathjs").FactoryFunctionMap; - cosDependencies: import("mathjs").FactoryFunctionMap; - coshDependencies: import("mathjs").FactoryFunctionMap; - cotDependencies: import("mathjs").FactoryFunctionMap; - cothDependencies: import("mathjs").FactoryFunctionMap; - cscDependencies: import("mathjs").FactoryFunctionMap; - cschDependencies: import("mathjs").FactoryFunctionMap; - secDependencies: import("mathjs").FactoryFunctionMap; - sechDependencies: import("mathjs").FactoryFunctionMap; - sinDependencies: import("mathjs").FactoryFunctionMap; - sinhDependencies: import("mathjs").FactoryFunctionMap; - tanDependencies: import("mathjs").FactoryFunctionMap; - tanhDependencies: import("mathjs").FactoryFunctionMap; - setCartesianDependencies: import("mathjs").FactoryFunctionMap; - setDifferenceDependencies: import("mathjs").FactoryFunctionMap; - setDistinctDependencies: import("mathjs").FactoryFunctionMap; - setIntersectDependencies: import("mathjs").FactoryFunctionMap; - setIsSubsetDependencies: import("mathjs").FactoryFunctionMap; - setMultiplicityDependencies: import("mathjs").FactoryFunctionMap; - setPowersetDependencies: import("mathjs").FactoryFunctionMap; - setSizeDependencies: import("mathjs").FactoryFunctionMap; - setSymDifferenceDependencies: import("mathjs").FactoryFunctionMap; - setUnionDependencies: import("mathjs").FactoryFunctionMap; - zpk2tfDependencies: import("mathjs").FactoryFunctionMap; - freqzDependencies: import("mathjs").FactoryFunctionMap; - addDependencies: import("mathjs").FactoryFunctionMap; - hypotDependencies: import("mathjs").FactoryFunctionMap; - normDependencies: import("mathjs").FactoryFunctionMap; - dotDependencies: import("mathjs").FactoryFunctionMap; - traceDependencies: import("mathjs").FactoryFunctionMap; - indexDependencies: import("mathjs").FactoryFunctionMap; - NodeDependencies: import("mathjs").FactoryFunctionMap; - AccessorNodeDependencies: import("mathjs").FactoryFunctionMap; - ArrayNodeDependencies: import("mathjs").FactoryFunctionMap; - AssignmentNodeDependencies: import("mathjs").FactoryFunctionMap; - BlockNodeDependencies: import("mathjs").FactoryFunctionMap; - ConditionalNodeDependencies: import("mathjs").FactoryFunctionMap; - ConstantNodeDependencies: import("mathjs").FactoryFunctionMap; - FunctionAssignmentNodeDependencies: import("mathjs").FactoryFunctionMap; - IndexNodeDependencies: import("mathjs").FactoryFunctionMap; - ObjectNodeDependencies: import("mathjs").FactoryFunctionMap; - OperatorNodeDependencies: import("mathjs").FactoryFunctionMap; - ParenthesisNodeDependencies: import("mathjs").FactoryFunctionMap; - RangeNodeDependencies: import("mathjs").FactoryFunctionMap; - RelationalNodeDependencies: import("mathjs").FactoryFunctionMap; - SymbolNodeDependencies: import("mathjs").FactoryFunctionMap; - FunctionNodeDependencies: import("mathjs").FactoryFunctionMap; - parseDependencies: import("mathjs").FactoryFunctionMap; - compileDependencies: import("mathjs").FactoryFunctionMap; - evaluateDependencies: import("mathjs").FactoryFunctionMap; - evalDependencies: import("mathjs").FactoryFunctionMap; - ParserDependencies: import("mathjs").FactoryFunctionMap; - parserDependencies: import("mathjs").FactoryFunctionMap; - lupDependencies: import("mathjs").FactoryFunctionMap; - qrDependencies: import("mathjs").FactoryFunctionMap; - sluDependencies: import("mathjs").FactoryFunctionMap; - lusolveDependencies: import("mathjs").FactoryFunctionMap; - HelpDependencies: import("mathjs").FactoryFunctionMap; - ChainDependencies: import("mathjs").FactoryFunctionMap; - helpDependencies: import("mathjs").FactoryFunctionMap; - chainDependencies: import("mathjs").FactoryFunctionMap; - detDependencies: import("mathjs").FactoryFunctionMap; - invDependencies: import("mathjs").FactoryFunctionMap; - expmDependencies: import("mathjs").FactoryFunctionMap; - sqrtmDependencies: import("mathjs").FactoryFunctionMap; - sylvesterDependencies: import("mathjs").FactoryFunctionMap; - schurDependencies: import("mathjs").FactoryFunctionMap; - lyapDependencies: import("mathjs").FactoryFunctionMap; - divideDependencies: import("mathjs").FactoryFunctionMap; - distanceDependencies: import("mathjs").FactoryFunctionMap; - intersectDependencies: import("mathjs").FactoryFunctionMap; - sumDependencies: import("mathjs").FactoryFunctionMap; - meanDependencies: import("mathjs").FactoryFunctionMap; - medianDependencies: import("mathjs").FactoryFunctionMap; - madDependencies: import("mathjs").FactoryFunctionMap; - varianceDependencies: import("mathjs").FactoryFunctionMap; - varDependencies: import("mathjs").FactoryFunctionMap; - quantileSeqDependencies: import("mathjs").FactoryFunctionMap; - stdDependencies: import("mathjs").FactoryFunctionMap; - combinationsDependencies: import("mathjs").FactoryFunctionMap; - gammaDependencies: import("mathjs").FactoryFunctionMap; - factorialDependencies: import("mathjs").FactoryFunctionMap; - kldivergenceDependencies: import("mathjs").FactoryFunctionMap; - multinomialDependencies: import("mathjs").FactoryFunctionMap; - permutationsDependencies: import("mathjs").FactoryFunctionMap; - pickRandomDependencies: import("mathjs").FactoryFunctionMap; - randomDependencies: import("mathjs").FactoryFunctionMap; - randomIntDependencies: import("mathjs").FactoryFunctionMap; - stirlingS2Dependencies: import("mathjs").FactoryFunctionMap; - bellNumbersDependencies: import("mathjs").FactoryFunctionMap; - catalanDependencies: import("mathjs").FactoryFunctionMap; - compositionDependencies: import("mathjs").FactoryFunctionMap; - simplifyDependencies: import("mathjs").FactoryFunctionMap; - derivativeDependencies: import("mathjs").FactoryFunctionMap; - rationalizeDependencies: import("mathjs").FactoryFunctionMap; - reviverDependencies: import("mathjs").FactoryFunctionMap; - eDependencies: import("mathjs").FactoryFunctionMap; - EDependencies: import("mathjs").FactoryFunctionMap; - falseDependencies: import("mathjs").FactoryFunctionMap; - iDependencies: import("mathjs").FactoryFunctionMap; - InfinityDependencies: import("mathjs").FactoryFunctionMap; - LN10Dependencies: import("mathjs").FactoryFunctionMap; - LN2Dependencies: import("mathjs").FactoryFunctionMap; - LOG10EDependencies: import("mathjs").FactoryFunctionMap; - LOG2EDependencies: import("mathjs").FactoryFunctionMap; - NaNDependencies: import("mathjs").FactoryFunctionMap; - nullDependencies: import("mathjs").FactoryFunctionMap; - phiDependencies: import("mathjs").FactoryFunctionMap; - piDependencies: import("mathjs").FactoryFunctionMap; - PIDependencies: import("mathjs").FactoryFunctionMap; - SQRT1_2Dependencies: import("mathjs").FactoryFunctionMap; - SQRT2Dependencies: import("mathjs").FactoryFunctionMap; - tauDependencies: import("mathjs").FactoryFunctionMap; - trueDependencies: import("mathjs").FactoryFunctionMap; - versionDependencies: import("mathjs").FactoryFunctionMap; - atomicMassDependencies: import("mathjs").FactoryFunctionMap; - avogadroDependencies: import("mathjs").FactoryFunctionMap; - bohrMagnetonDependencies: import("mathjs").FactoryFunctionMap; - bohrRadiusDependencies: import("mathjs").FactoryFunctionMap; - boltzmannDependencies: import("mathjs").FactoryFunctionMap; - classicalElectronRadiusDependencies: import("mathjs").FactoryFunctionMap; - conductanceQuantumDependencies: import("mathjs").FactoryFunctionMap; - coulombDependencies: import("mathjs").FactoryFunctionMap; - deuteronMassDependencies: import("mathjs").FactoryFunctionMap; - efimovFactorDependencies: import("mathjs").FactoryFunctionMap; - electricConstantDependencies: import("mathjs").FactoryFunctionMap; - electronMassDependencies: import("mathjs").FactoryFunctionMap; - elementaryChargeDependencies: import("mathjs").FactoryFunctionMap; - faradayDependencies: import("mathjs").FactoryFunctionMap; - fermiCouplingDependencies: import("mathjs").FactoryFunctionMap; - fineStructureDependencies: import("mathjs").FactoryFunctionMap; - firstRadiationDependencies: import("mathjs").FactoryFunctionMap; - gasConstantDependencies: import("mathjs").FactoryFunctionMap; - gravitationConstantDependencies: import("mathjs").FactoryFunctionMap; - gravityDependencies: import("mathjs").FactoryFunctionMap; - hartreeEnergyDependencies: import("mathjs").FactoryFunctionMap; - inverseConductanceQuantumDependencies: import("mathjs").FactoryFunctionMap; - klitzingDependencies: import("mathjs").FactoryFunctionMap; - loschmidtDependencies: import("mathjs").FactoryFunctionMap; - magneticConstantDependencies: import("mathjs").FactoryFunctionMap; - magneticFluxQuantumDependencies: import("mathjs").FactoryFunctionMap; - molarMassDependencies: import("mathjs").FactoryFunctionMap; - molarMassC12Dependencies: import("mathjs").FactoryFunctionMap; - molarPlanckConstantDependencies: import("mathjs").FactoryFunctionMap; - molarVolumeDependencies: import("mathjs").FactoryFunctionMap; - neutronMassDependencies: import("mathjs").FactoryFunctionMap; - nuclearMagnetonDependencies: import("mathjs").FactoryFunctionMap; - planckChargeDependencies: import("mathjs").FactoryFunctionMap; - planckConstantDependencies: import("mathjs").FactoryFunctionMap; - planckLengthDependencies: import("mathjs").FactoryFunctionMap; - planckMassDependencies: import("mathjs").FactoryFunctionMap; - planckTemperatureDependencies: import("mathjs").FactoryFunctionMap; - planckTimeDependencies: import("mathjs").FactoryFunctionMap; - protonMassDependencies: import("mathjs").FactoryFunctionMap; - quantumOfCirculationDependencies: import("mathjs").FactoryFunctionMap; - reducedPlanckConstantDependencies: import("mathjs").FactoryFunctionMap; - rydbergDependencies: import("mathjs").FactoryFunctionMap; - sackurTetrodeDependencies: import("mathjs").FactoryFunctionMap; - secondRadiationDependencies: import("mathjs").FactoryFunctionMap; - speedOfLightDependencies: import("mathjs").FactoryFunctionMap; - stefanBoltzmannDependencies: import("mathjs").FactoryFunctionMap; - thomsonCrossSectionDependencies: import("mathjs").FactoryFunctionMap; - vacuumImpedanceDependencies: import("mathjs").FactoryFunctionMap; - weakMixingAngleDependencies: import("mathjs").FactoryFunctionMap; - wienDisplacementDependencies: import("mathjs").FactoryFunctionMap; - applyTransformDependencies: import("mathjs").FactoryFunctionMap; - columnTransformDependencies: import("mathjs").FactoryFunctionMap; - filterTransformDependencies: import("mathjs").FactoryFunctionMap; - forEachTransformDependencies: import("mathjs").FactoryFunctionMap; - indexTransformDependencies: import("mathjs").FactoryFunctionMap; - mapTransformDependencies: import("mathjs").FactoryFunctionMap; - maxTransformDependencies: import("mathjs").FactoryFunctionMap; - meanTransformDependencies: import("mathjs").FactoryFunctionMap; - minTransformDependencies: import("mathjs").FactoryFunctionMap; - rangeTransformDependencies: import("mathjs").FactoryFunctionMap; - rowTransformDependencies: import("mathjs").FactoryFunctionMap; - subsetTransformDependencies: import("mathjs").FactoryFunctionMap; - concatTransformDependencies: import("mathjs").FactoryFunctionMap; - stdTransformDependencies: import("mathjs").FactoryFunctionMap; - sumTransformDependencies: import("mathjs").FactoryFunctionMap; - varianceTransformDependencies: import("mathjs").FactoryFunctionMap; - Matrix: import("mathjs").MatrixCtor; - create: (factories: import("mathjs").FactoryFunctionMap, config?: import("mathjs").ConfigOptions | undefined) => import("mathjs").MathJsInstance; - factory: (name: string, dependencies: TDeps, create: (injected: Pick | Extract<"number", TDeps[number]> | Extract<"boolean", TDeps[number]> | Extract<"concat", TDeps[number]> | Extract<"sort", TDeps[number]> | Extract<"forEach", TDeps[number]> | Extract<"map", TDeps[number]> | Extract<"filter", TDeps[number]> | Extract<"AccessorNode", TDeps[number]> | Extract<"ArrayNode", TDeps[number]> | Extract<"AssignmentNode", TDeps[number]> | Extract<"BlockNode", TDeps[number]> | Extract<"ConditionalNode", TDeps[number]> | Extract<"ConstantNode", TDeps[number]> | Extract<"FunctionAssignmentNode", TDeps[number]> | Extract<"FunctionNode", TDeps[number]> | Extract<"IndexNode", TDeps[number]> | Extract<"ObjectNode", TDeps[number]> | Extract<"OperatorNode", TDeps[number]> | Extract<"ParenthesisNode", TDeps[number]> | Extract<"RangeNode", TDeps[number]> | Extract<"RelationalNode", TDeps[number]> | Extract<"SymbolNode", TDeps[number]> | Extract<"Matrix", TDeps[number]> | Extract<"create", TDeps[number]> | Extract<"factory", TDeps[number]> | Extract<"typed", TDeps[number]> | Extract<"e", TDeps[number]> | Extract<"pi", TDeps[number]> | Extract<"i", TDeps[number]> | Extract<"LN2", TDeps[number]> | Extract<"LN10", TDeps[number]> | Extract<"LOG2E", TDeps[number]> | Extract<"LOG10E", TDeps[number]> | Extract<"phi", TDeps[number]> | Extract<"SQRT1_2", TDeps[number]> | Extract<"SQRT2", TDeps[number]> | Extract<"tau", TDeps[number]> | Extract<"Node", TDeps[number]> | Extract<"uninitialized", TDeps[number]> | Extract<"version", TDeps[number]> | Extract<"expression", TDeps[number]> | Extract<"reviver", TDeps[number]> | Extract<"replacer", TDeps[number]> | Extract<"bignumber", TDeps[number]> | Extract<"chain", TDeps[number]> | Extract<"complex", TDeps[number]> | Extract<"createUnit", TDeps[number]> | Extract<"fraction", TDeps[number]> | Extract<"index", TDeps[number]> | Extract<"matrix", TDeps[number]> | Extract<"sparse", TDeps[number]> | Extract<"splitUnit", TDeps[number]> | Extract<"unit", TDeps[number]> | Extract<"compile", TDeps[number]> | Extract<"evaluate", TDeps[number]> | Extract<"help", TDeps[number]> | Extract<"parse", TDeps[number]> | Extract<"parser", TDeps[number]> | Extract<"derivative", TDeps[number]> | Extract<"lsolve", TDeps[number]> | Extract<"lup", TDeps[number]> | Extract<"lusolve", TDeps[number]> | Extract<"polynomialRoot", TDeps[number]> | Extract<"qr", TDeps[number]> | Extract<"rationalize", TDeps[number]> | Extract<"simplify", TDeps[number]> | Extract<"simplifyConstant", TDeps[number]> | Extract<"simplifyCore", TDeps[number]> | Extract<"resolve", TDeps[number]> | Extract<"slu", TDeps[number]> | Extract<"usolve", TDeps[number]> | Extract<"abs", TDeps[number]> | Extract<"add", TDeps[number]> | Extract<"cbrt", TDeps[number]> | Extract<"ceil", TDeps[number]> | Extract<"fix", TDeps[number]> | Extract<"floor", TDeps[number]> | Extract<"round", TDeps[number]> | Extract<"cube", TDeps[number]> | Extract<"divide", TDeps[number]> | Extract<"dotDivide", TDeps[number]> | Extract<"dotMultiply", TDeps[number]> | Extract<"dotPow", TDeps[number]> | Extract<"exp", TDeps[number]> | Extract<"expm1", TDeps[number]> | Extract<"gcd", TDeps[number]> | Extract<"hypot", TDeps[number]> | Extract<"lcm", TDeps[number]> | Extract<"log", TDeps[number]> | Extract<"log10", TDeps[number]> | Extract<"log1p", TDeps[number]> | Extract<"log2", TDeps[number]> | Extract<"mod", TDeps[number]> | Extract<"multiply", TDeps[number]> | Extract<"norm", TDeps[number]> | Extract<"nthRoot", TDeps[number]> | Extract<"pow", TDeps[number]> | Extract<"sign", TDeps[number]> | Extract<"sqrt", TDeps[number]> | Extract<"square", TDeps[number]> | Extract<"subtract", TDeps[number]> | Extract<"unaryMinus", TDeps[number]> | Extract<"unaryPlus", TDeps[number]> | Extract<"xgcd", TDeps[number]> | Extract<"bitAnd", TDeps[number]> | Extract<"bitNot", TDeps[number]> | Extract<"bitOr", TDeps[number]> | Extract<"bitXor", TDeps[number]> | Extract<"leftShift", TDeps[number]> | Extract<"rightArithShift", TDeps[number]> | Extract<"rightLogShift", TDeps[number]> | Extract<"bellNumbers", TDeps[number]> | Extract<"catalan", TDeps[number]> | Extract<"composition", TDeps[number]> | Extract<"stirlingS2", TDeps[number]> | Extract<"arg", TDeps[number]> | Extract<"conj", TDeps[number]> | Extract<"im", TDeps[number]> | Extract<"re", TDeps[number]> | Extract<"distance", TDeps[number]> | Extract<"intersect", TDeps[number]> | Extract<"and", TDeps[number]> | Extract<"not", TDeps[number]> | Extract<"or", TDeps[number]> | Extract<"xor", TDeps[number]> | Extract<"apply", TDeps[number]> | Extract<"cross", TDeps[number]> | Extract<"det", TDeps[number]> | Extract<"diag", TDeps[number]> | Extract<"dot", TDeps[number]> | Extract<"eigs", TDeps[number]> | Extract<"expm", TDeps[number]> | Extract<"sylvester", TDeps[number]> | Extract<"schur", TDeps[number]> | Extract<"lyap", TDeps[number]> | Extract<"identity", TDeps[number]> | Extract<"flatten", TDeps[number]> | Extract<"inv", TDeps[number]> | Extract<"kron", TDeps[number]> | Extract<"ones", TDeps[number]> | Extract<"partitionSelect", TDeps[number]> | Extract<"pinv", TDeps[number]> | Extract<"range", TDeps[number]> | Extract<"reshape", TDeps[number]> | Extract<"resize", TDeps[number]> | Extract<"rotationMatrix", TDeps[number]> | Extract<"row", TDeps[number]> | Extract<"column", TDeps[number]> | Extract<"rotate", TDeps[number]> | Extract<"size", TDeps[number]> | Extract<"sqrtm", TDeps[number]> | Extract<"squeeze", TDeps[number]> | Extract<"subset", TDeps[number]> | Extract<"trace", TDeps[number]> | Extract<"transpose", TDeps[number]> | Extract<"zeros", TDeps[number]> | Extract<"fft", TDeps[number]> | Extract<"ifft", TDeps[number]> | Extract<"combinations", TDeps[number]> | Extract<"factorial", TDeps[number]> | Extract<"gamma", TDeps[number]> | Extract<"kldivergence", TDeps[number]> | Extract<"lgamma", TDeps[number]> | Extract<"multinomial", TDeps[number]> | Extract<"permutations", TDeps[number]> | Extract<"pickRandom", TDeps[number]> | Extract<"random", TDeps[number]> | Extract<"randomInt", TDeps[number]> | Extract<"compare", TDeps[number]> | Extract<"compareNatural", TDeps[number]> | Extract<"compareText", TDeps[number]> | Extract<"deepEqual", TDeps[number]> | Extract<"equal", TDeps[number]> | Extract<"equalText", TDeps[number]> | Extract<"larger", TDeps[number]> | Extract<"largerEq", TDeps[number]> | Extract<"smaller", TDeps[number]> | Extract<"smallerEq", TDeps[number]> | Extract<"unequal", TDeps[number]> | Extract<"setCartesian", TDeps[number]> | Extract<"setDifference", TDeps[number]> | Extract<"setDistinct", TDeps[number]> | Extract<"setIntersect", TDeps[number]> | Extract<"setIsSubset", TDeps[number]> | Extract<"setMultiplicity", TDeps[number]> | Extract<"setPowerset", TDeps[number]> | Extract<"setSize", TDeps[number]> | Extract<"setSymDifference", TDeps[number]> | Extract<"setUnion", TDeps[number]> | Extract<"zpk2tf", TDeps[number]> | Extract<"freqz", TDeps[number]> | Extract<"erf", TDeps[number]> | Extract<"zeta", TDeps[number]> | Extract<"mad", TDeps[number]> | Extract<"max", TDeps[number]> | Extract<"mean", TDeps[number]> | Extract<"median", TDeps[number]> | Extract<"min", TDeps[number]> | Extract<"mode", TDeps[number]> | Extract<"prod", TDeps[number]> | Extract<"quantileSeq", TDeps[number]> | Extract<"std", TDeps[number]> | Extract<"sum", TDeps[number]> | Extract<"count", TDeps[number]> | Extract<"cumsum", TDeps[number]> | Extract<"variance", TDeps[number]> | Extract<"corr", TDeps[number]> | Extract<"format", TDeps[number]> | Extract<"print", TDeps[number]> | Extract<"acos", TDeps[number]> | Extract<"acosh", TDeps[number]> | Extract<"acot", TDeps[number]> | Extract<"acoth", TDeps[number]> | Extract<"acsc", TDeps[number]> | Extract<"acsch", TDeps[number]> | Extract<"asec", TDeps[number]> | Extract<"asech", TDeps[number]> | Extract<"asin", TDeps[number]> | Extract<"asinh", TDeps[number]> | Extract<"atan", TDeps[number]> | Extract<"atan2", TDeps[number]> | Extract<"atanh", TDeps[number]> | Extract<"cos", TDeps[number]> | Extract<"cosh", TDeps[number]> | Extract<"cot", TDeps[number]> | Extract<"coth", TDeps[number]> | Extract<"csc", TDeps[number]> | Extract<"csch", TDeps[number]> | Extract<"sec", TDeps[number]> | Extract<"sech", TDeps[number]> | Extract<"sin", TDeps[number]> | Extract<"sinh", TDeps[number]> | Extract<"tan", TDeps[number]> | Extract<"tanh", TDeps[number]> | Extract<"to", TDeps[number]> | Extract<"isNumber", TDeps[number]> | Extract<"isBigNumber", TDeps[number]> | Extract<"isComplex", TDeps[number]> | Extract<"isFraction", TDeps[number]> | Extract<"isUnit", TDeps[number]> | Extract<"isString", TDeps[number]> | Extract<"isArray", TDeps[number]> | Extract<"isMatrix", TDeps[number]> | Extract<"isCollection", TDeps[number]> | Extract<"isDenseMatrix", TDeps[number]> | Extract<"isSparseMatrix", TDeps[number]> | Extract<"isRange", TDeps[number]> | Extract<"isIndex", TDeps[number]> | Extract<"isBoolean", TDeps[number]> | Extract<"isResultSet", TDeps[number]> | Extract<"isHelp", TDeps[number]> | Extract<"isFunction", TDeps[number]> | Extract<"isDate", TDeps[number]> | Extract<"isRegExp", TDeps[number]> | Extract<"isObject", TDeps[number]> | Extract<"isNull", TDeps[number]> | Extract<"isUndefined", TDeps[number]> | Extract<"isAccessorNode", TDeps[number]> | Extract<"isArrayNode", TDeps[number]> | Extract<"isAssignmentNode", TDeps[number]> | Extract<"isBlockNode", TDeps[number]> | Extract<"isConditionalNode", TDeps[number]> | Extract<"isConstantNode", TDeps[number]> | Extract<"isFunctionAssignmentNode", TDeps[number]> | Extract<"isFunctionNode", TDeps[number]> | Extract<"isIndexNode", TDeps[number]> | Extract<"isNode", TDeps[number]> | Extract<"isObjectNode", TDeps[number]> | Extract<"isOperatorNode", TDeps[number]> | Extract<"isParenthesisNode", TDeps[number]> | Extract<"isRangeNode", TDeps[number]> | Extract<"isRelationalNode", TDeps[number]> | Extract<"isSymbolNode", TDeps[number]> | Extract<"isChain", TDeps[number]> | Extract<"clone", TDeps[number]> | Extract<"hasNumericValue", TDeps[number]> | Extract<"isInteger", TDeps[number]> | Extract<"isNaN", TDeps[number]> | Extract<"isNegative", TDeps[number]> | Extract<"isNumeric", TDeps[number]> | Extract<"isPositive", TDeps[number]> | Extract<"isPrime", TDeps[number]> | Extract<"isZero", TDeps[number]> | Extract<"typeOf", TDeps[number]> | Extract<"Infinity", TDeps[number]> | Extract<"NaN", TDeps[number]> | Extract<"config", TDeps[number]> | Extract<"symbolicEqual", TDeps[number]> | Extract<"import", TDeps[number]>>) => T, meta?: any) => import("mathjs").FactoryFunction; - typed: (name: string, signatures: Record any>) => (...args: any[]) => any; - e: number; - pi: number; - i: number; - LN2: number; - LN10: number; - LOG2E: number; - LOG10E: number; - phi: number; - SQRT1_2: number; - SQRT2: number; - tau: number; - Node: import("mathjs").NodeCtor; - uninitialized: any; - version: string; - expression: import("mathjs").MathNode; - reviver: () => (key: any, value: any) => any; - replacer: () => (key: any, value: any) => any; - bignumber: { - (x?: string | number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): import("mathjs").BigNumber; - (x: T_1): T_1; - }; - boolean: { - (x: string | number | boolean | null): boolean; - (x: import("mathjs").MathCollection): import("mathjs").MathCollection; - }; - chain: (value?: TValue | undefined) => import("mathjs").MathJsChain; - complex: { - (arg?: string | import("mathjs").MathNumericType | import("mathjs").PolarCoordinates | undefined): import("mathjs").Complex; - (arg?: import("mathjs").MathCollection | undefined): import("mathjs").MathCollection; - (re: number, im: number): import("mathjs").Complex; - }; - createUnit: { - (name: string, definition?: string | import("mathjs").Unit | import("mathjs").UnitDefinition | undefined, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit; - (units: Record, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit; - }; - fraction: { - (value: string | number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").FractionDefinition): import("mathjs").Fraction; - (values: import("mathjs").MathCollection): import("mathjs").MathCollection; - (numerator: number, denominator: number): import("mathjs").Fraction; - }; - index: (...ranges: any[]) => import("mathjs").Index; - matrix: { - (format?: "sparse" | "dense" | undefined): import("mathjs").Matrix; - (data: string[] | import("mathjs").MathCollection, format?: "sparse" | "dense" | undefined, dataType?: string | undefined): import("mathjs").Matrix; - }; - number: { - (value?: string | number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): number; - (value?: import("mathjs").MathCollection | undefined): number | import("mathjs").MathCollection; - (unit: import("mathjs").Unit, valuelessUnit: string | import("mathjs").Unit): number; - }; - sparse: (data?: import("mathjs").MathCollection | undefined, dataType?: string | undefined) => import("mathjs").Matrix; - splitUnit: (unit: import("mathjs").Unit, parts: import("mathjs").Unit[]) => import("mathjs").Unit[]; - string: { - (value: string | import("mathjs").MathNumericType | import("mathjs").Unit | null): string; - (value: import("mathjs").MathCollection): import("mathjs").MathCollection; - }; - unit: { - (unit: string): import("mathjs").Unit; - (unit: import("mathjs").Unit): import("mathjs").Unit; - (value: import("mathjs").MathNumericType, unit: string): import("mathjs").Unit; - (value: import("mathjs").MathCollection, unit: string): import("mathjs").Unit[]; - }; - compile: { - (expr: import("mathjs").MathExpression): import("mathjs").EvalFunction; - (exprs: import("mathjs").MathExpression[]): import("mathjs").EvalFunction[]; - }; - evaluate: { - (expr: import("mathjs").MathExpression, scope?: object | undefined): any; - (expr: import("mathjs").MathExpression[], scope?: object | undefined): any[]; - }; - help: (search: () => any) => import("mathjs").Help; - parse: import("mathjs").ParseFunction; - parser: () => import("mathjs").Parser; - derivative: (expr: string | import("mathjs").MathNode, variable: string | import("mathjs").MathNode, options?: { - simplify: boolean; - } | undefined) => import("mathjs").MathNode; - lsolve: { - (L: import("mathjs").Matrix, b: import("mathjs").MathCollection): import("mathjs").Matrix; - (L: import("mathjs").MathArray, b: import("mathjs").MathCollection): import("mathjs").MathArray; - }; - lup: (A?: import("mathjs").MathCollection | undefined) => import("mathjs").LUDecomposition; - lusolve: { - (A: import("mathjs").Matrix, b: import("mathjs").MathCollection, order?: number | undefined, threshold?: number | undefined): import("mathjs").Matrix; - (A: import("mathjs").MathArray, b: import("mathjs").MathCollection, order?: number | undefined, threshold?: number | undefined): import("mathjs").MathArray; - (A: import("mathjs").LUDecomposition, b: import("mathjs").MathCollection): import("mathjs").Matrix; - }; - polynomialRoot: (constantCoeff: number | import("mathjs").Complex, linearCoeff: number | import("mathjs").Complex, quadraticCoeff?: number | import("mathjs").Complex | undefined, cubicCoeff?: number | import("mathjs").Complex | undefined) => (number | import("mathjs").Complex)[]; - qr: (A: import("mathjs").MathCollection) => import("mathjs").QRDecomposition; - rationalize: { - (expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: false | undefined): import("mathjs").MathNode; - (expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: true | undefined): { - expression: string | import("mathjs").MathNode; - variables: string[]; - coefficients: import("mathjs").MathType[]; - }; - }; - simplify: import("mathjs").Simplify; - simplifyConstant: (expr: string | import("mathjs").MathNode, options?: import("mathjs").SimplifyOptions | undefined) => import("mathjs").MathNode; - simplifyCore: (expr: string | import("mathjs").MathNode, options?: import("mathjs").SimplifyOptions | undefined) => import("mathjs").MathNode; - resolve: { - (node: string | import("mathjs").MathNode, scope?: Record | undefined): import("mathjs").MathNode; - (node: (string | import("mathjs").MathNode)[], scope?: Record | undefined): import("mathjs").MathNode[]; - (node: import("mathjs").Matrix, scope?: Record | undefined): import("mathjs").Matrix; - }; - slu: (A: import("mathjs").Matrix, order: number, threshold: number) => import("mathjs").SLUDecomposition; - usolve: { - (U: import("mathjs").Matrix, b: import("mathjs").MathCollection): import("mathjs").Matrix; - (U: import("mathjs").MathArray, b: import("mathjs").MathCollection): import("mathjs").MathArray; - }; - abs: (x: T_2) => T_2; - add: { - (x: T_3, y: T_3): T_3; - (...values: T_4[]): T_4; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - (...values: import("mathjs").MathType[]): import("mathjs").MathType; - }; - cbrt: { - (x: import("mathjs").Complex, allRoots?: boolean | undefined): import("mathjs").Complex; - (x: T_5): T_5; - }; - ceil: { - (x: T_6, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U): U; - }; - fix: { - (x: T_7, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_1): U_1; - }; - floor: { - (x: T_8, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_2): U_2; - }; - round: { - (x: T_9, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_3): U_3; - (x: U_4, unit: import("mathjs").Unit): U_4; - (x: import("mathjs").Unit, unit: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").Unit, n: number | import("mathjs").BigNumber, unit: import("mathjs").Unit): import("mathjs").Unit; - (x: U_5, n: number | import("mathjs").BigNumber, unit: import("mathjs").Unit): U_5; - }; - cube: (x: T_10) => T_10; - divide: { - (x: import("mathjs").Unit, y: import("mathjs").Unit): number | import("mathjs").Unit; - (x: import("mathjs").Unit, y: number): import("mathjs").Unit; - (x: number, y: number): number; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - }; - dotDivide: { - (x: T_11, y: import("mathjs").MathType): T_11; - (x: import("mathjs").MathType, y: T_12): T_12; - (x: import("mathjs").Unit, y: import("mathjs").MathType): import("mathjs").Unit; - (x: import("mathjs").MathType, y: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").MathNumericType, y: import("mathjs").MathNumericType): import("mathjs").MathNumericType; - }; - dotMultiply: { - (x: T_13, y: import("mathjs").MathType): T_13; - (x: import("mathjs").MathType, y: T_14): T_14; - (x: import("mathjs").Unit, y: import("mathjs").MathType): import("mathjs").Unit; - (x: import("mathjs").MathType, y: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").MathNumericType, y: import("mathjs").MathNumericType): import("mathjs").MathNumericType; - }; - dotPow: (x: T_15, y: import("mathjs").MathType) => T_15; - exp: (x: T_16) => T_16; - expm1: (x: T_17) => T_17; - gcd: { - (...args: T_18[]): T_18; - (args: T_19[]): T_19; - }; - hypot: { - (...args: T_20[]): T_20; - (args: T_21[]): T_21; - }; - lcm: (a: T_22, b: T_22) => T_22; - log: (x: T_23, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined) => import("mathjs").NoLiteralType; - log10: (x: T_24) => T_24; - log1p: (x: T_25, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined) => T_25; - log2: (x: T_26) => T_26; - multiply: { - (x: T_27, y: import("mathjs").MathType): import("mathjs").Matrix; - (x: import("mathjs").MathType, y: T_28): import("mathjs").Matrix; - (x: T_29, y: T_29[]): T_29; - (x: T_30[], y: T_30): T_30; - (x: T_31, y: T_31): T_31; - (x: import("mathjs").Unit, y: import("mathjs").Unit): import("mathjs").Unit; - (x: number, y: number): number; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - (...values: T_32[]): T_32; - (...values: import("mathjs").MathType[]): import("mathjs").MathType; - }; - norm: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").MathCollection, p?: string | number | import("mathjs").BigNumber | undefined) => number | import("mathjs").BigNumber; - nthRoot: (a: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").MathCollection, root?: number | import("mathjs").BigNumber | undefined) => number | import("mathjs").Complex | import("mathjs").MathCollection; - pow: (x: import("mathjs").MathType, y: number | import("mathjs").BigNumber | import("mathjs").Complex) => import("mathjs").MathType; - sign: (x: T_33) => T_33; - sqrt: { - (x: number): number | import("mathjs").Complex; - (x: T_34): T_34; - }; - square: (x: T_35) => T_35; - subtract: { - (x: T_36, y: T_36): T_36; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - }; - unaryMinus: (x: T_37) => T_37; - unaryPlus: (x: T_38) => T_38; - xgcd: (a: number | import("mathjs").BigNumber, b: number | import("mathjs").BigNumber) => import("mathjs").MathArray; - bitAnd: (x: T_39, y: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => import("mathjs").NoLiteralType; - bitNot: (x: T_40) => T_40; - bitOr: (x: T_41, y: T_41) => T_41; - bitXor: (x: T_42, y: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => import("mathjs").NoLiteralType; - leftShift: (x: T_43, y: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - rightArithShift: (x: T_44, y: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - rightLogShift: (x: T_45, y: number) => import("mathjs").NoLiteralType; - bellNumbers: (n: T_46) => T_46; - catalan: (n: T_47) => T_47; - composition: (n: T_48, k: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - stirlingS2: (n: T_49, k: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - arg: { - (x: number | import("mathjs").Complex): number; - (x: import("mathjs").BigNumber | import("mathjs").Complex): import("mathjs").BigNumber; - (x: T_50): T_50; - }; - conj: (x: T_51) => import("mathjs").NoLiteralType; - im: { - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - }; - re: { - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - }; - distance: (x: object | import("mathjs").MathCollection, y: object | import("mathjs").MathCollection, z?: object | import("mathjs").MathCollection | undefined) => number | import("mathjs").BigNumber; - intersect: (w: import("mathjs").MathCollection, x: import("mathjs").MathCollection, y: import("mathjs").MathCollection, z?: import("mathjs").MathCollection | undefined) => import("mathjs").MathArray; - and: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - not: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - or: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - xor: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - apply: (array: T_54, dim: number, callback: (array: import("mathjs").MathCollection) => number) => T_54; - concat: (...args: (number | import("mathjs").BigNumber | import("mathjs").MathCollection)[]) => import("mathjs").MathCollection; - cross: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").MathCollection; - det: (x: import("mathjs").MathCollection) => number; - diag: { - (X: import("mathjs").MathCollection, format?: string | undefined): import("mathjs").Matrix; - (X: import("mathjs").MathCollection, k: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - dot: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => number; - eigs: { - (x: import("mathjs").MathCollection, opts?: number | import("mathjs").BigNumber | { - precision?: number | import("mathjs").BigNumber | undefined; - eigenvectors?: true | undefined; - } | undefined): { - values: import("mathjs").MathCollection; - eigenvectors: { - value: number | import("mathjs").BigNumber; - vector: import("mathjs").MathCollection; - }[]; - }; - (x: import("mathjs").MathCollection, opts: { - eigenvectors: false; - precision?: number | import("mathjs").BigNumber | undefined; - }): { - values: import("mathjs").MathCollection; - }; - }; - expm: (x: import("mathjs").Matrix) => import("mathjs").Matrix; - sylvester: (A: import("mathjs").MathCollection, B: import("mathjs").MathCollection, C: import("mathjs").MathCollection) => import("mathjs").MathCollection; - schur: (A: import("mathjs").MathCollection) => import("mathjs").SchurDecomposition; - lyap: (A: import("mathjs").MathCollection, Q: import("mathjs").MathCollection) => import("mathjs").MathCollection; - identity: { - (size: number | number[] | import("mathjs").MathCollection, format?: string | undefined): number | import("mathjs").MathCollection; - (m: number, n: number, format?: string | undefined): number | import("mathjs").MathCollection; - }; - filter: (x: string[] | import("mathjs").MathCollection, test: RegExp | ((value: any, index: any, matrix: string[] | import("mathjs").MathCollection) => boolean)) => import("mathjs").MathCollection; - flatten: (x: T_55) => T_55; - forEach: (x: T_56, callback: (value: any, index: any, matrix: T_56) => void) => void; - inv: (x: T_57) => import("mathjs").NoLiteralType; - kron: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").Matrix; - map: (x: T_58, callback: (value: any, index: any, matrix: T_58) => string | import("mathjs").MathType) => T_58; - ones: { - (size?: number | number[] | import("mathjs").BigNumber | import("mathjs").BigNumber[] | undefined, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, p: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - partitionSelect: (x: import("mathjs").MathCollection, k: number, compare?: "asc" | "desc" | ((a: any, b: any) => number) | undefined) => any; - pinv: (x: T_59) => T_59; - range: { - (str: string, includeEnd?: boolean | undefined): import("mathjs").Matrix; - (start: number | import("mathjs").BigNumber, end: number | import("mathjs").BigNumber, includeEnd?: boolean | undefined): import("mathjs").Matrix; - (start: number | import("mathjs").BigNumber | import("mathjs").Unit, end: number | import("mathjs").BigNumber | import("mathjs").Unit, step: number | import("mathjs").BigNumber | import("mathjs").Unit, includeEnd?: boolean | undefined): import("mathjs").Matrix; - }; - reshape: (x: T_60, sizes: number[]) => T_60; - resize: (x: T_61, size: import("mathjs").MathCollection, defaultValue?: string | number | undefined) => T_61; - rotationMatrix: (theta?: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | undefined, axis?: T_62 | undefined, format?: "sparse" | "dense" | undefined) => T_62; - row: (value: T_63, row: number) => T_63; - column: (value: T_64, column: number) => T_64; - rotate: (w: T_65, theta: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit, v?: T_65 | undefined) => T_65; - size: (x: string | number | boolean | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => import("mathjs").MathCollection; - sort: (x: T_66, compare: "asc" | "desc" | ((a: any, b: any) => number) | "natural") => T_66; - sqrtm: (A: T_67) => T_67; - squeeze: (x: T_68) => T_68; - subset: (value: T_69, index: import("mathjs").Index, replacement?: any, defaultValue?: any) => T_69; - trace: (x: import("mathjs").MathCollection) => number; - transpose: (x: T_70) => T_70; - zeros: { - (size?: number | number[] | import("mathjs").BigNumber | import("mathjs").BigNumber[] | undefined, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, p: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - fft: (arr: T_71) => T_71; - ifft: (arr: T_72) => T_72; - factorial: (n: T_73) => import("mathjs").NoLiteralType; - gamma: (n: T_74) => import("mathjs").NoLiteralType; - kldivergence: (q: import("mathjs").MathCollection, p: import("mathjs").MathCollection) => number; - lgamma: (n: T_75) => import("mathjs").NoLiteralType; - multinomial: (a: T_76[]) => import("mathjs").NoLiteralType; - permutations: (n: T_77, k?: number | import("mathjs").BigNumber | undefined) => import("mathjs").NoLiteralType; - pickRandom: { - (array: T_78[]): T_78; - (array: T_79[], number: number): T_79[]; - (array: T_80[], number: number, weights: number[]): T_80[]; - }; - random: { - (min?: number | undefined, max?: number | undefined): number; - (size: T_81, min?: number | undefined, max?: number | undefined): T_81; - }; - randomInt: { - (min: number, max?: number | undefined): number; - (size: T_82, min?: number | undefined, max?: number | undefined): T_82; - }; - compare: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").MathCollection; - compareNatural: (x: any, y: any) => number; - compareText: (x: string | import("mathjs").MathCollection, y: string | import("mathjs").MathCollection) => number | import("mathjs").MathCollection; - deepEqual: (x: import("mathjs").MathType, y: import("mathjs").MathType) => import("mathjs").MathType; - equal: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - equalText: (x: string | import("mathjs").MathCollection, y: string | import("mathjs").MathCollection) => number | import("mathjs").MathCollection; - larger: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - largerEq: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - smaller: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - smallerEq: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - unequal: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - setCartesian: (a1: T_83, a2: import("mathjs").MathCollection) => T_83; - setDifference: (a1: T_84, a2: import("mathjs").MathCollection) => T_84; - setDistinct: (a: T_85) => T_85; - setIntersect: (a1: T_86, a2: import("mathjs").MathCollection) => T_86; - setIsSubset: (a1: import("mathjs").MathCollection, a2: import("mathjs").MathCollection) => boolean; - setMultiplicity: (e: import("mathjs").MathNumericType, a: import("mathjs").MathCollection) => number; - setPowerset: (a: T_87) => T_87; - setSize: (a: import("mathjs").MathCollection) => number; - setSymDifference: (a1: T_88, a2: import("mathjs").MathCollection) => T_88; - setUnion: (a1: T_89, a2: import("mathjs").MathCollection) => T_89; - zpk2tf: (z: T_90, p: T_90, k?: number | undefined) => T_90; - freqz: (b: T_91, a: T_91, w?: number | T_91 | undefined) => { - w: T_91; - h: T_91; - }; - erf: (x: T_92) => import("mathjs").NoLiteralType; - zeta: (s: T_93) => T_93; - mad: (array: import("mathjs").MathCollection) => any; - max: { - (...args: T_94[]): T_94; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_95[] | T_95[][], dimension?: number | import("mathjs").BigNumber | undefined): T_95; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - mean: { - (...args: T_96[]): T_96; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_97[] | T_97[][], dimension?: number | import("mathjs").BigNumber | undefined): T_97; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - median: { - (...args: T_98[]): T_98; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_99[] | T_99[][]): T_99; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType; - }; - min: { - (...args: T_100[]): T_100; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_101[] | T_101[][], dimension?: number | import("mathjs").BigNumber | undefined): T_101; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - mode: { - (...args: T_102[]): T_102[]; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType[]; - (A: T_103[] | T_103[][]): T_103[]; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType[]; - }; - prod: { - (...args: T_104[]): T_104; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_105[] | T_105[][]): T_105; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType; - }; - quantileSeq: { - (A: T_106[] | T_106[][], prob: number | import("mathjs").BigNumber | import("mathjs").MathArray, sorted?: boolean | undefined): T_106; - (A: import("mathjs").MathCollection, prob: number | import("mathjs").BigNumber | import("mathjs").MathArray, sorted?: boolean | undefined): import("mathjs").MathScalarType | import("mathjs").MathArray; - }; - std: { - (...args: T_107[]): T_107; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (array: import("mathjs").MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): import("mathjs").MathNumericType[]; - (array: import("mathjs").MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): import("mathjs").MathNumericType; - }; - sum: { - (...args: T_108[]): T_108; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_109[] | T_109[][], dimension?: number | import("mathjs").BigNumber | undefined): T_109; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - count: (x: string | import("mathjs").MathCollection) => number; - cumsum: { - (...args: import("mathjs").MathType[]): import("mathjs").MathType[]; - (array: import("mathjs").MathCollection, dim?: number | undefined): import("mathjs").MathCollection; - }; - variance: { - (...args: import("mathjs").MathNumericType[]): import("mathjs").MathNumericType; - (array: import("mathjs").MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): import("mathjs").MathNumericType[]; - (array: import("mathjs").MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): import("mathjs").MathNumericType; - }; - corr: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").MathType; - format: (value: any, options?: number | import("mathjs").BigNumber | import("mathjs").FormatOptions | ((item: any) => string) | undefined, callback?: ((value: any) => string) | undefined) => string; - print: (template: string, values: any, precision?: number | undefined, options?: number | object | undefined) => void; - acos: { - (x: number): number | import("mathjs").Complex; - (x: T_110): T_110; - }; - acosh: { - (x: number): number | import("mathjs").Complex; - (x: T_111): T_111; - }; - acot: { - (x: number): number; - (x: T_112): T_112; - }; - acoth: { - (x: number): number; - (x: T_113): T_113; - }; - acsc: { - (x: number): number | import("mathjs").Complex; - (x: T_114): T_114; - }; - acsch: { - (x: number): number; - (x: T_115): T_115; - }; - asec: { - (x: number): number | import("mathjs").Complex; - (x: T_116): T_116; - }; - asech: { - (x: number): number | import("mathjs").Complex; - (x: T_117): T_117; - }; - asin: { - (x: number): number | import("mathjs").Complex; - (x: T_118): T_118; - }; - asinh: (x: T_119) => T_119; - atan: (x: T_120) => T_120; - atan2: (y: T_121, x: T_121) => T_121; - atanh: { - (x: number): number | import("mathjs").Complex; - (x: T_122): T_122; - }; - cos: { - (x: number | import("mathjs").Unit): number; - (x: T_123): T_123; - }; - cosh: { - (x: number | import("mathjs").Unit): number; - (x: T_124): T_124; - }; - cot: { - (x: number | import("mathjs").Unit): number; - (x: T_125): T_125; - }; - coth: { - (x: number | import("mathjs").Unit): number; - (x: T_126): T_126; - }; - csc: { - (x: number | import("mathjs").Unit): number; - (x: T_127): T_127; - }; - csch: { - (x: number | import("mathjs").Unit): number; - (x: T_128): T_128; - }; - sec: { - (x: number | import("mathjs").Unit): number; - (x: T_129): T_129; - }; - sech: { - (x: number | import("mathjs").Unit): number; - (x: T_130): T_130; - }; - sin: { - (x: number | import("mathjs").Unit): number; - (x: T_131): T_131; - }; - sinh: { - (x: number | import("mathjs").Unit): number; - (x: T_132): T_132; - }; - tan: { - (x: number | import("mathjs").Unit): number; - (x: T_133): T_133; - }; - tanh: { - (x: number | import("mathjs").Unit): number; - (x: T_134): T_134; - }; - to: (x: import("mathjs").Unit | import("mathjs").MathCollection, unit: string | import("mathjs").Unit) => import("mathjs").Unit | import("mathjs").MathCollection; - isNumber: (x: unknown) => x is number; - isBigNumber: (x: unknown) => x is import("mathjs").BigNumber; - isComplex: (x: unknown) => x is import("mathjs").Complex; - isFraction: (x: unknown) => x is import("mathjs").Fraction; - isUnit: (x: unknown) => x is import("mathjs").Unit; - isString: (x: unknown) => x is string; - isArray: (arg: any) => arg is any[]; - isMatrix: (x: unknown) => x is import("mathjs").Matrix; - isCollection: (x: unknown) => x is any[] | import("mathjs").Matrix; - isDenseMatrix: (x: unknown) => x is import("mathjs").Matrix; - isSparseMatrix: (x: unknown) => x is import("mathjs").Matrix; - isRange: (x: unknown) => boolean; - isIndex: (x: unknown) => x is import("mathjs").Index; - isBoolean: (x: unknown) => x is boolean; - isResultSet: (x: unknown) => boolean; - isHelp: (x: unknown) => x is import("mathjs").Help; - isFunction: (x: unknown) => boolean; - isDate: (x: unknown) => x is Date; - isRegExp: (x: unknown) => x is RegExp; - isObject: (x: unknown) => boolean; - isNull: (x: unknown) => x is null; - isUndefined: (x: unknown) => x is undefined; - isAccessorNode: (x: unknown) => x is import("mathjs").AccessorNode; - isArrayNode: (x: unknown) => x is import("mathjs").ArrayNode; - isAssignmentNode: (x: unknown) => x is import("mathjs").AssignmentNode; - isBlockNode: (x: unknown) => x is import("mathjs").BlockNode; - isConditionalNode: (x: unknown) => x is import("mathjs").ConditionalNode; - isConstantNode: (x: unknown) => x is import("mathjs").ConstantNode; - isFunctionAssignmentNode: (x: unknown) => x is import("mathjs").FunctionAssignmentNode; - isFunctionNode: (x: unknown) => x is import("mathjs").FunctionNode; - isIndexNode: (x: unknown) => x is import("mathjs").IndexNode; - isNode: (x: unknown) => x is import("mathjs").MathNode; - isObjectNode: (x: unknown) => x is import("mathjs").ObjectNode>; - isOperatorNode: (x: unknown) => x is import("mathjs").OperatorNode; - isParenthesisNode: (x: unknown) => x is import("mathjs").ParenthesisNode; - isRangeNode: (x: unknown) => x is import("mathjs").RangeNode; - isRelationalNode: (x: unknown) => x is import("mathjs").RelationalNode; - isSymbolNode: (x: unknown) => x is import("mathjs").SymbolNode; - isChain: (x: unknown) => x is import("mathjs").MathJsChain; - clone: (x: TType) => TType; - hasNumericValue: (x: any) => boolean | boolean[]; - isInteger: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").MathCollection) => boolean; - isNaN: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isNegative: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isNumeric: (x: any) => x is number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction; - isPositive: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isPrime: (x: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => boolean; - isZero: (x: import("mathjs").MathType) => boolean; - typeOf: (x: any) => string; - }; - object: typeof import("./shared/object"); - selector: typeof import("./shared/selector"); - specific: typeof import("./shared/specific"); - str: typeof import("./shared/str"); - tree: typeof import("./shared/tree"); - url: typeof import("./shared/url"); - uuid: typeof import("./shared/uuid"); - assertion: typeof import("./shared/assertion"); - yaml: typeof import("./shared/yaml"); -}; -export default _default; diff --git a/dist/js/index_browser.js b/dist/js/index_browser.js deleted file mode 100644 index d703a1b..0000000 --- a/dist/js/index_browser.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Utils = exports.browserUtils = void 0; -const codemirror = __importStar(require("./browser/specific/codemirror")); -const index_1 = require("./index"); -exports.browserUtils = { - codemirror, -}; -exports.Utils = { - ...index_1.sharedUtils, - ...exports.browserUtils, -}; -exports.default = { ...exports.Utils }; diff --git a/dist/js/index_server.d.ts b/dist/js/index_server.d.ts deleted file mode 100644 index e8ab27f..0000000 --- a/dist/js/index_server.d.ts +++ /dev/null @@ -1,1917 +0,0 @@ -import * as file from "./server/file"; -import * as json from "./server/json"; -import * as yaml from "./server/yaml"; -export declare const serverUtils: { - file: typeof file; - yaml: typeof yaml; - json: typeof json; -}; -export declare const Utils: { - file: typeof file; - yaml: typeof yaml; - json: typeof json; - array: typeof import("./shared/array"); - cls: typeof import("./shared/class"); - clone: typeof import("./shared/clone"); - constants: typeof import("./shared/constants"); - hash: typeof import("./shared/hash"); - math: { - PI: number; - trunc: (x: number) => number; - product: (v1: number[], v2: number[]) => number | number[]; - vlen: (v: number[]) => number; - angle: (a: number[], b: number[], unit: string) => number; - angleUpTo90: (a: number[], b: number[], unit: string) => number; - vDist: (v1: number[], v2: number[]) => number; - vEqualWithTolerance: (vec1: number[], vec2: number[], tolerance?: number) => boolean; - roundToZero: (n: number) => number; - precise: (x: number, n?: number) => number; - mod: (num: number, tolerance?: number) => number; - isBetweenZeroInclusiveAndOne: (number: number, tolerance?: number) => boolean; - cartesianProduct: (...arg: number[][]) => number[][]; - almostEqual: (a: number, b: number, tolerance?: number) => boolean; - combinations: (a: number, b: number, c: number) => number[][]; - combinationsFromIntervals: (arrA: number[], arrB: number[], arrC: number[]) => number[][]; - calculateSegmentsBetweenPoints3D: (point1: (string | number)[], point2: (string | number)[], n: string | number) => number[][]; - roundValueToNDecimals: (value: number, decimals?: number) => number; - numberToPrecision: typeof import("./shared/math").numberToPrecision; - roundCustom: (value: number, decimals?: number, mode?: import("decimal.js").default.Rounding) => number; - RoundingMethod: { - Bankers: 6; - HalfAwayFromZero: 4; - }; - roundArrayOrNumber: (value: unknown, decimals?: number, mode?: import("decimal.js").default.Rounding) => unknown; - AccessorNode: import("mathjs").AccessorNodeCtor; - ArrayNode: import("mathjs").ArrayNodeCtor; - AssignmentNode: import("mathjs").AssignmentNodeCtor; - BlockNode: import("mathjs").BlockNodeCtor; - ConditionalNode: import("mathjs").ConditionalNodeCtor; - ConstantNode: import("mathjs").ConstantNodeCtor; - FunctionAssignmentNode: import("mathjs").FunctionAssignmentNodeCtor; - FunctionNode: import("mathjs").FunctionNodeCtor; - IndexNode: import("mathjs").IndexNodeCtor; - ObjectNode: import("mathjs").ObjectNodeCtor; - OperatorNode: import("mathjs").OperatorNodeCtor; - ParenthesisNode: import("mathjs").ParenthesisNodeCtor; - RangeNode: import("mathjs").RangeNodeCtor; - RelationalNode: import("mathjs").RelationalNodeCtor; - SymbolNode: import("mathjs").SymbolNodeCtor; - all: import("mathjs").FactoryFunctionMap; - typedDependencies: import("mathjs").FactoryFunctionMap; - ResultSetDependencies: import("mathjs").FactoryFunctionMap; - BigNumberDependencies: import("mathjs").FactoryFunctionMap; - ComplexDependencies: import("mathjs").FactoryFunctionMap; - FractionDependencies: import("mathjs").FactoryFunctionMap; - RangeDependencies: import("mathjs").FactoryFunctionMap; - MatrixDependencies: import("mathjs").FactoryFunctionMap; - DenseMatrixDependencies: import("mathjs").FactoryFunctionMap; - cloneDependencies: import("mathjs").FactoryFunctionMap; - isIntegerDependencies: import("mathjs").FactoryFunctionMap; - isNegativeDependencies: import("mathjs").FactoryFunctionMap; - isNumericDependencies: import("mathjs").FactoryFunctionMap; - hasNumericValueDependencies: import("mathjs").FactoryFunctionMap; - isPositiveDependencies: import("mathjs").FactoryFunctionMap; - isZeroDependencies: import("mathjs").FactoryFunctionMap; - isNaNDependencies: import("mathjs").FactoryFunctionMap; - typeOfDependencies: import("mathjs").FactoryFunctionMap; - typeofDependencies: import("mathjs").FactoryFunctionMap; - equalScalarDependencies: import("mathjs").FactoryFunctionMap; - SparseMatrixDependencies: import("mathjs").FactoryFunctionMap; - numberDependencies: import("mathjs").FactoryFunctionMap; - stringDependencies: import("mathjs").FactoryFunctionMap; - booleanDependencies: import("mathjs").FactoryFunctionMap; - bignumberDependencies: import("mathjs").FactoryFunctionMap; - complexDependencies: import("mathjs").FactoryFunctionMap; - fractionDependencies: import("mathjs").FactoryFunctionMap; - matrixDependencies: import("mathjs").FactoryFunctionMap; - splitUnitDependencies: import("mathjs").FactoryFunctionMap; - unaryMinusDependencies: import("mathjs").FactoryFunctionMap; - unaryPlusDependencies: import("mathjs").FactoryFunctionMap; - absDependencies: import("mathjs").FactoryFunctionMap; - applyDependencies: import("mathjs").FactoryFunctionMap; - addScalarDependencies: import("mathjs").FactoryFunctionMap; - cbrtDependencies: import("mathjs").FactoryFunctionMap; - ceilDependencies: import("mathjs").FactoryFunctionMap; - cubeDependencies: import("mathjs").FactoryFunctionMap; - expDependencies: import("mathjs").FactoryFunctionMap; - expm1Dependencies: import("mathjs").FactoryFunctionMap; - fixDependencies: import("mathjs").FactoryFunctionMap; - floorDependencies: import("mathjs").FactoryFunctionMap; - gcdDependencies: import("mathjs").FactoryFunctionMap; - lcmDependencies: import("mathjs").FactoryFunctionMap; - log10Dependencies: import("mathjs").FactoryFunctionMap; - log2Dependencies: import("mathjs").FactoryFunctionMap; - modDependencies: import("mathjs").FactoryFunctionMap; - multiplyScalarDependencies: import("mathjs").FactoryFunctionMap; - multiplyDependencies: import("mathjs").FactoryFunctionMap; - nthRootDependencies: import("mathjs").FactoryFunctionMap; - signDependencies: import("mathjs").FactoryFunctionMap; - sqrtDependencies: import("mathjs").FactoryFunctionMap; - squareDependencies: import("mathjs").FactoryFunctionMap; - subtractDependencies: import("mathjs").FactoryFunctionMap; - xgcdDependencies: import("mathjs").FactoryFunctionMap; - dotMultiplyDependencies: import("mathjs").FactoryFunctionMap; - bitAndDependencies: import("mathjs").FactoryFunctionMap; - bitNotDependencies: import("mathjs").FactoryFunctionMap; - bitOrDependencies: import("mathjs").FactoryFunctionMap; - bitXorDependencies: import("mathjs").FactoryFunctionMap; - argDependencies: import("mathjs").FactoryFunctionMap; - conjDependencies: import("mathjs").FactoryFunctionMap; - imDependencies: import("mathjs").FactoryFunctionMap; - reDependencies: import("mathjs").FactoryFunctionMap; - notDependencies: import("mathjs").FactoryFunctionMap; - orDependencies: import("mathjs").FactoryFunctionMap; - xorDependencies: import("mathjs").FactoryFunctionMap; - concatDependencies: import("mathjs").FactoryFunctionMap; - columnDependencies: import("mathjs").FactoryFunctionMap; - crossDependencies: import("mathjs").FactoryFunctionMap; - diagDependencies: import("mathjs").FactoryFunctionMap; - eyeDependencies: import("mathjs").FactoryFunctionMap; - filterDependencies: import("mathjs").FactoryFunctionMap; - flattenDependencies: import("mathjs").FactoryFunctionMap; - forEachDependencies: import("mathjs").FactoryFunctionMap; - getMatrixDataTypeDependencies: import("mathjs").FactoryFunctionMap; - identityDependencies: import("mathjs").FactoryFunctionMap; - kronDependencies: import("mathjs").FactoryFunctionMap; - mapDependencies: import("mathjs").FactoryFunctionMap; - onesDependencies: import("mathjs").FactoryFunctionMap; - rangeDependencies: import("mathjs").FactoryFunctionMap; - reshapeDependencies: import("mathjs").FactoryFunctionMap; - resizeDependencies: import("mathjs").FactoryFunctionMap; - rowDependencies: import("mathjs").FactoryFunctionMap; - sizeDependencies: import("mathjs").FactoryFunctionMap; - squeezeDependencies: import("mathjs").FactoryFunctionMap; - subsetDependencies: import("mathjs").FactoryFunctionMap; - transposeDependencies: import("mathjs").FactoryFunctionMap; - ctransposeDependencies: import("mathjs").FactoryFunctionMap; - zerosDependencies: import("mathjs").FactoryFunctionMap; - erfDependencies: import("mathjs").FactoryFunctionMap; - modeDependencies: import("mathjs").FactoryFunctionMap; - prodDependencies: import("mathjs").FactoryFunctionMap; - formatDependencies: import("mathjs").FactoryFunctionMap; - printDependencies: import("mathjs").FactoryFunctionMap; - toDependencies: import("mathjs").FactoryFunctionMap; - isPrimeDependencies: import("mathjs").FactoryFunctionMap; - numericDependencies: import("mathjs").FactoryFunctionMap; - divideScalarDependencies: import("mathjs").FactoryFunctionMap; - powDependencies: import("mathjs").FactoryFunctionMap; - roundDependencies: import("mathjs").FactoryFunctionMap; - logDependencies: import("mathjs").FactoryFunctionMap; - log1pDependencies: import("mathjs").FactoryFunctionMap; - nthRootsDependencies: import("mathjs").FactoryFunctionMap; - dotPowDependencies: import("mathjs").FactoryFunctionMap; - dotDivideDependencies: import("mathjs").FactoryFunctionMap; - lsolveDependencies: import("mathjs").FactoryFunctionMap; - usolveDependencies: import("mathjs").FactoryFunctionMap; - leftShiftDependencies: import("mathjs").FactoryFunctionMap; - rightArithShiftDependencies: import("mathjs").FactoryFunctionMap; - rightLogShiftDependencies: import("mathjs").FactoryFunctionMap; - andDependencies: import("mathjs").FactoryFunctionMap; - compareDependencies: import("mathjs").FactoryFunctionMap; - compareNaturalDependencies: import("mathjs").FactoryFunctionMap; - compareTextDependencies: import("mathjs").FactoryFunctionMap; - equalDependencies: import("mathjs").FactoryFunctionMap; - equalTextDependencies: import("mathjs").FactoryFunctionMap; - smallerDependencies: import("mathjs").FactoryFunctionMap; - smallerEqDependencies: import("mathjs").FactoryFunctionMap; - largerDependencies: import("mathjs").FactoryFunctionMap; - largerEqDependencies: import("mathjs").FactoryFunctionMap; - deepEqualDependencies: import("mathjs").FactoryFunctionMap; - unequalDependencies: import("mathjs").FactoryFunctionMap; - partitionSelectDependencies: import("mathjs").FactoryFunctionMap; - sortDependencies: import("mathjs").FactoryFunctionMap; - maxDependencies: import("mathjs").FactoryFunctionMap; - minDependencies: import("mathjs").FactoryFunctionMap; - ImmutableDenseMatrixDependencies: import("mathjs").FactoryFunctionMap; - IndexDependencies: import("mathjs").FactoryFunctionMap; - FibonacciHeapDependencies: import("mathjs").FactoryFunctionMap; - SpaDependencies: import("mathjs").FactoryFunctionMap; - UnitDependencies: import("mathjs").FactoryFunctionMap; - unitDependencies: import("mathjs").FactoryFunctionMap; - sparseDependencies: import("mathjs").FactoryFunctionMap; - createUnitDependencies: import("mathjs").FactoryFunctionMap; - acosDependencies: import("mathjs").FactoryFunctionMap; - acoshDependencies: import("mathjs").FactoryFunctionMap; - acotDependencies: import("mathjs").FactoryFunctionMap; - acothDependencies: import("mathjs").FactoryFunctionMap; - acscDependencies: import("mathjs").FactoryFunctionMap; - acschDependencies: import("mathjs").FactoryFunctionMap; - asecDependencies: import("mathjs").FactoryFunctionMap; - asechDependencies: import("mathjs").FactoryFunctionMap; - asinDependencies: import("mathjs").FactoryFunctionMap; - asinhDependencies: import("mathjs").FactoryFunctionMap; - atanDependencies: import("mathjs").FactoryFunctionMap; - atan2Dependencies: import("mathjs").FactoryFunctionMap; - atanhDependencies: import("mathjs").FactoryFunctionMap; - cosDependencies: import("mathjs").FactoryFunctionMap; - coshDependencies: import("mathjs").FactoryFunctionMap; - cotDependencies: import("mathjs").FactoryFunctionMap; - cothDependencies: import("mathjs").FactoryFunctionMap; - cscDependencies: import("mathjs").FactoryFunctionMap; - cschDependencies: import("mathjs").FactoryFunctionMap; - secDependencies: import("mathjs").FactoryFunctionMap; - sechDependencies: import("mathjs").FactoryFunctionMap; - sinDependencies: import("mathjs").FactoryFunctionMap; - sinhDependencies: import("mathjs").FactoryFunctionMap; - tanDependencies: import("mathjs").FactoryFunctionMap; - tanhDependencies: import("mathjs").FactoryFunctionMap; - setCartesianDependencies: import("mathjs").FactoryFunctionMap; - setDifferenceDependencies: import("mathjs").FactoryFunctionMap; - setDistinctDependencies: import("mathjs").FactoryFunctionMap; - setIntersectDependencies: import("mathjs").FactoryFunctionMap; - setIsSubsetDependencies: import("mathjs").FactoryFunctionMap; - setMultiplicityDependencies: import("mathjs").FactoryFunctionMap; - setPowersetDependencies: import("mathjs").FactoryFunctionMap; - setSizeDependencies: import("mathjs").FactoryFunctionMap; - setSymDifferenceDependencies: import("mathjs").FactoryFunctionMap; - setUnionDependencies: import("mathjs").FactoryFunctionMap; - zpk2tfDependencies: import("mathjs").FactoryFunctionMap; - freqzDependencies: import("mathjs").FactoryFunctionMap; - addDependencies: import("mathjs").FactoryFunctionMap; - hypotDependencies: import("mathjs").FactoryFunctionMap; - normDependencies: import("mathjs").FactoryFunctionMap; - dotDependencies: import("mathjs").FactoryFunctionMap; - traceDependencies: import("mathjs").FactoryFunctionMap; - indexDependencies: import("mathjs").FactoryFunctionMap; - NodeDependencies: import("mathjs").FactoryFunctionMap; - AccessorNodeDependencies: import("mathjs").FactoryFunctionMap; - ArrayNodeDependencies: import("mathjs").FactoryFunctionMap; - AssignmentNodeDependencies: import("mathjs").FactoryFunctionMap; - BlockNodeDependencies: import("mathjs").FactoryFunctionMap; - ConditionalNodeDependencies: import("mathjs").FactoryFunctionMap; - ConstantNodeDependencies: import("mathjs").FactoryFunctionMap; - FunctionAssignmentNodeDependencies: import("mathjs").FactoryFunctionMap; - IndexNodeDependencies: import("mathjs").FactoryFunctionMap; - ObjectNodeDependencies: import("mathjs").FactoryFunctionMap; - OperatorNodeDependencies: import("mathjs").FactoryFunctionMap; - ParenthesisNodeDependencies: import("mathjs").FactoryFunctionMap; - RangeNodeDependencies: import("mathjs").FactoryFunctionMap; - RelationalNodeDependencies: import("mathjs").FactoryFunctionMap; - SymbolNodeDependencies: import("mathjs").FactoryFunctionMap; - FunctionNodeDependencies: import("mathjs").FactoryFunctionMap; - parseDependencies: import("mathjs").FactoryFunctionMap; - compileDependencies: import("mathjs").FactoryFunctionMap; - evaluateDependencies: import("mathjs").FactoryFunctionMap; - evalDependencies: import("mathjs").FactoryFunctionMap; - ParserDependencies: import("mathjs").FactoryFunctionMap; - parserDependencies: import("mathjs").FactoryFunctionMap; - lupDependencies: import("mathjs").FactoryFunctionMap; - qrDependencies: import("mathjs").FactoryFunctionMap; - sluDependencies: import("mathjs").FactoryFunctionMap; - lusolveDependencies: import("mathjs").FactoryFunctionMap; - HelpDependencies: import("mathjs").FactoryFunctionMap; - ChainDependencies: import("mathjs").FactoryFunctionMap; - helpDependencies: import("mathjs").FactoryFunctionMap; - chainDependencies: import("mathjs").FactoryFunctionMap; - detDependencies: import("mathjs").FactoryFunctionMap; - invDependencies: import("mathjs").FactoryFunctionMap; - expmDependencies: import("mathjs").FactoryFunctionMap; - sqrtmDependencies: import("mathjs").FactoryFunctionMap; - sylvesterDependencies: import("mathjs").FactoryFunctionMap; - schurDependencies: import("mathjs").FactoryFunctionMap; - lyapDependencies: import("mathjs").FactoryFunctionMap; - divideDependencies: import("mathjs").FactoryFunctionMap; - distanceDependencies: import("mathjs").FactoryFunctionMap; - intersectDependencies: import("mathjs").FactoryFunctionMap; - sumDependencies: import("mathjs").FactoryFunctionMap; - meanDependencies: import("mathjs").FactoryFunctionMap; - medianDependencies: import("mathjs").FactoryFunctionMap; - madDependencies: import("mathjs").FactoryFunctionMap; - varianceDependencies: import("mathjs").FactoryFunctionMap; - varDependencies: import("mathjs").FactoryFunctionMap; - quantileSeqDependencies: import("mathjs").FactoryFunctionMap; - stdDependencies: import("mathjs").FactoryFunctionMap; - combinationsDependencies: import("mathjs").FactoryFunctionMap; - gammaDependencies: import("mathjs").FactoryFunctionMap; - factorialDependencies: import("mathjs").FactoryFunctionMap; - kldivergenceDependencies: import("mathjs").FactoryFunctionMap; - multinomialDependencies: import("mathjs").FactoryFunctionMap; - permutationsDependencies: import("mathjs").FactoryFunctionMap; - pickRandomDependencies: import("mathjs").FactoryFunctionMap; - randomDependencies: import("mathjs").FactoryFunctionMap; - randomIntDependencies: import("mathjs").FactoryFunctionMap; - stirlingS2Dependencies: import("mathjs").FactoryFunctionMap; - bellNumbersDependencies: import("mathjs").FactoryFunctionMap; - catalanDependencies: import("mathjs").FactoryFunctionMap; - compositionDependencies: import("mathjs").FactoryFunctionMap; - simplifyDependencies: import("mathjs").FactoryFunctionMap; - derivativeDependencies: import("mathjs").FactoryFunctionMap; - rationalizeDependencies: import("mathjs").FactoryFunctionMap; - reviverDependencies: import("mathjs").FactoryFunctionMap; - eDependencies: import("mathjs").FactoryFunctionMap; - EDependencies: import("mathjs").FactoryFunctionMap; - falseDependencies: import("mathjs").FactoryFunctionMap; - iDependencies: import("mathjs").FactoryFunctionMap; - InfinityDependencies: import("mathjs").FactoryFunctionMap; - LN10Dependencies: import("mathjs").FactoryFunctionMap; - LN2Dependencies: import("mathjs").FactoryFunctionMap; - LOG10EDependencies: import("mathjs").FactoryFunctionMap; - LOG2EDependencies: import("mathjs").FactoryFunctionMap; - NaNDependencies: import("mathjs").FactoryFunctionMap; - nullDependencies: import("mathjs").FactoryFunctionMap; - phiDependencies: import("mathjs").FactoryFunctionMap; - piDependencies: import("mathjs").FactoryFunctionMap; - PIDependencies: import("mathjs").FactoryFunctionMap; - SQRT1_2Dependencies: import("mathjs").FactoryFunctionMap; - SQRT2Dependencies: import("mathjs").FactoryFunctionMap; - tauDependencies: import("mathjs").FactoryFunctionMap; - trueDependencies: import("mathjs").FactoryFunctionMap; - versionDependencies: import("mathjs").FactoryFunctionMap; - atomicMassDependencies: import("mathjs").FactoryFunctionMap; - avogadroDependencies: import("mathjs").FactoryFunctionMap; - bohrMagnetonDependencies: import("mathjs").FactoryFunctionMap; - bohrRadiusDependencies: import("mathjs").FactoryFunctionMap; - boltzmannDependencies: import("mathjs").FactoryFunctionMap; - classicalElectronRadiusDependencies: import("mathjs").FactoryFunctionMap; - conductanceQuantumDependencies: import("mathjs").FactoryFunctionMap; - coulombDependencies: import("mathjs").FactoryFunctionMap; - deuteronMassDependencies: import("mathjs").FactoryFunctionMap; - efimovFactorDependencies: import("mathjs").FactoryFunctionMap; - electricConstantDependencies: import("mathjs").FactoryFunctionMap; - electronMassDependencies: import("mathjs").FactoryFunctionMap; - elementaryChargeDependencies: import("mathjs").FactoryFunctionMap; - faradayDependencies: import("mathjs").FactoryFunctionMap; - fermiCouplingDependencies: import("mathjs").FactoryFunctionMap; - fineStructureDependencies: import("mathjs").FactoryFunctionMap; - firstRadiationDependencies: import("mathjs").FactoryFunctionMap; - gasConstantDependencies: import("mathjs").FactoryFunctionMap; - gravitationConstantDependencies: import("mathjs").FactoryFunctionMap; - gravityDependencies: import("mathjs").FactoryFunctionMap; - hartreeEnergyDependencies: import("mathjs").FactoryFunctionMap; - inverseConductanceQuantumDependencies: import("mathjs").FactoryFunctionMap; - klitzingDependencies: import("mathjs").FactoryFunctionMap; - loschmidtDependencies: import("mathjs").FactoryFunctionMap; - magneticConstantDependencies: import("mathjs").FactoryFunctionMap; - magneticFluxQuantumDependencies: import("mathjs").FactoryFunctionMap; - molarMassDependencies: import("mathjs").FactoryFunctionMap; - molarMassC12Dependencies: import("mathjs").FactoryFunctionMap; - molarPlanckConstantDependencies: import("mathjs").FactoryFunctionMap; - molarVolumeDependencies: import("mathjs").FactoryFunctionMap; - neutronMassDependencies: import("mathjs").FactoryFunctionMap; - nuclearMagnetonDependencies: import("mathjs").FactoryFunctionMap; - planckChargeDependencies: import("mathjs").FactoryFunctionMap; - planckConstantDependencies: import("mathjs").FactoryFunctionMap; - planckLengthDependencies: import("mathjs").FactoryFunctionMap; - planckMassDependencies: import("mathjs").FactoryFunctionMap; - planckTemperatureDependencies: import("mathjs").FactoryFunctionMap; - planckTimeDependencies: import("mathjs").FactoryFunctionMap; - protonMassDependencies: import("mathjs").FactoryFunctionMap; - quantumOfCirculationDependencies: import("mathjs").FactoryFunctionMap; - reducedPlanckConstantDependencies: import("mathjs").FactoryFunctionMap; - rydbergDependencies: import("mathjs").FactoryFunctionMap; - sackurTetrodeDependencies: import("mathjs").FactoryFunctionMap; - secondRadiationDependencies: import("mathjs").FactoryFunctionMap; - speedOfLightDependencies: import("mathjs").FactoryFunctionMap; - stefanBoltzmannDependencies: import("mathjs").FactoryFunctionMap; - thomsonCrossSectionDependencies: import("mathjs").FactoryFunctionMap; - vacuumImpedanceDependencies: import("mathjs").FactoryFunctionMap; - weakMixingAngleDependencies: import("mathjs").FactoryFunctionMap; - wienDisplacementDependencies: import("mathjs").FactoryFunctionMap; - applyTransformDependencies: import("mathjs").FactoryFunctionMap; - columnTransformDependencies: import("mathjs").FactoryFunctionMap; - filterTransformDependencies: import("mathjs").FactoryFunctionMap; - forEachTransformDependencies: import("mathjs").FactoryFunctionMap; - indexTransformDependencies: import("mathjs").FactoryFunctionMap; - mapTransformDependencies: import("mathjs").FactoryFunctionMap; - maxTransformDependencies: import("mathjs").FactoryFunctionMap; - meanTransformDependencies: import("mathjs").FactoryFunctionMap; - minTransformDependencies: import("mathjs").FactoryFunctionMap; - rangeTransformDependencies: import("mathjs").FactoryFunctionMap; - rowTransformDependencies: import("mathjs").FactoryFunctionMap; - subsetTransformDependencies: import("mathjs").FactoryFunctionMap; - concatTransformDependencies: import("mathjs").FactoryFunctionMap; - stdTransformDependencies: import("mathjs").FactoryFunctionMap; - sumTransformDependencies: import("mathjs").FactoryFunctionMap; - varianceTransformDependencies: import("mathjs").FactoryFunctionMap; - Matrix: import("mathjs").MatrixCtor; - create: (factories: import("mathjs").FactoryFunctionMap, config?: import("mathjs").ConfigOptions | undefined) => import("mathjs").MathJsInstance; - factory: (name: string, dependencies: TDeps, create: (injected: Pick | Extract<"number", TDeps[number]> | Extract<"boolean", TDeps[number]> | Extract<"concat", TDeps[number]> | Extract<"sort", TDeps[number]> | Extract<"forEach", TDeps[number]> | Extract<"map", TDeps[number]> | Extract<"filter", TDeps[number]> | Extract<"AccessorNode", TDeps[number]> | Extract<"ArrayNode", TDeps[number]> | Extract<"AssignmentNode", TDeps[number]> | Extract<"BlockNode", TDeps[number]> | Extract<"ConditionalNode", TDeps[number]> | Extract<"ConstantNode", TDeps[number]> | Extract<"FunctionAssignmentNode", TDeps[number]> | Extract<"FunctionNode", TDeps[number]> | Extract<"IndexNode", TDeps[number]> | Extract<"ObjectNode", TDeps[number]> | Extract<"OperatorNode", TDeps[number]> | Extract<"ParenthesisNode", TDeps[number]> | Extract<"RangeNode", TDeps[number]> | Extract<"RelationalNode", TDeps[number]> | Extract<"SymbolNode", TDeps[number]> | Extract<"Matrix", TDeps[number]> | Extract<"create", TDeps[number]> | Extract<"factory", TDeps[number]> | Extract<"typed", TDeps[number]> | Extract<"e", TDeps[number]> | Extract<"pi", TDeps[number]> | Extract<"i", TDeps[number]> | Extract<"LN2", TDeps[number]> | Extract<"LN10", TDeps[number]> | Extract<"LOG2E", TDeps[number]> | Extract<"LOG10E", TDeps[number]> | Extract<"phi", TDeps[number]> | Extract<"SQRT1_2", TDeps[number]> | Extract<"SQRT2", TDeps[number]> | Extract<"tau", TDeps[number]> | Extract<"Node", TDeps[number]> | Extract<"uninitialized", TDeps[number]> | Extract<"version", TDeps[number]> | Extract<"expression", TDeps[number]> | Extract<"reviver", TDeps[number]> | Extract<"replacer", TDeps[number]> | Extract<"bignumber", TDeps[number]> | Extract<"chain", TDeps[number]> | Extract<"complex", TDeps[number]> | Extract<"createUnit", TDeps[number]> | Extract<"fraction", TDeps[number]> | Extract<"index", TDeps[number]> | Extract<"matrix", TDeps[number]> | Extract<"sparse", TDeps[number]> | Extract<"splitUnit", TDeps[number]> | Extract<"unit", TDeps[number]> | Extract<"compile", TDeps[number]> | Extract<"evaluate", TDeps[number]> | Extract<"help", TDeps[number]> | Extract<"parse", TDeps[number]> | Extract<"parser", TDeps[number]> | Extract<"derivative", TDeps[number]> | Extract<"lsolve", TDeps[number]> | Extract<"lup", TDeps[number]> | Extract<"lusolve", TDeps[number]> | Extract<"polynomialRoot", TDeps[number]> | Extract<"qr", TDeps[number]> | Extract<"rationalize", TDeps[number]> | Extract<"simplify", TDeps[number]> | Extract<"simplifyConstant", TDeps[number]> | Extract<"simplifyCore", TDeps[number]> | Extract<"resolve", TDeps[number]> | Extract<"slu", TDeps[number]> | Extract<"usolve", TDeps[number]> | Extract<"abs", TDeps[number]> | Extract<"add", TDeps[number]> | Extract<"cbrt", TDeps[number]> | Extract<"ceil", TDeps[number]> | Extract<"fix", TDeps[number]> | Extract<"floor", TDeps[number]> | Extract<"round", TDeps[number]> | Extract<"cube", TDeps[number]> | Extract<"divide", TDeps[number]> | Extract<"dotDivide", TDeps[number]> | Extract<"dotMultiply", TDeps[number]> | Extract<"dotPow", TDeps[number]> | Extract<"exp", TDeps[number]> | Extract<"expm1", TDeps[number]> | Extract<"gcd", TDeps[number]> | Extract<"hypot", TDeps[number]> | Extract<"lcm", TDeps[number]> | Extract<"log", TDeps[number]> | Extract<"log10", TDeps[number]> | Extract<"log1p", TDeps[number]> | Extract<"log2", TDeps[number]> | Extract<"mod", TDeps[number]> | Extract<"multiply", TDeps[number]> | Extract<"norm", TDeps[number]> | Extract<"nthRoot", TDeps[number]> | Extract<"pow", TDeps[number]> | Extract<"sign", TDeps[number]> | Extract<"sqrt", TDeps[number]> | Extract<"square", TDeps[number]> | Extract<"subtract", TDeps[number]> | Extract<"unaryMinus", TDeps[number]> | Extract<"unaryPlus", TDeps[number]> | Extract<"xgcd", TDeps[number]> | Extract<"bitAnd", TDeps[number]> | Extract<"bitNot", TDeps[number]> | Extract<"bitOr", TDeps[number]> | Extract<"bitXor", TDeps[number]> | Extract<"leftShift", TDeps[number]> | Extract<"rightArithShift", TDeps[number]> | Extract<"rightLogShift", TDeps[number]> | Extract<"bellNumbers", TDeps[number]> | Extract<"catalan", TDeps[number]> | Extract<"composition", TDeps[number]> | Extract<"stirlingS2", TDeps[number]> | Extract<"arg", TDeps[number]> | Extract<"conj", TDeps[number]> | Extract<"im", TDeps[number]> | Extract<"re", TDeps[number]> | Extract<"distance", TDeps[number]> | Extract<"intersect", TDeps[number]> | Extract<"and", TDeps[number]> | Extract<"not", TDeps[number]> | Extract<"or", TDeps[number]> | Extract<"xor", TDeps[number]> | Extract<"apply", TDeps[number]> | Extract<"cross", TDeps[number]> | Extract<"det", TDeps[number]> | Extract<"diag", TDeps[number]> | Extract<"dot", TDeps[number]> | Extract<"eigs", TDeps[number]> | Extract<"expm", TDeps[number]> | Extract<"sylvester", TDeps[number]> | Extract<"schur", TDeps[number]> | Extract<"lyap", TDeps[number]> | Extract<"identity", TDeps[number]> | Extract<"flatten", TDeps[number]> | Extract<"inv", TDeps[number]> | Extract<"kron", TDeps[number]> | Extract<"ones", TDeps[number]> | Extract<"partitionSelect", TDeps[number]> | Extract<"pinv", TDeps[number]> | Extract<"range", TDeps[number]> | Extract<"reshape", TDeps[number]> | Extract<"resize", TDeps[number]> | Extract<"rotationMatrix", TDeps[number]> | Extract<"row", TDeps[number]> | Extract<"column", TDeps[number]> | Extract<"rotate", TDeps[number]> | Extract<"size", TDeps[number]> | Extract<"sqrtm", TDeps[number]> | Extract<"squeeze", TDeps[number]> | Extract<"subset", TDeps[number]> | Extract<"trace", TDeps[number]> | Extract<"transpose", TDeps[number]> | Extract<"zeros", TDeps[number]> | Extract<"fft", TDeps[number]> | Extract<"ifft", TDeps[number]> | Extract<"combinations", TDeps[number]> | Extract<"factorial", TDeps[number]> | Extract<"gamma", TDeps[number]> | Extract<"kldivergence", TDeps[number]> | Extract<"lgamma", TDeps[number]> | Extract<"multinomial", TDeps[number]> | Extract<"permutations", TDeps[number]> | Extract<"pickRandom", TDeps[number]> | Extract<"random", TDeps[number]> | Extract<"randomInt", TDeps[number]> | Extract<"compare", TDeps[number]> | Extract<"compareNatural", TDeps[number]> | Extract<"compareText", TDeps[number]> | Extract<"deepEqual", TDeps[number]> | Extract<"equal", TDeps[number]> | Extract<"equalText", TDeps[number]> | Extract<"larger", TDeps[number]> | Extract<"largerEq", TDeps[number]> | Extract<"smaller", TDeps[number]> | Extract<"smallerEq", TDeps[number]> | Extract<"unequal", TDeps[number]> | Extract<"setCartesian", TDeps[number]> | Extract<"setDifference", TDeps[number]> | Extract<"setDistinct", TDeps[number]> | Extract<"setIntersect", TDeps[number]> | Extract<"setIsSubset", TDeps[number]> | Extract<"setMultiplicity", TDeps[number]> | Extract<"setPowerset", TDeps[number]> | Extract<"setSize", TDeps[number]> | Extract<"setSymDifference", TDeps[number]> | Extract<"setUnion", TDeps[number]> | Extract<"zpk2tf", TDeps[number]> | Extract<"freqz", TDeps[number]> | Extract<"erf", TDeps[number]> | Extract<"zeta", TDeps[number]> | Extract<"mad", TDeps[number]> | Extract<"max", TDeps[number]> | Extract<"mean", TDeps[number]> | Extract<"median", TDeps[number]> | Extract<"min", TDeps[number]> | Extract<"mode", TDeps[number]> | Extract<"prod", TDeps[number]> | Extract<"quantileSeq", TDeps[number]> | Extract<"std", TDeps[number]> | Extract<"sum", TDeps[number]> | Extract<"count", TDeps[number]> | Extract<"cumsum", TDeps[number]> | Extract<"variance", TDeps[number]> | Extract<"corr", TDeps[number]> | Extract<"format", TDeps[number]> | Extract<"print", TDeps[number]> | Extract<"acos", TDeps[number]> | Extract<"acosh", TDeps[number]> | Extract<"acot", TDeps[number]> | Extract<"acoth", TDeps[number]> | Extract<"acsc", TDeps[number]> | Extract<"acsch", TDeps[number]> | Extract<"asec", TDeps[number]> | Extract<"asech", TDeps[number]> | Extract<"asin", TDeps[number]> | Extract<"asinh", TDeps[number]> | Extract<"atan", TDeps[number]> | Extract<"atan2", TDeps[number]> | Extract<"atanh", TDeps[number]> | Extract<"cos", TDeps[number]> | Extract<"cosh", TDeps[number]> | Extract<"cot", TDeps[number]> | Extract<"coth", TDeps[number]> | Extract<"csc", TDeps[number]> | Extract<"csch", TDeps[number]> | Extract<"sec", TDeps[number]> | Extract<"sech", TDeps[number]> | Extract<"sin", TDeps[number]> | Extract<"sinh", TDeps[number]> | Extract<"tan", TDeps[number]> | Extract<"tanh", TDeps[number]> | Extract<"to", TDeps[number]> | Extract<"isNumber", TDeps[number]> | Extract<"isBigNumber", TDeps[number]> | Extract<"isComplex", TDeps[number]> | Extract<"isFraction", TDeps[number]> | Extract<"isUnit", TDeps[number]> | Extract<"isString", TDeps[number]> | Extract<"isArray", TDeps[number]> | Extract<"isMatrix", TDeps[number]> | Extract<"isCollection", TDeps[number]> | Extract<"isDenseMatrix", TDeps[number]> | Extract<"isSparseMatrix", TDeps[number]> | Extract<"isRange", TDeps[number]> | Extract<"isIndex", TDeps[number]> | Extract<"isBoolean", TDeps[number]> | Extract<"isResultSet", TDeps[number]> | Extract<"isHelp", TDeps[number]> | Extract<"isFunction", TDeps[number]> | Extract<"isDate", TDeps[number]> | Extract<"isRegExp", TDeps[number]> | Extract<"isObject", TDeps[number]> | Extract<"isNull", TDeps[number]> | Extract<"isUndefined", TDeps[number]> | Extract<"isAccessorNode", TDeps[number]> | Extract<"isArrayNode", TDeps[number]> | Extract<"isAssignmentNode", TDeps[number]> | Extract<"isBlockNode", TDeps[number]> | Extract<"isConditionalNode", TDeps[number]> | Extract<"isConstantNode", TDeps[number]> | Extract<"isFunctionAssignmentNode", TDeps[number]> | Extract<"isFunctionNode", TDeps[number]> | Extract<"isIndexNode", TDeps[number]> | Extract<"isNode", TDeps[number]> | Extract<"isObjectNode", TDeps[number]> | Extract<"isOperatorNode", TDeps[number]> | Extract<"isParenthesisNode", TDeps[number]> | Extract<"isRangeNode", TDeps[number]> | Extract<"isRelationalNode", TDeps[number]> | Extract<"isSymbolNode", TDeps[number]> | Extract<"isChain", TDeps[number]> | Extract<"clone", TDeps[number]> | Extract<"hasNumericValue", TDeps[number]> | Extract<"isInteger", TDeps[number]> | Extract<"isNaN", TDeps[number]> | Extract<"isNegative", TDeps[number]> | Extract<"isNumeric", TDeps[number]> | Extract<"isPositive", TDeps[number]> | Extract<"isPrime", TDeps[number]> | Extract<"isZero", TDeps[number]> | Extract<"typeOf", TDeps[number]> | Extract<"Infinity", TDeps[number]> | Extract<"NaN", TDeps[number]> | Extract<"config", TDeps[number]> | Extract<"symbolicEqual", TDeps[number]> | Extract<"import", TDeps[number]>>) => T, meta?: any) => import("mathjs").FactoryFunction; - typed: (name: string, signatures: Record any>) => (...args: any[]) => any; - e: number; - pi: number; - i: number; - LN2: number; - LN10: number; - LOG2E: number; - LOG10E: number; - phi: number; - SQRT1_2: number; - SQRT2: number; - tau: number; - Node: import("mathjs").NodeCtor; - uninitialized: any; - version: string; - expression: import("mathjs").MathNode; - reviver: () => (key: any, value: any) => any; - replacer: () => (key: any, value: any) => any; - bignumber: { - (x?: string | number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): import("mathjs").BigNumber; - (x: T_1): T_1; - }; - boolean: { - (x: string | number | boolean | null): boolean; - (x: import("mathjs").MathCollection): import("mathjs").MathCollection; - }; - chain: (value?: TValue | undefined) => import("mathjs").MathJsChain; - complex: { - (arg?: string | import("mathjs").MathNumericType | import("mathjs").PolarCoordinates | undefined): import("mathjs").Complex; - (arg?: import("mathjs").MathCollection | undefined): import("mathjs").MathCollection; - (re: number, im: number): import("mathjs").Complex; - }; - createUnit: { - (name: string, definition?: string | import("mathjs").Unit | import("mathjs").UnitDefinition | undefined, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit; - (units: Record, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit; - }; - fraction: { - (value: string | number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").FractionDefinition): import("mathjs").Fraction; - (values: import("mathjs").MathCollection): import("mathjs").MathCollection; - (numerator: number, denominator: number): import("mathjs").Fraction; - }; - index: (...ranges: any[]) => import("mathjs").Index; - matrix: { - (format?: "sparse" | "dense" | undefined): import("mathjs").Matrix; - (data: string[] | import("mathjs").MathCollection, format?: "sparse" | "dense" | undefined, dataType?: string | undefined): import("mathjs").Matrix; - }; - number: { - (value?: string | number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): number; - (value?: import("mathjs").MathCollection | undefined): number | import("mathjs").MathCollection; - (unit: import("mathjs").Unit, valuelessUnit: string | import("mathjs").Unit): number; - }; - sparse: (data?: import("mathjs").MathCollection | undefined, dataType?: string | undefined) => import("mathjs").Matrix; - splitUnit: (unit: import("mathjs").Unit, parts: import("mathjs").Unit[]) => import("mathjs").Unit[]; - string: { - (value: string | import("mathjs").MathNumericType | import("mathjs").Unit | null): string; - (value: import("mathjs").MathCollection): import("mathjs").MathCollection; - }; - unit: { - (unit: string): import("mathjs").Unit; - (unit: import("mathjs").Unit): import("mathjs").Unit; - (value: import("mathjs").MathNumericType, unit: string): import("mathjs").Unit; - (value: import("mathjs").MathCollection, unit: string): import("mathjs").Unit[]; - }; - compile: { - (expr: import("mathjs").MathExpression): import("mathjs").EvalFunction; - (exprs: import("mathjs").MathExpression[]): import("mathjs").EvalFunction[]; - }; - evaluate: { - (expr: import("mathjs").MathExpression, scope?: object | undefined): any; - (expr: import("mathjs").MathExpression[], scope?: object | undefined): any[]; - }; - help: (search: () => any) => import("mathjs").Help; - parse: import("mathjs").ParseFunction; - parser: () => import("mathjs").Parser; - derivative: (expr: string | import("mathjs").MathNode, variable: string | import("mathjs").MathNode, options?: { - simplify: boolean; - } | undefined) => import("mathjs").MathNode; - lsolve: { - (L: import("mathjs").Matrix, b: import("mathjs").MathCollection): import("mathjs").Matrix; - (L: import("mathjs").MathArray, b: import("mathjs").MathCollection): import("mathjs").MathArray; - }; - lup: (A?: import("mathjs").MathCollection | undefined) => import("mathjs").LUDecomposition; - lusolve: { - (A: import("mathjs").Matrix, b: import("mathjs").MathCollection, order?: number | undefined, threshold?: number | undefined): import("mathjs").Matrix; - (A: import("mathjs").MathArray, b: import("mathjs").MathCollection, order?: number | undefined, threshold?: number | undefined): import("mathjs").MathArray; - (A: import("mathjs").LUDecomposition, b: import("mathjs").MathCollection): import("mathjs").Matrix; - }; - polynomialRoot: (constantCoeff: number | import("mathjs").Complex, linearCoeff: number | import("mathjs").Complex, quadraticCoeff?: number | import("mathjs").Complex | undefined, cubicCoeff?: number | import("mathjs").Complex | undefined) => (number | import("mathjs").Complex)[]; - qr: (A: import("mathjs").MathCollection) => import("mathjs").QRDecomposition; - rationalize: { - (expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: false | undefined): import("mathjs").MathNode; - (expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: true | undefined): { - expression: string | import("mathjs").MathNode; - variables: string[]; - coefficients: import("mathjs").MathType[]; - }; - }; - simplify: import("mathjs").Simplify; - simplifyConstant: (expr: string | import("mathjs").MathNode, options?: import("mathjs").SimplifyOptions | undefined) => import("mathjs").MathNode; - simplifyCore: (expr: string | import("mathjs").MathNode, options?: import("mathjs").SimplifyOptions | undefined) => import("mathjs").MathNode; - resolve: { - (node: string | import("mathjs").MathNode, scope?: Record | undefined): import("mathjs").MathNode; - (node: (string | import("mathjs").MathNode)[], scope?: Record | undefined): import("mathjs").MathNode[]; - (node: import("mathjs").Matrix, scope?: Record | undefined): import("mathjs").Matrix; - }; - slu: (A: import("mathjs").Matrix, order: number, threshold: number) => import("mathjs").SLUDecomposition; - usolve: { - (U: import("mathjs").Matrix, b: import("mathjs").MathCollection): import("mathjs").Matrix; - (U: import("mathjs").MathArray, b: import("mathjs").MathCollection): import("mathjs").MathArray; - }; - abs: (x: T_2) => T_2; - add: { - (x: T_3, y: T_3): T_3; - (...values: T_4[]): T_4; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - (...values: import("mathjs").MathType[]): import("mathjs").MathType; - }; - cbrt: { - (x: import("mathjs").Complex, allRoots?: boolean | undefined): import("mathjs").Complex; - (x: T_5): T_5; - }; - ceil: { - (x: T_6, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U): U; - }; - fix: { - (x: T_7, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_1): U_1; - }; - floor: { - (x: T_8, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_2): U_2; - }; - round: { - (x: T_9, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_3): U_3; - (x: U_4, unit: import("mathjs").Unit): U_4; - (x: import("mathjs").Unit, unit: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").Unit, n: number | import("mathjs").BigNumber, unit: import("mathjs").Unit): import("mathjs").Unit; - (x: U_5, n: number | import("mathjs").BigNumber, unit: import("mathjs").Unit): U_5; - }; - cube: (x: T_10) => T_10; - divide: { - (x: import("mathjs").Unit, y: import("mathjs").Unit): number | import("mathjs").Unit; - (x: import("mathjs").Unit, y: number): import("mathjs").Unit; - (x: number, y: number): number; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - }; - dotDivide: { - (x: T_11, y: import("mathjs").MathType): T_11; - (x: import("mathjs").MathType, y: T_12): T_12; - (x: import("mathjs").Unit, y: import("mathjs").MathType): import("mathjs").Unit; - (x: import("mathjs").MathType, y: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").MathNumericType, y: import("mathjs").MathNumericType): import("mathjs").MathNumericType; - }; - dotMultiply: { - (x: T_13, y: import("mathjs").MathType): T_13; - (x: import("mathjs").MathType, y: T_14): T_14; - (x: import("mathjs").Unit, y: import("mathjs").MathType): import("mathjs").Unit; - (x: import("mathjs").MathType, y: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").MathNumericType, y: import("mathjs").MathNumericType): import("mathjs").MathNumericType; - }; - dotPow: (x: T_15, y: import("mathjs").MathType) => T_15; - exp: (x: T_16) => T_16; - expm1: (x: T_17) => T_17; - gcd: { - (...args: T_18[]): T_18; - (args: T_19[]): T_19; - }; - hypot: { - (...args: T_20[]): T_20; - (args: T_21[]): T_21; - }; - lcm: (a: T_22, b: T_22) => T_22; - log: (x: T_23, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined) => import("mathjs").NoLiteralType; - log10: (x: T_24) => T_24; - log1p: (x: T_25, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined) => T_25; - log2: (x: T_26) => T_26; - multiply: { - (x: T_27, y: import("mathjs").MathType): import("mathjs").Matrix; - (x: import("mathjs").MathType, y: T_28): import("mathjs").Matrix; - (x: T_29, y: T_29[]): T_29; - (x: T_30[], y: T_30): T_30; - (x: T_31, y: T_31): T_31; - (x: import("mathjs").Unit, y: import("mathjs").Unit): import("mathjs").Unit; - (x: number, y: number): number; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - (...values: T_32[]): T_32; - (...values: import("mathjs").MathType[]): import("mathjs").MathType; - }; - norm: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").MathCollection, p?: string | number | import("mathjs").BigNumber | undefined) => number | import("mathjs").BigNumber; - nthRoot: (a: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").MathCollection, root?: number | import("mathjs").BigNumber | undefined) => number | import("mathjs").Complex | import("mathjs").MathCollection; - pow: (x: import("mathjs").MathType, y: number | import("mathjs").BigNumber | import("mathjs").Complex) => import("mathjs").MathType; - sign: (x: T_33) => T_33; - sqrt: { - (x: number): number | import("mathjs").Complex; - (x: T_34): T_34; - }; - square: (x: T_35) => T_35; - subtract: { - (x: T_36, y: T_36): T_36; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - }; - unaryMinus: (x: T_37) => T_37; - unaryPlus: (x: T_38) => T_38; - xgcd: (a: number | import("mathjs").BigNumber, b: number | import("mathjs").BigNumber) => import("mathjs").MathArray; - bitAnd: (x: T_39, y: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => import("mathjs").NoLiteralType; - bitNot: (x: T_40) => T_40; - bitOr: (x: T_41, y: T_41) => T_41; - bitXor: (x: T_42, y: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => import("mathjs").NoLiteralType; - leftShift: (x: T_43, y: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - rightArithShift: (x: T_44, y: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - rightLogShift: (x: T_45, y: number) => import("mathjs").NoLiteralType; - bellNumbers: (n: T_46) => T_46; - catalan: (n: T_47) => T_47; - composition: (n: T_48, k: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - stirlingS2: (n: T_49, k: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - arg: { - (x: number | import("mathjs").Complex): number; - (x: import("mathjs").BigNumber | import("mathjs").Complex): import("mathjs").BigNumber; - (x: T_50): T_50; - }; - conj: (x: T_51) => import("mathjs").NoLiteralType; - im: { - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - }; - re: { - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - }; - distance: (x: object | import("mathjs").MathCollection, y: object | import("mathjs").MathCollection, z?: object | import("mathjs").MathCollection | undefined) => number | import("mathjs").BigNumber; - intersect: (w: import("mathjs").MathCollection, x: import("mathjs").MathCollection, y: import("mathjs").MathCollection, z?: import("mathjs").MathCollection | undefined) => import("mathjs").MathArray; - and: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - not: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - or: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - xor: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - apply: (array: T_54, dim: number, callback: (array: import("mathjs").MathCollection) => number) => T_54; - concat: (...args: (number | import("mathjs").BigNumber | import("mathjs").MathCollection)[]) => import("mathjs").MathCollection; - cross: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").MathCollection; - det: (x: import("mathjs").MathCollection) => number; - diag: { - (X: import("mathjs").MathCollection, format?: string | undefined): import("mathjs").Matrix; - (X: import("mathjs").MathCollection, k: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - dot: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => number; - eigs: { - (x: import("mathjs").MathCollection, opts?: number | import("mathjs").BigNumber | { - precision?: number | import("mathjs").BigNumber | undefined; - eigenvectors?: true | undefined; - } | undefined): { - values: import("mathjs").MathCollection; - eigenvectors: { - value: number | import("mathjs").BigNumber; - vector: import("mathjs").MathCollection; - }[]; - }; - (x: import("mathjs").MathCollection, opts: { - eigenvectors: false; - precision?: number | import("mathjs").BigNumber | undefined; - }): { - values: import("mathjs").MathCollection; - }; - }; - expm: (x: import("mathjs").Matrix) => import("mathjs").Matrix; - sylvester: (A: import("mathjs").MathCollection, B: import("mathjs").MathCollection, C: import("mathjs").MathCollection) => import("mathjs").MathCollection; - schur: (A: import("mathjs").MathCollection) => import("mathjs").SchurDecomposition; - lyap: (A: import("mathjs").MathCollection, Q: import("mathjs").MathCollection) => import("mathjs").MathCollection; - identity: { - (size: number | number[] | import("mathjs").MathCollection, format?: string | undefined): number | import("mathjs").MathCollection; - (m: number, n: number, format?: string | undefined): number | import("mathjs").MathCollection; - }; - filter: (x: string[] | import("mathjs").MathCollection, test: RegExp | ((value: any, index: any, matrix: string[] | import("mathjs").MathCollection) => boolean)) => import("mathjs").MathCollection; - flatten: (x: T_55) => T_55; - forEach: (x: T_56, callback: (value: any, index: any, matrix: T_56) => void) => void; - inv: (x: T_57) => import("mathjs").NoLiteralType; - kron: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").Matrix; - map: (x: T_58, callback: (value: any, index: any, matrix: T_58) => string | import("mathjs").MathType) => T_58; - ones: { - (size?: number | number[] | import("mathjs").BigNumber | import("mathjs").BigNumber[] | undefined, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, p: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - partitionSelect: (x: import("mathjs").MathCollection, k: number, compare?: "asc" | "desc" | ((a: any, b: any) => number) | undefined) => any; - pinv: (x: T_59) => T_59; - range: { - (str: string, includeEnd?: boolean | undefined): import("mathjs").Matrix; - (start: number | import("mathjs").BigNumber, end: number | import("mathjs").BigNumber, includeEnd?: boolean | undefined): import("mathjs").Matrix; - (start: number | import("mathjs").BigNumber | import("mathjs").Unit, end: number | import("mathjs").BigNumber | import("mathjs").Unit, step: number | import("mathjs").BigNumber | import("mathjs").Unit, includeEnd?: boolean | undefined): import("mathjs").Matrix; - }; - reshape: (x: T_60, sizes: number[]) => T_60; - resize: (x: T_61, size: import("mathjs").MathCollection, defaultValue?: string | number | undefined) => T_61; - rotationMatrix: (theta?: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | undefined, axis?: T_62 | undefined, format?: "sparse" | "dense" | undefined) => T_62; - row: (value: T_63, row: number) => T_63; - column: (value: T_64, column: number) => T_64; - rotate: (w: T_65, theta: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit, v?: T_65 | undefined) => T_65; - size: (x: string | number | boolean | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => import("mathjs").MathCollection; - sort: (x: T_66, compare: "asc" | "desc" | ((a: any, b: any) => number) | "natural") => T_66; - sqrtm: (A: T_67) => T_67; - squeeze: (x: T_68) => T_68; - subset: (value: T_69, index: import("mathjs").Index, replacement?: any, defaultValue?: any) => T_69; - trace: (x: import("mathjs").MathCollection) => number; - transpose: (x: T_70) => T_70; - zeros: { - (size?: number | number[] | import("mathjs").BigNumber | import("mathjs").BigNumber[] | undefined, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, p: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - fft: (arr: T_71) => T_71; - ifft: (arr: T_72) => T_72; - factorial: (n: T_73) => import("mathjs").NoLiteralType; - gamma: (n: T_74) => import("mathjs").NoLiteralType; - kldivergence: (q: import("mathjs").MathCollection, p: import("mathjs").MathCollection) => number; - lgamma: (n: T_75) => import("mathjs").NoLiteralType; - multinomial: (a: T_76[]) => import("mathjs").NoLiteralType; - permutations: (n: T_77, k?: number | import("mathjs").BigNumber | undefined) => import("mathjs").NoLiteralType; - pickRandom: { - (array: T_78[]): T_78; - (array: T_79[], number: number): T_79[]; - (array: T_80[], number: number, weights: number[]): T_80[]; - }; - random: { - (min?: number | undefined, max?: number | undefined): number; - (size: T_81, min?: number | undefined, max?: number | undefined): T_81; - }; - randomInt: { - (min: number, max?: number | undefined): number; - (size: T_82, min?: number | undefined, max?: number | undefined): T_82; - }; - compare: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").MathCollection; - compareNatural: (x: any, y: any) => number; - compareText: (x: string | import("mathjs").MathCollection, y: string | import("mathjs").MathCollection) => number | import("mathjs").MathCollection; - deepEqual: (x: import("mathjs").MathType, y: import("mathjs").MathType) => import("mathjs").MathType; - equal: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - equalText: (x: string | import("mathjs").MathCollection, y: string | import("mathjs").MathCollection) => number | import("mathjs").MathCollection; - larger: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - largerEq: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - smaller: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - smallerEq: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - unequal: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - setCartesian: (a1: T_83, a2: import("mathjs").MathCollection) => T_83; - setDifference: (a1: T_84, a2: import("mathjs").MathCollection) => T_84; - setDistinct: (a: T_85) => T_85; - setIntersect: (a1: T_86, a2: import("mathjs").MathCollection) => T_86; - setIsSubset: (a1: import("mathjs").MathCollection, a2: import("mathjs").MathCollection) => boolean; - setMultiplicity: (e: import("mathjs").MathNumericType, a: import("mathjs").MathCollection) => number; - setPowerset: (a: T_87) => T_87; - setSize: (a: import("mathjs").MathCollection) => number; - setSymDifference: (a1: T_88, a2: import("mathjs").MathCollection) => T_88; - setUnion: (a1: T_89, a2: import("mathjs").MathCollection) => T_89; - zpk2tf: (z: T_90, p: T_90, k?: number | undefined) => T_90; - freqz: (b: T_91, a: T_91, w?: number | T_91 | undefined) => { - w: T_91; - h: T_91; - }; - erf: (x: T_92) => import("mathjs").NoLiteralType; - zeta: (s: T_93) => T_93; - mad: (array: import("mathjs").MathCollection) => any; - max: { - (...args: T_94[]): T_94; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_95[] | T_95[][], dimension?: number | import("mathjs").BigNumber | undefined): T_95; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - mean: { - (...args: T_96[]): T_96; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_97[] | T_97[][], dimension?: number | import("mathjs").BigNumber | undefined): T_97; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - median: { - (...args: T_98[]): T_98; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_99[] | T_99[][]): T_99; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType; - }; - min: { - (...args: T_100[]): T_100; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_101[] | T_101[][], dimension?: number | import("mathjs").BigNumber | undefined): T_101; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - mode: { - (...args: T_102[]): T_102[]; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType[]; - (A: T_103[] | T_103[][]): T_103[]; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType[]; - }; - prod: { - (...args: T_104[]): T_104; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_105[] | T_105[][]): T_105; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType; - }; - quantileSeq: { - (A: T_106[] | T_106[][], prob: number | import("mathjs").BigNumber | import("mathjs").MathArray, sorted?: boolean | undefined): T_106; - (A: import("mathjs").MathCollection, prob: number | import("mathjs").BigNumber | import("mathjs").MathArray, sorted?: boolean | undefined): import("mathjs").MathScalarType | import("mathjs").MathArray; - }; - std: { - (...args: T_107[]): T_107; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (array: import("mathjs").MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): import("mathjs").MathNumericType[]; - (array: import("mathjs").MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): import("mathjs").MathNumericType; - }; - sum: { - (...args: T_108[]): T_108; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_109[] | T_109[][], dimension?: number | import("mathjs").BigNumber | undefined): T_109; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - count: (x: string | import("mathjs").MathCollection) => number; - cumsum: { - (...args: import("mathjs").MathType[]): import("mathjs").MathType[]; - (array: import("mathjs").MathCollection, dim?: number | undefined): import("mathjs").MathCollection; - }; - variance: { - (...args: import("mathjs").MathNumericType[]): import("mathjs").MathNumericType; - (array: import("mathjs").MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): import("mathjs").MathNumericType[]; - (array: import("mathjs").MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): import("mathjs").MathNumericType; - }; - corr: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").MathType; - format: (value: any, options?: number | import("mathjs").BigNumber | import("mathjs").FormatOptions | ((item: any) => string) | undefined, callback?: ((value: any) => string) | undefined) => string; - print: (template: string, values: any, precision?: number | undefined, options?: number | object | undefined) => void; - acos: { - (x: number): number | import("mathjs").Complex; - (x: T_110): T_110; - }; - acosh: { - (x: number): number | import("mathjs").Complex; - (x: T_111): T_111; - }; - acot: { - (x: number): number; - (x: T_112): T_112; - }; - acoth: { - (x: number): number; - (x: T_113): T_113; - }; - acsc: { - (x: number): number | import("mathjs").Complex; - (x: T_114): T_114; - }; - acsch: { - (x: number): number; - (x: T_115): T_115; - }; - asec: { - (x: number): number | import("mathjs").Complex; - (x: T_116): T_116; - }; - asech: { - (x: number): number | import("mathjs").Complex; - (x: T_117): T_117; - }; - asin: { - (x: number): number | import("mathjs").Complex; - (x: T_118): T_118; - }; - asinh: (x: T_119) => T_119; - atan: (x: T_120) => T_120; - atan2: (y: T_121, x: T_121) => T_121; - atanh: { - (x: number): number | import("mathjs").Complex; - (x: T_122): T_122; - }; - cos: { - (x: number | import("mathjs").Unit): number; - (x: T_123): T_123; - }; - cosh: { - (x: number | import("mathjs").Unit): number; - (x: T_124): T_124; - }; - cot: { - (x: number | import("mathjs").Unit): number; - (x: T_125): T_125; - }; - coth: { - (x: number | import("mathjs").Unit): number; - (x: T_126): T_126; - }; - csc: { - (x: number | import("mathjs").Unit): number; - (x: T_127): T_127; - }; - csch: { - (x: number | import("mathjs").Unit): number; - (x: T_128): T_128; - }; - sec: { - (x: number | import("mathjs").Unit): number; - (x: T_129): T_129; - }; - sech: { - (x: number | import("mathjs").Unit): number; - (x: T_130): T_130; - }; - sin: { - (x: number | import("mathjs").Unit): number; - (x: T_131): T_131; - }; - sinh: { - (x: number | import("mathjs").Unit): number; - (x: T_132): T_132; - }; - tan: { - (x: number | import("mathjs").Unit): number; - (x: T_133): T_133; - }; - tanh: { - (x: number | import("mathjs").Unit): number; - (x: T_134): T_134; - }; - to: (x: import("mathjs").Unit | import("mathjs").MathCollection, unit: string | import("mathjs").Unit) => import("mathjs").Unit | import("mathjs").MathCollection; - isNumber: (x: unknown) => x is number; - isBigNumber: (x: unknown) => x is import("mathjs").BigNumber; - isComplex: (x: unknown) => x is import("mathjs").Complex; - isFraction: (x: unknown) => x is import("mathjs").Fraction; - isUnit: (x: unknown) => x is import("mathjs").Unit; - isString: (x: unknown) => x is string; - isArray: (arg: any) => arg is any[]; - isMatrix: (x: unknown) => x is import("mathjs").Matrix; - isCollection: (x: unknown) => x is any[] | import("mathjs").Matrix; - isDenseMatrix: (x: unknown) => x is import("mathjs").Matrix; - isSparseMatrix: (x: unknown) => x is import("mathjs").Matrix; - isRange: (x: unknown) => boolean; - isIndex: (x: unknown) => x is import("mathjs").Index; - isBoolean: (x: unknown) => x is boolean; - isResultSet: (x: unknown) => boolean; - isHelp: (x: unknown) => x is import("mathjs").Help; - isFunction: (x: unknown) => boolean; - isDate: (x: unknown) => x is Date; - isRegExp: (x: unknown) => x is RegExp; - isObject: (x: unknown) => boolean; - isNull: (x: unknown) => x is null; - isUndefined: (x: unknown) => x is undefined; - isAccessorNode: (x: unknown) => x is import("mathjs").AccessorNode; - isArrayNode: (x: unknown) => x is import("mathjs").ArrayNode; - isAssignmentNode: (x: unknown) => x is import("mathjs").AssignmentNode; - isBlockNode: (x: unknown) => x is import("mathjs").BlockNode; - isConditionalNode: (x: unknown) => x is import("mathjs").ConditionalNode; - isConstantNode: (x: unknown) => x is import("mathjs").ConstantNode; - isFunctionAssignmentNode: (x: unknown) => x is import("mathjs").FunctionAssignmentNode; - isFunctionNode: (x: unknown) => x is import("mathjs").FunctionNode; - isIndexNode: (x: unknown) => x is import("mathjs").IndexNode; - isNode: (x: unknown) => x is import("mathjs").MathNode; - isObjectNode: (x: unknown) => x is import("mathjs").ObjectNode>; - isOperatorNode: (x: unknown) => x is import("mathjs").OperatorNode; - isParenthesisNode: (x: unknown) => x is import("mathjs").ParenthesisNode; - isRangeNode: (x: unknown) => x is import("mathjs").RangeNode; - isRelationalNode: (x: unknown) => x is import("mathjs").RelationalNode; - isSymbolNode: (x: unknown) => x is import("mathjs").SymbolNode; - isChain: (x: unknown) => x is import("mathjs").MathJsChain; - clone: (x: TType) => TType; - hasNumericValue: (x: any) => boolean | boolean[]; - isInteger: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").MathCollection) => boolean; - isNaN: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isNegative: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isNumeric: (x: any) => x is number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction; - isPositive: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isPrime: (x: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => boolean; - isZero: (x: import("mathjs").MathType) => boolean; - typeOf: (x: any) => string; - }; - object: typeof import("./shared/object"); - selector: typeof import("./shared/selector"); - specific: typeof import("./shared/specific"); - str: typeof import("./shared/str"); - tree: typeof import("./shared/tree"); - url: typeof import("./shared/url"); - uuid: typeof import("./shared/uuid"); - assertion: typeof import("./shared/assertion"); -}; -declare const _default: { - file: typeof file; - yaml: typeof yaml; - json: typeof json; - array: typeof import("./shared/array"); - cls: typeof import("./shared/class"); - clone: typeof import("./shared/clone"); - constants: typeof import("./shared/constants"); - hash: typeof import("./shared/hash"); - math: { - PI: number; - trunc: (x: number) => number; - product: (v1: number[], v2: number[]) => number | number[]; - vlen: (v: number[]) => number; - angle: (a: number[], b: number[], unit: string) => number; - angleUpTo90: (a: number[], b: number[], unit: string) => number; - vDist: (v1: number[], v2: number[]) => number; - vEqualWithTolerance: (vec1: number[], vec2: number[], tolerance?: number) => boolean; - roundToZero: (n: number) => number; - precise: (x: number, n?: number) => number; - mod: (num: number, tolerance?: number) => number; - isBetweenZeroInclusiveAndOne: (number: number, tolerance?: number) => boolean; - cartesianProduct: (...arg: number[][]) => number[][]; - almostEqual: (a: number, b: number, tolerance?: number) => boolean; - combinations: (a: number, b: number, c: number) => number[][]; - combinationsFromIntervals: (arrA: number[], arrB: number[], arrC: number[]) => number[][]; - calculateSegmentsBetweenPoints3D: (point1: (string | number)[], point2: (string | number)[], n: string | number) => number[][]; - roundValueToNDecimals: (value: number, decimals?: number) => number; - numberToPrecision: typeof import("./shared/math").numberToPrecision; - roundCustom: (value: number, decimals?: number, mode?: import("decimal.js").default.Rounding) => number; - RoundingMethod: { - Bankers: 6; - HalfAwayFromZero: 4; - }; - roundArrayOrNumber: (value: unknown, decimals?: number, mode?: import("decimal.js").default.Rounding) => unknown; - AccessorNode: import("mathjs").AccessorNodeCtor; - ArrayNode: import("mathjs").ArrayNodeCtor; - AssignmentNode: import("mathjs").AssignmentNodeCtor; - BlockNode: import("mathjs").BlockNodeCtor; - ConditionalNode: import("mathjs").ConditionalNodeCtor; - ConstantNode: import("mathjs").ConstantNodeCtor; - FunctionAssignmentNode: import("mathjs").FunctionAssignmentNodeCtor; - FunctionNode: import("mathjs").FunctionNodeCtor; - IndexNode: import("mathjs").IndexNodeCtor; - ObjectNode: import("mathjs").ObjectNodeCtor; - OperatorNode: import("mathjs").OperatorNodeCtor; - ParenthesisNode: import("mathjs").ParenthesisNodeCtor; - RangeNode: import("mathjs").RangeNodeCtor; - RelationalNode: import("mathjs").RelationalNodeCtor; - SymbolNode: import("mathjs").SymbolNodeCtor; - all: import("mathjs").FactoryFunctionMap; - typedDependencies: import("mathjs").FactoryFunctionMap; - ResultSetDependencies: import("mathjs").FactoryFunctionMap; - BigNumberDependencies: import("mathjs").FactoryFunctionMap; - ComplexDependencies: import("mathjs").FactoryFunctionMap; - FractionDependencies: import("mathjs").FactoryFunctionMap; - RangeDependencies: import("mathjs").FactoryFunctionMap; - MatrixDependencies: import("mathjs").FactoryFunctionMap; - DenseMatrixDependencies: import("mathjs").FactoryFunctionMap; - cloneDependencies: import("mathjs").FactoryFunctionMap; - isIntegerDependencies: import("mathjs").FactoryFunctionMap; - isNegativeDependencies: import("mathjs").FactoryFunctionMap; - isNumericDependencies: import("mathjs").FactoryFunctionMap; - hasNumericValueDependencies: import("mathjs").FactoryFunctionMap; - isPositiveDependencies: import("mathjs").FactoryFunctionMap; - isZeroDependencies: import("mathjs").FactoryFunctionMap; - isNaNDependencies: import("mathjs").FactoryFunctionMap; - typeOfDependencies: import("mathjs").FactoryFunctionMap; - typeofDependencies: import("mathjs").FactoryFunctionMap; - equalScalarDependencies: import("mathjs").FactoryFunctionMap; - SparseMatrixDependencies: import("mathjs").FactoryFunctionMap; - numberDependencies: import("mathjs").FactoryFunctionMap; - stringDependencies: import("mathjs").FactoryFunctionMap; - booleanDependencies: import("mathjs").FactoryFunctionMap; - bignumberDependencies: import("mathjs").FactoryFunctionMap; - complexDependencies: import("mathjs").FactoryFunctionMap; - fractionDependencies: import("mathjs").FactoryFunctionMap; - matrixDependencies: import("mathjs").FactoryFunctionMap; - splitUnitDependencies: import("mathjs").FactoryFunctionMap; - unaryMinusDependencies: import("mathjs").FactoryFunctionMap; - unaryPlusDependencies: import("mathjs").FactoryFunctionMap; - absDependencies: import("mathjs").FactoryFunctionMap; - applyDependencies: import("mathjs").FactoryFunctionMap; - addScalarDependencies: import("mathjs").FactoryFunctionMap; - cbrtDependencies: import("mathjs").FactoryFunctionMap; - ceilDependencies: import("mathjs").FactoryFunctionMap; - cubeDependencies: import("mathjs").FactoryFunctionMap; - expDependencies: import("mathjs").FactoryFunctionMap; - expm1Dependencies: import("mathjs").FactoryFunctionMap; - fixDependencies: import("mathjs").FactoryFunctionMap; - floorDependencies: import("mathjs").FactoryFunctionMap; - gcdDependencies: import("mathjs").FactoryFunctionMap; - lcmDependencies: import("mathjs").FactoryFunctionMap; - log10Dependencies: import("mathjs").FactoryFunctionMap; - log2Dependencies: import("mathjs").FactoryFunctionMap; - modDependencies: import("mathjs").FactoryFunctionMap; - multiplyScalarDependencies: import("mathjs").FactoryFunctionMap; - multiplyDependencies: import("mathjs").FactoryFunctionMap; - nthRootDependencies: import("mathjs").FactoryFunctionMap; - signDependencies: import("mathjs").FactoryFunctionMap; - sqrtDependencies: import("mathjs").FactoryFunctionMap; - squareDependencies: import("mathjs").FactoryFunctionMap; - subtractDependencies: import("mathjs").FactoryFunctionMap; - xgcdDependencies: import("mathjs").FactoryFunctionMap; - dotMultiplyDependencies: import("mathjs").FactoryFunctionMap; - bitAndDependencies: import("mathjs").FactoryFunctionMap; - bitNotDependencies: import("mathjs").FactoryFunctionMap; - bitOrDependencies: import("mathjs").FactoryFunctionMap; - bitXorDependencies: import("mathjs").FactoryFunctionMap; - argDependencies: import("mathjs").FactoryFunctionMap; - conjDependencies: import("mathjs").FactoryFunctionMap; - imDependencies: import("mathjs").FactoryFunctionMap; - reDependencies: import("mathjs").FactoryFunctionMap; - notDependencies: import("mathjs").FactoryFunctionMap; - orDependencies: import("mathjs").FactoryFunctionMap; - xorDependencies: import("mathjs").FactoryFunctionMap; - concatDependencies: import("mathjs").FactoryFunctionMap; - columnDependencies: import("mathjs").FactoryFunctionMap; - crossDependencies: import("mathjs").FactoryFunctionMap; - diagDependencies: import("mathjs").FactoryFunctionMap; - eyeDependencies: import("mathjs").FactoryFunctionMap; - filterDependencies: import("mathjs").FactoryFunctionMap; - flattenDependencies: import("mathjs").FactoryFunctionMap; - forEachDependencies: import("mathjs").FactoryFunctionMap; - getMatrixDataTypeDependencies: import("mathjs").FactoryFunctionMap; - identityDependencies: import("mathjs").FactoryFunctionMap; - kronDependencies: import("mathjs").FactoryFunctionMap; - mapDependencies: import("mathjs").FactoryFunctionMap; - onesDependencies: import("mathjs").FactoryFunctionMap; - rangeDependencies: import("mathjs").FactoryFunctionMap; - reshapeDependencies: import("mathjs").FactoryFunctionMap; - resizeDependencies: import("mathjs").FactoryFunctionMap; - rowDependencies: import("mathjs").FactoryFunctionMap; - sizeDependencies: import("mathjs").FactoryFunctionMap; - squeezeDependencies: import("mathjs").FactoryFunctionMap; - subsetDependencies: import("mathjs").FactoryFunctionMap; - transposeDependencies: import("mathjs").FactoryFunctionMap; - ctransposeDependencies: import("mathjs").FactoryFunctionMap; - zerosDependencies: import("mathjs").FactoryFunctionMap; - erfDependencies: import("mathjs").FactoryFunctionMap; - modeDependencies: import("mathjs").FactoryFunctionMap; - prodDependencies: import("mathjs").FactoryFunctionMap; - formatDependencies: import("mathjs").FactoryFunctionMap; - printDependencies: import("mathjs").FactoryFunctionMap; - toDependencies: import("mathjs").FactoryFunctionMap; - isPrimeDependencies: import("mathjs").FactoryFunctionMap; - numericDependencies: import("mathjs").FactoryFunctionMap; - divideScalarDependencies: import("mathjs").FactoryFunctionMap; - powDependencies: import("mathjs").FactoryFunctionMap; - roundDependencies: import("mathjs").FactoryFunctionMap; - logDependencies: import("mathjs").FactoryFunctionMap; - log1pDependencies: import("mathjs").FactoryFunctionMap; - nthRootsDependencies: import("mathjs").FactoryFunctionMap; - dotPowDependencies: import("mathjs").FactoryFunctionMap; - dotDivideDependencies: import("mathjs").FactoryFunctionMap; - lsolveDependencies: import("mathjs").FactoryFunctionMap; - usolveDependencies: import("mathjs").FactoryFunctionMap; - leftShiftDependencies: import("mathjs").FactoryFunctionMap; - rightArithShiftDependencies: import("mathjs").FactoryFunctionMap; - rightLogShiftDependencies: import("mathjs").FactoryFunctionMap; - andDependencies: import("mathjs").FactoryFunctionMap; - compareDependencies: import("mathjs").FactoryFunctionMap; - compareNaturalDependencies: import("mathjs").FactoryFunctionMap; - compareTextDependencies: import("mathjs").FactoryFunctionMap; - equalDependencies: import("mathjs").FactoryFunctionMap; - equalTextDependencies: import("mathjs").FactoryFunctionMap; - smallerDependencies: import("mathjs").FactoryFunctionMap; - smallerEqDependencies: import("mathjs").FactoryFunctionMap; - largerDependencies: import("mathjs").FactoryFunctionMap; - largerEqDependencies: import("mathjs").FactoryFunctionMap; - deepEqualDependencies: import("mathjs").FactoryFunctionMap; - unequalDependencies: import("mathjs").FactoryFunctionMap; - partitionSelectDependencies: import("mathjs").FactoryFunctionMap; - sortDependencies: import("mathjs").FactoryFunctionMap; - maxDependencies: import("mathjs").FactoryFunctionMap; - minDependencies: import("mathjs").FactoryFunctionMap; - ImmutableDenseMatrixDependencies: import("mathjs").FactoryFunctionMap; - IndexDependencies: import("mathjs").FactoryFunctionMap; - FibonacciHeapDependencies: import("mathjs").FactoryFunctionMap; - SpaDependencies: import("mathjs").FactoryFunctionMap; - UnitDependencies: import("mathjs").FactoryFunctionMap; - unitDependencies: import("mathjs").FactoryFunctionMap; - sparseDependencies: import("mathjs").FactoryFunctionMap; - createUnitDependencies: import("mathjs").FactoryFunctionMap; - acosDependencies: import("mathjs").FactoryFunctionMap; - acoshDependencies: import("mathjs").FactoryFunctionMap; - acotDependencies: import("mathjs").FactoryFunctionMap; - acothDependencies: import("mathjs").FactoryFunctionMap; - acscDependencies: import("mathjs").FactoryFunctionMap; - acschDependencies: import("mathjs").FactoryFunctionMap; - asecDependencies: import("mathjs").FactoryFunctionMap; - asechDependencies: import("mathjs").FactoryFunctionMap; - asinDependencies: import("mathjs").FactoryFunctionMap; - asinhDependencies: import("mathjs").FactoryFunctionMap; - atanDependencies: import("mathjs").FactoryFunctionMap; - atan2Dependencies: import("mathjs").FactoryFunctionMap; - atanhDependencies: import("mathjs").FactoryFunctionMap; - cosDependencies: import("mathjs").FactoryFunctionMap; - coshDependencies: import("mathjs").FactoryFunctionMap; - cotDependencies: import("mathjs").FactoryFunctionMap; - cothDependencies: import("mathjs").FactoryFunctionMap; - cscDependencies: import("mathjs").FactoryFunctionMap; - cschDependencies: import("mathjs").FactoryFunctionMap; - secDependencies: import("mathjs").FactoryFunctionMap; - sechDependencies: import("mathjs").FactoryFunctionMap; - sinDependencies: import("mathjs").FactoryFunctionMap; - sinhDependencies: import("mathjs").FactoryFunctionMap; - tanDependencies: import("mathjs").FactoryFunctionMap; - tanhDependencies: import("mathjs").FactoryFunctionMap; - setCartesianDependencies: import("mathjs").FactoryFunctionMap; - setDifferenceDependencies: import("mathjs").FactoryFunctionMap; - setDistinctDependencies: import("mathjs").FactoryFunctionMap; - setIntersectDependencies: import("mathjs").FactoryFunctionMap; - setIsSubsetDependencies: import("mathjs").FactoryFunctionMap; - setMultiplicityDependencies: import("mathjs").FactoryFunctionMap; - setPowersetDependencies: import("mathjs").FactoryFunctionMap; - setSizeDependencies: import("mathjs").FactoryFunctionMap; - setSymDifferenceDependencies: import("mathjs").FactoryFunctionMap; - setUnionDependencies: import("mathjs").FactoryFunctionMap; - zpk2tfDependencies: import("mathjs").FactoryFunctionMap; - freqzDependencies: import("mathjs").FactoryFunctionMap; - addDependencies: import("mathjs").FactoryFunctionMap; - hypotDependencies: import("mathjs").FactoryFunctionMap; - normDependencies: import("mathjs").FactoryFunctionMap; - dotDependencies: import("mathjs").FactoryFunctionMap; - traceDependencies: import("mathjs").FactoryFunctionMap; - indexDependencies: import("mathjs").FactoryFunctionMap; - NodeDependencies: import("mathjs").FactoryFunctionMap; - AccessorNodeDependencies: import("mathjs").FactoryFunctionMap; - ArrayNodeDependencies: import("mathjs").FactoryFunctionMap; - AssignmentNodeDependencies: import("mathjs").FactoryFunctionMap; - BlockNodeDependencies: import("mathjs").FactoryFunctionMap; - ConditionalNodeDependencies: import("mathjs").FactoryFunctionMap; - ConstantNodeDependencies: import("mathjs").FactoryFunctionMap; - FunctionAssignmentNodeDependencies: import("mathjs").FactoryFunctionMap; - IndexNodeDependencies: import("mathjs").FactoryFunctionMap; - ObjectNodeDependencies: import("mathjs").FactoryFunctionMap; - OperatorNodeDependencies: import("mathjs").FactoryFunctionMap; - ParenthesisNodeDependencies: import("mathjs").FactoryFunctionMap; - RangeNodeDependencies: import("mathjs").FactoryFunctionMap; - RelationalNodeDependencies: import("mathjs").FactoryFunctionMap; - SymbolNodeDependencies: import("mathjs").FactoryFunctionMap; - FunctionNodeDependencies: import("mathjs").FactoryFunctionMap; - parseDependencies: import("mathjs").FactoryFunctionMap; - compileDependencies: import("mathjs").FactoryFunctionMap; - evaluateDependencies: import("mathjs").FactoryFunctionMap; - evalDependencies: import("mathjs").FactoryFunctionMap; - ParserDependencies: import("mathjs").FactoryFunctionMap; - parserDependencies: import("mathjs").FactoryFunctionMap; - lupDependencies: import("mathjs").FactoryFunctionMap; - qrDependencies: import("mathjs").FactoryFunctionMap; - sluDependencies: import("mathjs").FactoryFunctionMap; - lusolveDependencies: import("mathjs").FactoryFunctionMap; - HelpDependencies: import("mathjs").FactoryFunctionMap; - ChainDependencies: import("mathjs").FactoryFunctionMap; - helpDependencies: import("mathjs").FactoryFunctionMap; - chainDependencies: import("mathjs").FactoryFunctionMap; - detDependencies: import("mathjs").FactoryFunctionMap; - invDependencies: import("mathjs").FactoryFunctionMap; - expmDependencies: import("mathjs").FactoryFunctionMap; - sqrtmDependencies: import("mathjs").FactoryFunctionMap; - sylvesterDependencies: import("mathjs").FactoryFunctionMap; - schurDependencies: import("mathjs").FactoryFunctionMap; - lyapDependencies: import("mathjs").FactoryFunctionMap; - divideDependencies: import("mathjs").FactoryFunctionMap; - distanceDependencies: import("mathjs").FactoryFunctionMap; - intersectDependencies: import("mathjs").FactoryFunctionMap; - sumDependencies: import("mathjs").FactoryFunctionMap; - meanDependencies: import("mathjs").FactoryFunctionMap; - medianDependencies: import("mathjs").FactoryFunctionMap; - madDependencies: import("mathjs").FactoryFunctionMap; - varianceDependencies: import("mathjs").FactoryFunctionMap; - varDependencies: import("mathjs").FactoryFunctionMap; - quantileSeqDependencies: import("mathjs").FactoryFunctionMap; - stdDependencies: import("mathjs").FactoryFunctionMap; - combinationsDependencies: import("mathjs").FactoryFunctionMap; - gammaDependencies: import("mathjs").FactoryFunctionMap; - factorialDependencies: import("mathjs").FactoryFunctionMap; - kldivergenceDependencies: import("mathjs").FactoryFunctionMap; - multinomialDependencies: import("mathjs").FactoryFunctionMap; - permutationsDependencies: import("mathjs").FactoryFunctionMap; - pickRandomDependencies: import("mathjs").FactoryFunctionMap; - randomDependencies: import("mathjs").FactoryFunctionMap; - randomIntDependencies: import("mathjs").FactoryFunctionMap; - stirlingS2Dependencies: import("mathjs").FactoryFunctionMap; - bellNumbersDependencies: import("mathjs").FactoryFunctionMap; - catalanDependencies: import("mathjs").FactoryFunctionMap; - compositionDependencies: import("mathjs").FactoryFunctionMap; - simplifyDependencies: import("mathjs").FactoryFunctionMap; - derivativeDependencies: import("mathjs").FactoryFunctionMap; - rationalizeDependencies: import("mathjs").FactoryFunctionMap; - reviverDependencies: import("mathjs").FactoryFunctionMap; - eDependencies: import("mathjs").FactoryFunctionMap; - EDependencies: import("mathjs").FactoryFunctionMap; - falseDependencies: import("mathjs").FactoryFunctionMap; - iDependencies: import("mathjs").FactoryFunctionMap; - InfinityDependencies: import("mathjs").FactoryFunctionMap; - LN10Dependencies: import("mathjs").FactoryFunctionMap; - LN2Dependencies: import("mathjs").FactoryFunctionMap; - LOG10EDependencies: import("mathjs").FactoryFunctionMap; - LOG2EDependencies: import("mathjs").FactoryFunctionMap; - NaNDependencies: import("mathjs").FactoryFunctionMap; - nullDependencies: import("mathjs").FactoryFunctionMap; - phiDependencies: import("mathjs").FactoryFunctionMap; - piDependencies: import("mathjs").FactoryFunctionMap; - PIDependencies: import("mathjs").FactoryFunctionMap; - SQRT1_2Dependencies: import("mathjs").FactoryFunctionMap; - SQRT2Dependencies: import("mathjs").FactoryFunctionMap; - tauDependencies: import("mathjs").FactoryFunctionMap; - trueDependencies: import("mathjs").FactoryFunctionMap; - versionDependencies: import("mathjs").FactoryFunctionMap; - atomicMassDependencies: import("mathjs").FactoryFunctionMap; - avogadroDependencies: import("mathjs").FactoryFunctionMap; - bohrMagnetonDependencies: import("mathjs").FactoryFunctionMap; - bohrRadiusDependencies: import("mathjs").FactoryFunctionMap; - boltzmannDependencies: import("mathjs").FactoryFunctionMap; - classicalElectronRadiusDependencies: import("mathjs").FactoryFunctionMap; - conductanceQuantumDependencies: import("mathjs").FactoryFunctionMap; - coulombDependencies: import("mathjs").FactoryFunctionMap; - deuteronMassDependencies: import("mathjs").FactoryFunctionMap; - efimovFactorDependencies: import("mathjs").FactoryFunctionMap; - electricConstantDependencies: import("mathjs").FactoryFunctionMap; - electronMassDependencies: import("mathjs").FactoryFunctionMap; - elementaryChargeDependencies: import("mathjs").FactoryFunctionMap; - faradayDependencies: import("mathjs").FactoryFunctionMap; - fermiCouplingDependencies: import("mathjs").FactoryFunctionMap; - fineStructureDependencies: import("mathjs").FactoryFunctionMap; - firstRadiationDependencies: import("mathjs").FactoryFunctionMap; - gasConstantDependencies: import("mathjs").FactoryFunctionMap; - gravitationConstantDependencies: import("mathjs").FactoryFunctionMap; - gravityDependencies: import("mathjs").FactoryFunctionMap; - hartreeEnergyDependencies: import("mathjs").FactoryFunctionMap; - inverseConductanceQuantumDependencies: import("mathjs").FactoryFunctionMap; - klitzingDependencies: import("mathjs").FactoryFunctionMap; - loschmidtDependencies: import("mathjs").FactoryFunctionMap; - magneticConstantDependencies: import("mathjs").FactoryFunctionMap; - magneticFluxQuantumDependencies: import("mathjs").FactoryFunctionMap; - molarMassDependencies: import("mathjs").FactoryFunctionMap; - molarMassC12Dependencies: import("mathjs").FactoryFunctionMap; - molarPlanckConstantDependencies: import("mathjs").FactoryFunctionMap; - molarVolumeDependencies: import("mathjs").FactoryFunctionMap; - neutronMassDependencies: import("mathjs").FactoryFunctionMap; - nuclearMagnetonDependencies: import("mathjs").FactoryFunctionMap; - planckChargeDependencies: import("mathjs").FactoryFunctionMap; - planckConstantDependencies: import("mathjs").FactoryFunctionMap; - planckLengthDependencies: import("mathjs").FactoryFunctionMap; - planckMassDependencies: import("mathjs").FactoryFunctionMap; - planckTemperatureDependencies: import("mathjs").FactoryFunctionMap; - planckTimeDependencies: import("mathjs").FactoryFunctionMap; - protonMassDependencies: import("mathjs").FactoryFunctionMap; - quantumOfCirculationDependencies: import("mathjs").FactoryFunctionMap; - reducedPlanckConstantDependencies: import("mathjs").FactoryFunctionMap; - rydbergDependencies: import("mathjs").FactoryFunctionMap; - sackurTetrodeDependencies: import("mathjs").FactoryFunctionMap; - secondRadiationDependencies: import("mathjs").FactoryFunctionMap; - speedOfLightDependencies: import("mathjs").FactoryFunctionMap; - stefanBoltzmannDependencies: import("mathjs").FactoryFunctionMap; - thomsonCrossSectionDependencies: import("mathjs").FactoryFunctionMap; - vacuumImpedanceDependencies: import("mathjs").FactoryFunctionMap; - weakMixingAngleDependencies: import("mathjs").FactoryFunctionMap; - wienDisplacementDependencies: import("mathjs").FactoryFunctionMap; - applyTransformDependencies: import("mathjs").FactoryFunctionMap; - columnTransformDependencies: import("mathjs").FactoryFunctionMap; - filterTransformDependencies: import("mathjs").FactoryFunctionMap; - forEachTransformDependencies: import("mathjs").FactoryFunctionMap; - indexTransformDependencies: import("mathjs").FactoryFunctionMap; - mapTransformDependencies: import("mathjs").FactoryFunctionMap; - maxTransformDependencies: import("mathjs").FactoryFunctionMap; - meanTransformDependencies: import("mathjs").FactoryFunctionMap; - minTransformDependencies: import("mathjs").FactoryFunctionMap; - rangeTransformDependencies: import("mathjs").FactoryFunctionMap; - rowTransformDependencies: import("mathjs").FactoryFunctionMap; - subsetTransformDependencies: import("mathjs").FactoryFunctionMap; - concatTransformDependencies: import("mathjs").FactoryFunctionMap; - stdTransformDependencies: import("mathjs").FactoryFunctionMap; - sumTransformDependencies: import("mathjs").FactoryFunctionMap; - varianceTransformDependencies: import("mathjs").FactoryFunctionMap; - Matrix: import("mathjs").MatrixCtor; - create: (factories: import("mathjs").FactoryFunctionMap, config?: import("mathjs").ConfigOptions | undefined) => import("mathjs").MathJsInstance; - factory: (name: string, dependencies: TDeps, create: (injected: Pick | Extract<"number", TDeps[number]> | Extract<"boolean", TDeps[number]> | Extract<"concat", TDeps[number]> | Extract<"sort", TDeps[number]> | Extract<"forEach", TDeps[number]> | Extract<"map", TDeps[number]> | Extract<"filter", TDeps[number]> | Extract<"AccessorNode", TDeps[number]> | Extract<"ArrayNode", TDeps[number]> | Extract<"AssignmentNode", TDeps[number]> | Extract<"BlockNode", TDeps[number]> | Extract<"ConditionalNode", TDeps[number]> | Extract<"ConstantNode", TDeps[number]> | Extract<"FunctionAssignmentNode", TDeps[number]> | Extract<"FunctionNode", TDeps[number]> | Extract<"IndexNode", TDeps[number]> | Extract<"ObjectNode", TDeps[number]> | Extract<"OperatorNode", TDeps[number]> | Extract<"ParenthesisNode", TDeps[number]> | Extract<"RangeNode", TDeps[number]> | Extract<"RelationalNode", TDeps[number]> | Extract<"SymbolNode", TDeps[number]> | Extract<"Matrix", TDeps[number]> | Extract<"create", TDeps[number]> | Extract<"factory", TDeps[number]> | Extract<"typed", TDeps[number]> | Extract<"e", TDeps[number]> | Extract<"pi", TDeps[number]> | Extract<"i", TDeps[number]> | Extract<"LN2", TDeps[number]> | Extract<"LN10", TDeps[number]> | Extract<"LOG2E", TDeps[number]> | Extract<"LOG10E", TDeps[number]> | Extract<"phi", TDeps[number]> | Extract<"SQRT1_2", TDeps[number]> | Extract<"SQRT2", TDeps[number]> | Extract<"tau", TDeps[number]> | Extract<"Node", TDeps[number]> | Extract<"uninitialized", TDeps[number]> | Extract<"version", TDeps[number]> | Extract<"expression", TDeps[number]> | Extract<"reviver", TDeps[number]> | Extract<"replacer", TDeps[number]> | Extract<"bignumber", TDeps[number]> | Extract<"chain", TDeps[number]> | Extract<"complex", TDeps[number]> | Extract<"createUnit", TDeps[number]> | Extract<"fraction", TDeps[number]> | Extract<"index", TDeps[number]> | Extract<"matrix", TDeps[number]> | Extract<"sparse", TDeps[number]> | Extract<"splitUnit", TDeps[number]> | Extract<"unit", TDeps[number]> | Extract<"compile", TDeps[number]> | Extract<"evaluate", TDeps[number]> | Extract<"help", TDeps[number]> | Extract<"parse", TDeps[number]> | Extract<"parser", TDeps[number]> | Extract<"derivative", TDeps[number]> | Extract<"lsolve", TDeps[number]> | Extract<"lup", TDeps[number]> | Extract<"lusolve", TDeps[number]> | Extract<"polynomialRoot", TDeps[number]> | Extract<"qr", TDeps[number]> | Extract<"rationalize", TDeps[number]> | Extract<"simplify", TDeps[number]> | Extract<"simplifyConstant", TDeps[number]> | Extract<"simplifyCore", TDeps[number]> | Extract<"resolve", TDeps[number]> | Extract<"slu", TDeps[number]> | Extract<"usolve", TDeps[number]> | Extract<"abs", TDeps[number]> | Extract<"add", TDeps[number]> | Extract<"cbrt", TDeps[number]> | Extract<"ceil", TDeps[number]> | Extract<"fix", TDeps[number]> | Extract<"floor", TDeps[number]> | Extract<"round", TDeps[number]> | Extract<"cube", TDeps[number]> | Extract<"divide", TDeps[number]> | Extract<"dotDivide", TDeps[number]> | Extract<"dotMultiply", TDeps[number]> | Extract<"dotPow", TDeps[number]> | Extract<"exp", TDeps[number]> | Extract<"expm1", TDeps[number]> | Extract<"gcd", TDeps[number]> | Extract<"hypot", TDeps[number]> | Extract<"lcm", TDeps[number]> | Extract<"log", TDeps[number]> | Extract<"log10", TDeps[number]> | Extract<"log1p", TDeps[number]> | Extract<"log2", TDeps[number]> | Extract<"mod", TDeps[number]> | Extract<"multiply", TDeps[number]> | Extract<"norm", TDeps[number]> | Extract<"nthRoot", TDeps[number]> | Extract<"pow", TDeps[number]> | Extract<"sign", TDeps[number]> | Extract<"sqrt", TDeps[number]> | Extract<"square", TDeps[number]> | Extract<"subtract", TDeps[number]> | Extract<"unaryMinus", TDeps[number]> | Extract<"unaryPlus", TDeps[number]> | Extract<"xgcd", TDeps[number]> | Extract<"bitAnd", TDeps[number]> | Extract<"bitNot", TDeps[number]> | Extract<"bitOr", TDeps[number]> | Extract<"bitXor", TDeps[number]> | Extract<"leftShift", TDeps[number]> | Extract<"rightArithShift", TDeps[number]> | Extract<"rightLogShift", TDeps[number]> | Extract<"bellNumbers", TDeps[number]> | Extract<"catalan", TDeps[number]> | Extract<"composition", TDeps[number]> | Extract<"stirlingS2", TDeps[number]> | Extract<"arg", TDeps[number]> | Extract<"conj", TDeps[number]> | Extract<"im", TDeps[number]> | Extract<"re", TDeps[number]> | Extract<"distance", TDeps[number]> | Extract<"intersect", TDeps[number]> | Extract<"and", TDeps[number]> | Extract<"not", TDeps[number]> | Extract<"or", TDeps[number]> | Extract<"xor", TDeps[number]> | Extract<"apply", TDeps[number]> | Extract<"cross", TDeps[number]> | Extract<"det", TDeps[number]> | Extract<"diag", TDeps[number]> | Extract<"dot", TDeps[number]> | Extract<"eigs", TDeps[number]> | Extract<"expm", TDeps[number]> | Extract<"sylvester", TDeps[number]> | Extract<"schur", TDeps[number]> | Extract<"lyap", TDeps[number]> | Extract<"identity", TDeps[number]> | Extract<"flatten", TDeps[number]> | Extract<"inv", TDeps[number]> | Extract<"kron", TDeps[number]> | Extract<"ones", TDeps[number]> | Extract<"partitionSelect", TDeps[number]> | Extract<"pinv", TDeps[number]> | Extract<"range", TDeps[number]> | Extract<"reshape", TDeps[number]> | Extract<"resize", TDeps[number]> | Extract<"rotationMatrix", TDeps[number]> | Extract<"row", TDeps[number]> | Extract<"column", TDeps[number]> | Extract<"rotate", TDeps[number]> | Extract<"size", TDeps[number]> | Extract<"sqrtm", TDeps[number]> | Extract<"squeeze", TDeps[number]> | Extract<"subset", TDeps[number]> | Extract<"trace", TDeps[number]> | Extract<"transpose", TDeps[number]> | Extract<"zeros", TDeps[number]> | Extract<"fft", TDeps[number]> | Extract<"ifft", TDeps[number]> | Extract<"combinations", TDeps[number]> | Extract<"factorial", TDeps[number]> | Extract<"gamma", TDeps[number]> | Extract<"kldivergence", TDeps[number]> | Extract<"lgamma", TDeps[number]> | Extract<"multinomial", TDeps[number]> | Extract<"permutations", TDeps[number]> | Extract<"pickRandom", TDeps[number]> | Extract<"random", TDeps[number]> | Extract<"randomInt", TDeps[number]> | Extract<"compare", TDeps[number]> | Extract<"compareNatural", TDeps[number]> | Extract<"compareText", TDeps[number]> | Extract<"deepEqual", TDeps[number]> | Extract<"equal", TDeps[number]> | Extract<"equalText", TDeps[number]> | Extract<"larger", TDeps[number]> | Extract<"largerEq", TDeps[number]> | Extract<"smaller", TDeps[number]> | Extract<"smallerEq", TDeps[number]> | Extract<"unequal", TDeps[number]> | Extract<"setCartesian", TDeps[number]> | Extract<"setDifference", TDeps[number]> | Extract<"setDistinct", TDeps[number]> | Extract<"setIntersect", TDeps[number]> | Extract<"setIsSubset", TDeps[number]> | Extract<"setMultiplicity", TDeps[number]> | Extract<"setPowerset", TDeps[number]> | Extract<"setSize", TDeps[number]> | Extract<"setSymDifference", TDeps[number]> | Extract<"setUnion", TDeps[number]> | Extract<"zpk2tf", TDeps[number]> | Extract<"freqz", TDeps[number]> | Extract<"erf", TDeps[number]> | Extract<"zeta", TDeps[number]> | Extract<"mad", TDeps[number]> | Extract<"max", TDeps[number]> | Extract<"mean", TDeps[number]> | Extract<"median", TDeps[number]> | Extract<"min", TDeps[number]> | Extract<"mode", TDeps[number]> | Extract<"prod", TDeps[number]> | Extract<"quantileSeq", TDeps[number]> | Extract<"std", TDeps[number]> | Extract<"sum", TDeps[number]> | Extract<"count", TDeps[number]> | Extract<"cumsum", TDeps[number]> | Extract<"variance", TDeps[number]> | Extract<"corr", TDeps[number]> | Extract<"format", TDeps[number]> | Extract<"print", TDeps[number]> | Extract<"acos", TDeps[number]> | Extract<"acosh", TDeps[number]> | Extract<"acot", TDeps[number]> | Extract<"acoth", TDeps[number]> | Extract<"acsc", TDeps[number]> | Extract<"acsch", TDeps[number]> | Extract<"asec", TDeps[number]> | Extract<"asech", TDeps[number]> | Extract<"asin", TDeps[number]> | Extract<"asinh", TDeps[number]> | Extract<"atan", TDeps[number]> | Extract<"atan2", TDeps[number]> | Extract<"atanh", TDeps[number]> | Extract<"cos", TDeps[number]> | Extract<"cosh", TDeps[number]> | Extract<"cot", TDeps[number]> | Extract<"coth", TDeps[number]> | Extract<"csc", TDeps[number]> | Extract<"csch", TDeps[number]> | Extract<"sec", TDeps[number]> | Extract<"sech", TDeps[number]> | Extract<"sin", TDeps[number]> | Extract<"sinh", TDeps[number]> | Extract<"tan", TDeps[number]> | Extract<"tanh", TDeps[number]> | Extract<"to", TDeps[number]> | Extract<"isNumber", TDeps[number]> | Extract<"isBigNumber", TDeps[number]> | Extract<"isComplex", TDeps[number]> | Extract<"isFraction", TDeps[number]> | Extract<"isUnit", TDeps[number]> | Extract<"isString", TDeps[number]> | Extract<"isArray", TDeps[number]> | Extract<"isMatrix", TDeps[number]> | Extract<"isCollection", TDeps[number]> | Extract<"isDenseMatrix", TDeps[number]> | Extract<"isSparseMatrix", TDeps[number]> | Extract<"isRange", TDeps[number]> | Extract<"isIndex", TDeps[number]> | Extract<"isBoolean", TDeps[number]> | Extract<"isResultSet", TDeps[number]> | Extract<"isHelp", TDeps[number]> | Extract<"isFunction", TDeps[number]> | Extract<"isDate", TDeps[number]> | Extract<"isRegExp", TDeps[number]> | Extract<"isObject", TDeps[number]> | Extract<"isNull", TDeps[number]> | Extract<"isUndefined", TDeps[number]> | Extract<"isAccessorNode", TDeps[number]> | Extract<"isArrayNode", TDeps[number]> | Extract<"isAssignmentNode", TDeps[number]> | Extract<"isBlockNode", TDeps[number]> | Extract<"isConditionalNode", TDeps[number]> | Extract<"isConstantNode", TDeps[number]> | Extract<"isFunctionAssignmentNode", TDeps[number]> | Extract<"isFunctionNode", TDeps[number]> | Extract<"isIndexNode", TDeps[number]> | Extract<"isNode", TDeps[number]> | Extract<"isObjectNode", TDeps[number]> | Extract<"isOperatorNode", TDeps[number]> | Extract<"isParenthesisNode", TDeps[number]> | Extract<"isRangeNode", TDeps[number]> | Extract<"isRelationalNode", TDeps[number]> | Extract<"isSymbolNode", TDeps[number]> | Extract<"isChain", TDeps[number]> | Extract<"clone", TDeps[number]> | Extract<"hasNumericValue", TDeps[number]> | Extract<"isInteger", TDeps[number]> | Extract<"isNaN", TDeps[number]> | Extract<"isNegative", TDeps[number]> | Extract<"isNumeric", TDeps[number]> | Extract<"isPositive", TDeps[number]> | Extract<"isPrime", TDeps[number]> | Extract<"isZero", TDeps[number]> | Extract<"typeOf", TDeps[number]> | Extract<"Infinity", TDeps[number]> | Extract<"NaN", TDeps[number]> | Extract<"config", TDeps[number]> | Extract<"symbolicEqual", TDeps[number]> | Extract<"import", TDeps[number]>>) => T, meta?: any) => import("mathjs").FactoryFunction; - typed: (name: string, signatures: Record any>) => (...args: any[]) => any; - e: number; - pi: number; - i: number; - LN2: number; - LN10: number; - LOG2E: number; - LOG10E: number; - phi: number; - SQRT1_2: number; - SQRT2: number; - tau: number; - Node: import("mathjs").NodeCtor; - uninitialized: any; - version: string; - expression: import("mathjs").MathNode; - reviver: () => (key: any, value: any) => any; - replacer: () => (key: any, value: any) => any; - bignumber: { - (x?: string | number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): import("mathjs").BigNumber; - (x: T_1): T_1; - }; - boolean: { - (x: string | number | boolean | null): boolean; - (x: import("mathjs").MathCollection): import("mathjs").MathCollection; - }; - chain: (value?: TValue | undefined) => import("mathjs").MathJsChain; - complex: { - (arg?: string | import("mathjs").MathNumericType | import("mathjs").PolarCoordinates | undefined): import("mathjs").Complex; - (arg?: import("mathjs").MathCollection | undefined): import("mathjs").MathCollection; - (re: number, im: number): import("mathjs").Complex; - }; - createUnit: { - (name: string, definition?: string | import("mathjs").Unit | import("mathjs").UnitDefinition | undefined, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit; - (units: Record, options?: import("mathjs").CreateUnitOptions | undefined): import("mathjs").Unit; - }; - fraction: { - (value: string | number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").FractionDefinition): import("mathjs").Fraction; - (values: import("mathjs").MathCollection): import("mathjs").MathCollection; - (numerator: number, denominator: number): import("mathjs").Fraction; - }; - index: (...ranges: any[]) => import("mathjs").Index; - matrix: { - (format?: "sparse" | "dense" | undefined): import("mathjs").Matrix; - (data: string[] | import("mathjs").MathCollection, format?: "sparse" | "dense" | undefined, dataType?: string | undefined): import("mathjs").Matrix; - }; - number: { - (value?: string | number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | null | undefined): number; - (value?: import("mathjs").MathCollection | undefined): number | import("mathjs").MathCollection; - (unit: import("mathjs").Unit, valuelessUnit: string | import("mathjs").Unit): number; - }; - sparse: (data?: import("mathjs").MathCollection | undefined, dataType?: string | undefined) => import("mathjs").Matrix; - splitUnit: (unit: import("mathjs").Unit, parts: import("mathjs").Unit[]) => import("mathjs").Unit[]; - string: { - (value: string | import("mathjs").MathNumericType | import("mathjs").Unit | null): string; - (value: import("mathjs").MathCollection): import("mathjs").MathCollection; - }; - unit: { - (unit: string): import("mathjs").Unit; - (unit: import("mathjs").Unit): import("mathjs").Unit; - (value: import("mathjs").MathNumericType, unit: string): import("mathjs").Unit; - (value: import("mathjs").MathCollection, unit: string): import("mathjs").Unit[]; - }; - compile: { - (expr: import("mathjs").MathExpression): import("mathjs").EvalFunction; - (exprs: import("mathjs").MathExpression[]): import("mathjs").EvalFunction[]; - }; - evaluate: { - (expr: import("mathjs").MathExpression, scope?: object | undefined): any; - (expr: import("mathjs").MathExpression[], scope?: object | undefined): any[]; - }; - help: (search: () => any) => import("mathjs").Help; - parse: import("mathjs").ParseFunction; - parser: () => import("mathjs").Parser; - derivative: (expr: string | import("mathjs").MathNode, variable: string | import("mathjs").MathNode, options?: { - simplify: boolean; - } | undefined) => import("mathjs").MathNode; - lsolve: { - (L: import("mathjs").Matrix, b: import("mathjs").MathCollection): import("mathjs").Matrix; - (L: import("mathjs").MathArray, b: import("mathjs").MathCollection): import("mathjs").MathArray; - }; - lup: (A?: import("mathjs").MathCollection | undefined) => import("mathjs").LUDecomposition; - lusolve: { - (A: import("mathjs").Matrix, b: import("mathjs").MathCollection, order?: number | undefined, threshold?: number | undefined): import("mathjs").Matrix; - (A: import("mathjs").MathArray, b: import("mathjs").MathCollection, order?: number | undefined, threshold?: number | undefined): import("mathjs").MathArray; - (A: import("mathjs").LUDecomposition, b: import("mathjs").MathCollection): import("mathjs").Matrix; - }; - polynomialRoot: (constantCoeff: number | import("mathjs").Complex, linearCoeff: number | import("mathjs").Complex, quadraticCoeff?: number | import("mathjs").Complex | undefined, cubicCoeff?: number | import("mathjs").Complex | undefined) => (number | import("mathjs").Complex)[]; - qr: (A: import("mathjs").MathCollection) => import("mathjs").QRDecomposition; - rationalize: { - (expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: false | undefined): import("mathjs").MathNode; - (expr: string | import("mathjs").MathNode, optional?: boolean | object | undefined, detailed?: true | undefined): { - expression: string | import("mathjs").MathNode; - variables: string[]; - coefficients: import("mathjs").MathType[]; - }; - }; - simplify: import("mathjs").Simplify; - simplifyConstant: (expr: string | import("mathjs").MathNode, options?: import("mathjs").SimplifyOptions | undefined) => import("mathjs").MathNode; - simplifyCore: (expr: string | import("mathjs").MathNode, options?: import("mathjs").SimplifyOptions | undefined) => import("mathjs").MathNode; - resolve: { - (node: string | import("mathjs").MathNode, scope?: Record | undefined): import("mathjs").MathNode; - (node: (string | import("mathjs").MathNode)[], scope?: Record | undefined): import("mathjs").MathNode[]; - (node: import("mathjs").Matrix, scope?: Record | undefined): import("mathjs").Matrix; - }; - slu: (A: import("mathjs").Matrix, order: number, threshold: number) => import("mathjs").SLUDecomposition; - usolve: { - (U: import("mathjs").Matrix, b: import("mathjs").MathCollection): import("mathjs").Matrix; - (U: import("mathjs").MathArray, b: import("mathjs").MathCollection): import("mathjs").MathArray; - }; - abs: (x: T_2) => T_2; - add: { - (x: T_3, y: T_3): T_3; - (...values: T_4[]): T_4; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - (...values: import("mathjs").MathType[]): import("mathjs").MathType; - }; - cbrt: { - (x: import("mathjs").Complex, allRoots?: boolean | undefined): import("mathjs").Complex; - (x: T_5): T_5; - }; - ceil: { - (x: T_6, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U): U; - }; - fix: { - (x: T_7, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_1): U_1; - }; - floor: { - (x: T_8, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_2): U_2; - }; - round: { - (x: T_9, n?: number | import("mathjs").BigNumber | undefined): import("mathjs").NoLiteralType; - (x: import("mathjs").MathNumericType, n: U_3): U_3; - (x: U_4, unit: import("mathjs").Unit): U_4; - (x: import("mathjs").Unit, unit: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").Unit, n: number | import("mathjs").BigNumber, unit: import("mathjs").Unit): import("mathjs").Unit; - (x: U_5, n: number | import("mathjs").BigNumber, unit: import("mathjs").Unit): U_5; - }; - cube: (x: T_10) => T_10; - divide: { - (x: import("mathjs").Unit, y: import("mathjs").Unit): number | import("mathjs").Unit; - (x: import("mathjs").Unit, y: number): import("mathjs").Unit; - (x: number, y: number): number; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - }; - dotDivide: { - (x: T_11, y: import("mathjs").MathType): T_11; - (x: import("mathjs").MathType, y: T_12): T_12; - (x: import("mathjs").Unit, y: import("mathjs").MathType): import("mathjs").Unit; - (x: import("mathjs").MathType, y: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").MathNumericType, y: import("mathjs").MathNumericType): import("mathjs").MathNumericType; - }; - dotMultiply: { - (x: T_13, y: import("mathjs").MathType): T_13; - (x: import("mathjs").MathType, y: T_14): T_14; - (x: import("mathjs").Unit, y: import("mathjs").MathType): import("mathjs").Unit; - (x: import("mathjs").MathType, y: import("mathjs").Unit): import("mathjs").Unit; - (x: import("mathjs").MathNumericType, y: import("mathjs").MathNumericType): import("mathjs").MathNumericType; - }; - dotPow: (x: T_15, y: import("mathjs").MathType) => T_15; - exp: (x: T_16) => T_16; - expm1: (x: T_17) => T_17; - gcd: { - (...args: T_18[]): T_18; - (args: T_19[]): T_19; - }; - hypot: { - (...args: T_20[]): T_20; - (args: T_21[]): T_21; - }; - lcm: (a: T_22, b: T_22) => T_22; - log: (x: T_23, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined) => import("mathjs").NoLiteralType; - log10: (x: T_24) => T_24; - log1p: (x: T_25, base?: number | import("mathjs").BigNumber | import("mathjs").Complex | undefined) => T_25; - log2: (x: T_26) => T_26; - multiply: { - (x: T_27, y: import("mathjs").MathType): import("mathjs").Matrix; - (x: import("mathjs").MathType, y: T_28): import("mathjs").Matrix; - (x: T_29, y: T_29[]): T_29; - (x: T_30[], y: T_30): T_30; - (x: T_31, y: T_31): T_31; - (x: import("mathjs").Unit, y: import("mathjs").Unit): import("mathjs").Unit; - (x: number, y: number): number; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - (...values: T_32[]): T_32; - (...values: import("mathjs").MathType[]): import("mathjs").MathType; - }; - norm: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").MathCollection, p?: string | number | import("mathjs").BigNumber | undefined) => number | import("mathjs").BigNumber; - nthRoot: (a: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").MathCollection, root?: number | import("mathjs").BigNumber | undefined) => number | import("mathjs").Complex | import("mathjs").MathCollection; - pow: (x: import("mathjs").MathType, y: number | import("mathjs").BigNumber | import("mathjs").Complex) => import("mathjs").MathType; - sign: (x: T_33) => T_33; - sqrt: { - (x: number): number | import("mathjs").Complex; - (x: T_34): T_34; - }; - square: (x: T_35) => T_35; - subtract: { - (x: T_36, y: T_36): T_36; - (x: import("mathjs").MathType, y: import("mathjs").MathType): import("mathjs").MathType; - }; - unaryMinus: (x: T_37) => T_37; - unaryPlus: (x: T_38) => T_38; - xgcd: (a: number | import("mathjs").BigNumber, b: number | import("mathjs").BigNumber) => import("mathjs").MathArray; - bitAnd: (x: T_39, y: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => import("mathjs").NoLiteralType; - bitNot: (x: T_40) => T_40; - bitOr: (x: T_41, y: T_41) => T_41; - bitXor: (x: T_42, y: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => import("mathjs").NoLiteralType; - leftShift: (x: T_43, y: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - rightArithShift: (x: T_44, y: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - rightLogShift: (x: T_45, y: number) => import("mathjs").NoLiteralType; - bellNumbers: (n: T_46) => T_46; - catalan: (n: T_47) => T_47; - composition: (n: T_48, k: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - stirlingS2: (n: T_49, k: number | import("mathjs").BigNumber) => import("mathjs").NoLiteralType; - arg: { - (x: number | import("mathjs").Complex): number; - (x: import("mathjs").BigNumber | import("mathjs").Complex): import("mathjs").BigNumber; - (x: T_50): T_50; - }; - conj: (x: T_51) => import("mathjs").NoLiteralType; - im: { - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - }; - re: { - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - (x: import("mathjs").MathJsChain): import("mathjs").MathJsChain; - }; - distance: (x: object | import("mathjs").MathCollection, y: object | import("mathjs").MathCollection, z?: object | import("mathjs").MathCollection | undefined) => number | import("mathjs").BigNumber; - intersect: (w: import("mathjs").MathCollection, x: import("mathjs").MathCollection, y: import("mathjs").MathCollection, z?: import("mathjs").MathCollection | undefined) => import("mathjs").MathArray; - and: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - not: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - or: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - xor: (x: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection, y: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => boolean | import("mathjs").MathCollection; - apply: (array: T_54, dim: number, callback: (array: import("mathjs").MathCollection) => number) => T_54; - concat: (...args: (number | import("mathjs").BigNumber | import("mathjs").MathCollection)[]) => import("mathjs").MathCollection; - cross: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").MathCollection; - det: (x: import("mathjs").MathCollection) => number; - diag: { - (X: import("mathjs").MathCollection, format?: string | undefined): import("mathjs").Matrix; - (X: import("mathjs").MathCollection, k: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - dot: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => number; - eigs: { - (x: import("mathjs").MathCollection, opts?: number | import("mathjs").BigNumber | { - precision?: number | import("mathjs").BigNumber | undefined; - eigenvectors?: true | undefined; - } | undefined): { - values: import("mathjs").MathCollection; - eigenvectors: { - value: number | import("mathjs").BigNumber; - vector: import("mathjs").MathCollection; - }[]; - }; - (x: import("mathjs").MathCollection, opts: { - eigenvectors: false; - precision?: number | import("mathjs").BigNumber | undefined; - }): { - values: import("mathjs").MathCollection; - }; - }; - expm: (x: import("mathjs").Matrix) => import("mathjs").Matrix; - sylvester: (A: import("mathjs").MathCollection, B: import("mathjs").MathCollection, C: import("mathjs").MathCollection) => import("mathjs").MathCollection; - schur: (A: import("mathjs").MathCollection) => import("mathjs").SchurDecomposition; - lyap: (A: import("mathjs").MathCollection, Q: import("mathjs").MathCollection) => import("mathjs").MathCollection; - identity: { - (size: number | number[] | import("mathjs").MathCollection, format?: string | undefined): number | import("mathjs").MathCollection; - (m: number, n: number, format?: string | undefined): number | import("mathjs").MathCollection; - }; - filter: (x: string[] | import("mathjs").MathCollection, test: RegExp | ((value: any, index: any, matrix: string[] | import("mathjs").MathCollection) => boolean)) => import("mathjs").MathCollection; - flatten: (x: T_55) => T_55; - forEach: (x: T_56, callback: (value: any, index: any, matrix: T_56) => void) => void; - inv: (x: T_57) => import("mathjs").NoLiteralType; - kron: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").Matrix; - map: (x: T_58, callback: (value: any, index: any, matrix: T_58) => string | import("mathjs").MathType) => T_58; - ones: { - (size?: number | number[] | import("mathjs").BigNumber | import("mathjs").BigNumber[] | undefined, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, p: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - partitionSelect: (x: import("mathjs").MathCollection, k: number, compare?: "asc" | "desc" | ((a: any, b: any) => number) | undefined) => any; - pinv: (x: T_59) => T_59; - range: { - (str: string, includeEnd?: boolean | undefined): import("mathjs").Matrix; - (start: number | import("mathjs").BigNumber, end: number | import("mathjs").BigNumber, includeEnd?: boolean | undefined): import("mathjs").Matrix; - (start: number | import("mathjs").BigNumber | import("mathjs").Unit, end: number | import("mathjs").BigNumber | import("mathjs").Unit, step: number | import("mathjs").BigNumber | import("mathjs").Unit, includeEnd?: boolean | undefined): import("mathjs").Matrix; - }; - reshape: (x: T_60, sizes: number[]) => T_60; - resize: (x: T_61, size: import("mathjs").MathCollection, defaultValue?: string | number | undefined) => T_61; - rotationMatrix: (theta?: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit | undefined, axis?: T_62 | undefined, format?: "sparse" | "dense" | undefined) => T_62; - row: (value: T_63, row: number) => T_63; - column: (value: T_64, column: number) => T_64; - rotate: (w: T_65, theta: number | import("mathjs").BigNumber | import("mathjs").Complex | import("mathjs").Unit, v?: T_65 | undefined) => T_65; - size: (x: string | number | boolean | import("mathjs").Complex | import("mathjs").Unit | import("mathjs").MathCollection) => import("mathjs").MathCollection; - sort: (x: T_66, compare: "asc" | "desc" | ((a: any, b: any) => number) | "natural") => T_66; - sqrtm: (A: T_67) => T_67; - squeeze: (x: T_68) => T_68; - subset: (value: T_69, index: import("mathjs").Index, replacement?: any, defaultValue?: any) => T_69; - trace: (x: import("mathjs").MathCollection) => number; - transpose: (x: T_70) => T_70; - zeros: { - (size?: number | number[] | import("mathjs").BigNumber | import("mathjs").BigNumber[] | undefined, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - (m: number | import("mathjs").BigNumber, n: number | import("mathjs").BigNumber, p: number | import("mathjs").BigNumber, format?: string | undefined): import("mathjs").MathCollection; - }; - fft: (arr: T_71) => T_71; - ifft: (arr: T_72) => T_72; - factorial: (n: T_73) => import("mathjs").NoLiteralType; - gamma: (n: T_74) => import("mathjs").NoLiteralType; - kldivergence: (q: import("mathjs").MathCollection, p: import("mathjs").MathCollection) => number; - lgamma: (n: T_75) => import("mathjs").NoLiteralType; - multinomial: (a: T_76[]) => import("mathjs").NoLiteralType; - permutations: (n: T_77, k?: number | import("mathjs").BigNumber | undefined) => import("mathjs").NoLiteralType; - pickRandom: { - (array: T_78[]): T_78; - (array: T_79[], number: number): T_79[]; - (array: T_80[], number: number, weights: number[]): T_80[]; - }; - random: { - (min?: number | undefined, max?: number | undefined): number; - (size: T_81, min?: number | undefined, max?: number | undefined): T_81; - }; - randomInt: { - (min: number, max?: number | undefined): number; - (size: T_82, min?: number | undefined, max?: number | undefined): T_82; - }; - compare: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").MathCollection; - compareNatural: (x: any, y: any) => number; - compareText: (x: string | import("mathjs").MathCollection, y: string | import("mathjs").MathCollection) => number | import("mathjs").MathCollection; - deepEqual: (x: import("mathjs").MathType, y: import("mathjs").MathType) => import("mathjs").MathType; - equal: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - equalText: (x: string | import("mathjs").MathCollection, y: string | import("mathjs").MathCollection) => number | import("mathjs").MathCollection; - larger: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - largerEq: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - smaller: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - smallerEq: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - unequal: (x: string | import("mathjs").MathType, y: string | import("mathjs").MathType) => boolean | import("mathjs").MathCollection; - setCartesian: (a1: T_83, a2: import("mathjs").MathCollection) => T_83; - setDifference: (a1: T_84, a2: import("mathjs").MathCollection) => T_84; - setDistinct: (a: T_85) => T_85; - setIntersect: (a1: T_86, a2: import("mathjs").MathCollection) => T_86; - setIsSubset: (a1: import("mathjs").MathCollection, a2: import("mathjs").MathCollection) => boolean; - setMultiplicity: (e: import("mathjs").MathNumericType, a: import("mathjs").MathCollection) => number; - setPowerset: (a: T_87) => T_87; - setSize: (a: import("mathjs").MathCollection) => number; - setSymDifference: (a1: T_88, a2: import("mathjs").MathCollection) => T_88; - setUnion: (a1: T_89, a2: import("mathjs").MathCollection) => T_89; - zpk2tf: (z: T_90, p: T_90, k?: number | undefined) => T_90; - freqz: (b: T_91, a: T_91, w?: number | T_91 | undefined) => { - w: T_91; - h: T_91; - }; - erf: (x: T_92) => import("mathjs").NoLiteralType; - zeta: (s: T_93) => T_93; - mad: (array: import("mathjs").MathCollection) => any; - max: { - (...args: T_94[]): T_94; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_95[] | T_95[][], dimension?: number | import("mathjs").BigNumber | undefined): T_95; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - mean: { - (...args: T_96[]): T_96; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_97[] | T_97[][], dimension?: number | import("mathjs").BigNumber | undefined): T_97; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - median: { - (...args: T_98[]): T_98; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_99[] | T_99[][]): T_99; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType; - }; - min: { - (...args: T_100[]): T_100; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_101[] | T_101[][], dimension?: number | import("mathjs").BigNumber | undefined): T_101; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - mode: { - (...args: T_102[]): T_102[]; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType[]; - (A: T_103[] | T_103[][]): T_103[]; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType[]; - }; - prod: { - (...args: T_104[]): T_104; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_105[] | T_105[][]): T_105; - (A: import("mathjs").MathCollection): import("mathjs").MathScalarType; - }; - quantileSeq: { - (A: T_106[] | T_106[][], prob: number | import("mathjs").BigNumber | import("mathjs").MathArray, sorted?: boolean | undefined): T_106; - (A: import("mathjs").MathCollection, prob: number | import("mathjs").BigNumber | import("mathjs").MathArray, sorted?: boolean | undefined): import("mathjs").MathScalarType | import("mathjs").MathArray; - }; - std: { - (...args: T_107[]): T_107; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (array: import("mathjs").MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): import("mathjs").MathNumericType[]; - (array: import("mathjs").MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): import("mathjs").MathNumericType; - }; - sum: { - (...args: T_108[]): T_108; - (...args: import("mathjs").MathScalarType[]): import("mathjs").MathScalarType; - (A: T_109[] | T_109[][], dimension?: number | import("mathjs").BigNumber | undefined): T_109; - (A: import("mathjs").MathCollection, dimension?: number | import("mathjs").BigNumber | undefined): import("mathjs").MathScalarType; - }; - count: (x: string | import("mathjs").MathCollection) => number; - cumsum: { - (...args: import("mathjs").MathType[]): import("mathjs").MathType[]; - (array: import("mathjs").MathCollection, dim?: number | undefined): import("mathjs").MathCollection; - }; - variance: { - (...args: import("mathjs").MathNumericType[]): import("mathjs").MathNumericType; - (array: import("mathjs").MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): import("mathjs").MathNumericType[]; - (array: import("mathjs").MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): import("mathjs").MathNumericType; - }; - corr: (x: import("mathjs").MathCollection, y: import("mathjs").MathCollection) => import("mathjs").MathType; - format: (value: any, options?: number | import("mathjs").BigNumber | import("mathjs").FormatOptions | ((item: any) => string) | undefined, callback?: ((value: any) => string) | undefined) => string; - print: (template: string, values: any, precision?: number | undefined, options?: number | object | undefined) => void; - acos: { - (x: number): number | import("mathjs").Complex; - (x: T_110): T_110; - }; - acosh: { - (x: number): number | import("mathjs").Complex; - (x: T_111): T_111; - }; - acot: { - (x: number): number; - (x: T_112): T_112; - }; - acoth: { - (x: number): number; - (x: T_113): T_113; - }; - acsc: { - (x: number): number | import("mathjs").Complex; - (x: T_114): T_114; - }; - acsch: { - (x: number): number; - (x: T_115): T_115; - }; - asec: { - (x: number): number | import("mathjs").Complex; - (x: T_116): T_116; - }; - asech: { - (x: number): number | import("mathjs").Complex; - (x: T_117): T_117; - }; - asin: { - (x: number): number | import("mathjs").Complex; - (x: T_118): T_118; - }; - asinh: (x: T_119) => T_119; - atan: (x: T_120) => T_120; - atan2: (y: T_121, x: T_121) => T_121; - atanh: { - (x: number): number | import("mathjs").Complex; - (x: T_122): T_122; - }; - cos: { - (x: number | import("mathjs").Unit): number; - (x: T_123): T_123; - }; - cosh: { - (x: number | import("mathjs").Unit): number; - (x: T_124): T_124; - }; - cot: { - (x: number | import("mathjs").Unit): number; - (x: T_125): T_125; - }; - coth: { - (x: number | import("mathjs").Unit): number; - (x: T_126): T_126; - }; - csc: { - (x: number | import("mathjs").Unit): number; - (x: T_127): T_127; - }; - csch: { - (x: number | import("mathjs").Unit): number; - (x: T_128): T_128; - }; - sec: { - (x: number | import("mathjs").Unit): number; - (x: T_129): T_129; - }; - sech: { - (x: number | import("mathjs").Unit): number; - (x: T_130): T_130; - }; - sin: { - (x: number | import("mathjs").Unit): number; - (x: T_131): T_131; - }; - sinh: { - (x: number | import("mathjs").Unit): number; - (x: T_132): T_132; - }; - tan: { - (x: number | import("mathjs").Unit): number; - (x: T_133): T_133; - }; - tanh: { - (x: number | import("mathjs").Unit): number; - (x: T_134): T_134; - }; - to: (x: import("mathjs").Unit | import("mathjs").MathCollection, unit: string | import("mathjs").Unit) => import("mathjs").Unit | import("mathjs").MathCollection; - isNumber: (x: unknown) => x is number; - isBigNumber: (x: unknown) => x is import("mathjs").BigNumber; - isComplex: (x: unknown) => x is import("mathjs").Complex; - isFraction: (x: unknown) => x is import("mathjs").Fraction; - isUnit: (x: unknown) => x is import("mathjs").Unit; - isString: (x: unknown) => x is string; - isArray: (arg: any) => arg is any[]; - isMatrix: (x: unknown) => x is import("mathjs").Matrix; - isCollection: (x: unknown) => x is any[] | import("mathjs").Matrix; - isDenseMatrix: (x: unknown) => x is import("mathjs").Matrix; - isSparseMatrix: (x: unknown) => x is import("mathjs").Matrix; - isRange: (x: unknown) => boolean; - isIndex: (x: unknown) => x is import("mathjs").Index; - isBoolean: (x: unknown) => x is boolean; - isResultSet: (x: unknown) => boolean; - isHelp: (x: unknown) => x is import("mathjs").Help; - isFunction: (x: unknown) => boolean; - isDate: (x: unknown) => x is Date; - isRegExp: (x: unknown) => x is RegExp; - isObject: (x: unknown) => boolean; - isNull: (x: unknown) => x is null; - isUndefined: (x: unknown) => x is undefined; - isAccessorNode: (x: unknown) => x is import("mathjs").AccessorNode; - isArrayNode: (x: unknown) => x is import("mathjs").ArrayNode; - isAssignmentNode: (x: unknown) => x is import("mathjs").AssignmentNode; - isBlockNode: (x: unknown) => x is import("mathjs").BlockNode; - isConditionalNode: (x: unknown) => x is import("mathjs").ConditionalNode; - isConstantNode: (x: unknown) => x is import("mathjs").ConstantNode; - isFunctionAssignmentNode: (x: unknown) => x is import("mathjs").FunctionAssignmentNode; - isFunctionNode: (x: unknown) => x is import("mathjs").FunctionNode; - isIndexNode: (x: unknown) => x is import("mathjs").IndexNode; - isNode: (x: unknown) => x is import("mathjs").MathNode; - isObjectNode: (x: unknown) => x is import("mathjs").ObjectNode>; - isOperatorNode: (x: unknown) => x is import("mathjs").OperatorNode; - isParenthesisNode: (x: unknown) => x is import("mathjs").ParenthesisNode; - isRangeNode: (x: unknown) => x is import("mathjs").RangeNode; - isRelationalNode: (x: unknown) => x is import("mathjs").RelationalNode; - isSymbolNode: (x: unknown) => x is import("mathjs").SymbolNode; - isChain: (x: unknown) => x is import("mathjs").MathJsChain; - clone: (x: TType) => TType; - hasNumericValue: (x: any) => boolean | boolean[]; - isInteger: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").MathCollection) => boolean; - isNaN: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isNegative: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isNumeric: (x: any) => x is number | boolean | import("mathjs").BigNumber | import("mathjs").Fraction; - isPositive: (x: number | import("mathjs").BigNumber | import("mathjs").Fraction | import("mathjs").Unit | import("mathjs").MathCollection) => boolean; - isPrime: (x: number | import("mathjs").BigNumber | import("mathjs").MathCollection) => boolean; - isZero: (x: import("mathjs").MathType) => boolean; - typeOf: (x: any) => string; - }; - object: typeof import("./shared/object"); - selector: typeof import("./shared/selector"); - specific: typeof import("./shared/specific"); - str: typeof import("./shared/str"); - tree: typeof import("./shared/tree"); - url: typeof import("./shared/url"); - uuid: typeof import("./shared/uuid"); - assertion: typeof import("./shared/assertion"); -}; -export default _default; diff --git a/dist/js/index_server.js b/dist/js/index_server.js deleted file mode 100644 index 5407498..0000000 --- a/dist/js/index_server.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Utils = exports.serverUtils = void 0; -const index_1 = require("./index"); -const file = __importStar(require("./server/file")); -const json = __importStar(require("./server/json")); -const yaml = __importStar(require("./server/yaml")); -exports.serverUtils = { - file, - yaml, - json, -}; -exports.Utils = { - ...index_1.sharedUtils, - ...exports.serverUtils, -}; -exports.default = { ...exports.Utils }; diff --git a/dist/js/server/file.d.ts b/dist/js/server/file.d.ts deleted file mode 100644 index 111600b..0000000 --- a/dist/js/server/file.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * @summary Identifies language by file extension. Uses 'fortran' by default. - */ -export declare function getProgrammingLanguageFromFileExtension(filename: string, defaultLanguage?: string): string; -/** - * @summary Formats a given file size. - * @param size file size. - * @param decimals number of decimals to round. - */ -export declare function formatFileSize(size: number, decimals?: number): string; -/** Get list of paths for files in a directory and filter by file extensions if provided. - * @param dirPath - Path to current directory, i.e. $PWD - * @param fileExtensions - File extensions to filter, e.g. `.yml` - * @param resolvePath - whether to resolve the paths of files - * @returns - Array of file paths - */ -export declare function getFilesInDirectory(dirPath: string, fileExtensions?: string[], resolvePath?: boolean): string[]; -/** - * Get list of directories contained in current directory. - * @param currentPath - current directory - */ -export declare function getDirectories(currentPath: string): string[]; -/** - * Construct object path compatible with lodash.get/lodash.set from file path. - * Note: if no root path is provided the file's dirname is taken instead. - * @param filePath - Path to file. - * @param root - Path to a parent directory to construct relative path. - * @return - Object path reflecting file path. - * @example - * createObjectPathFromFilePath("/a/b/c/d/e.yml", "/a/b"); - * // "['c']['d']['e']" - */ -export declare function createObjectPathFromFilePath(filePath: string, root: string): string; -export declare function createDirIfNotExists(directory: string): Promise; -export declare function createDirIfNotExistsSync(directoryPath: string): void; -export declare function cleanDirectory(directory: string): Promise; -/** - * Remove all files and folders in a directory except those specified to omit. - * @param directoryPath - * @param omitFiles - */ -export declare function cleanDirectorySync(directoryPath: string, omitFiles?: string[]): void; diff --git a/dist/js/server/file.js b/dist/js/server/file.js deleted file mode 100644 index a3f9cf0..0000000 --- a/dist/js/server/file.js +++ /dev/null @@ -1,164 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.cleanDirectorySync = exports.cleanDirectory = exports.createDirIfNotExistsSync = exports.createDirIfNotExists = exports.createObjectPathFromFilePath = exports.getDirectories = exports.getFilesInDirectory = exports.formatFileSize = exports.getProgrammingLanguageFromFileExtension = void 0; -const fs = __importStar(require("fs")); -const promises_1 = require("node:fs/promises"); -const node_path_1 = __importDefault(require("node:path")); -const FILE_EXTENSION_TO_PROGRAMMING_LANGUAGE_MAP = { - in: "fortran", - sh: "shell", - bash: "shell", - zsh: "shell", - pbs: "shell", - py: "python", -}; -/** - * @summary Identifies language by file extension. Uses 'fortran' by default. - */ -function getProgrammingLanguageFromFileExtension(filename, defaultLanguage = "fortran") { - var _a; - const fileExt = (_a = filename.split(".").pop()) === null || _a === void 0 ? void 0 : _a.toLowerCase(); - if (!fileExt) { - return defaultLanguage; - } - return FILE_EXTENSION_TO_PROGRAMMING_LANGUAGE_MAP[fileExt] || defaultLanguage; -} -exports.getProgrammingLanguageFromFileExtension = getProgrammingLanguageFromFileExtension; -/** - * @summary Formats a given file size. - * @param size file size. - * @param decimals number of decimals to round. - */ -function formatFileSize(size, decimals = 2) { - if (size === 0) - return "0 Bytes"; - const index = Math.floor(Math.log(size) / Math.log(1024)); - const units = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"]; - return parseFloat((size / 1024 ** index).toFixed(decimals)) + " " + units[index]; -} -exports.formatFileSize = formatFileSize; -/** Get list of paths for files in a directory and filter by file extensions if provided. - * @param dirPath - Path to current directory, i.e. $PWD - * @param fileExtensions - File extensions to filter, e.g. `.yml` - * @param resolvePath - whether to resolve the paths of files - * @returns - Array of file paths - */ -function getFilesInDirectory(dirPath, fileExtensions = [], resolvePath = true) { - let fileNames = fs.readdirSync(dirPath); - if (fileExtensions.length) { - fileNames = fileNames.filter((dirItem) => fileExtensions.includes(node_path_1.default.extname(dirItem))); - } - if (resolvePath) - return fileNames.map((fileName) => node_path_1.default.resolve(dirPath, fileName)); - return fileNames; -} -exports.getFilesInDirectory = getFilesInDirectory; -/** - * Get list of directories contained in current directory. - * @param currentPath - current directory - */ -function getDirectories(currentPath) { - return fs - .readdirSync(currentPath, { withFileTypes: true }) - .filter((dirent) => dirent.isDirectory()) - .map((dirent) => dirent.name); -} -exports.getDirectories = getDirectories; -/** - * Construct object path compatible with lodash.get/lodash.set from file path. - * Note: if no root path is provided the file's dirname is taken instead. - * @param filePath - Path to file. - * @param root - Path to a parent directory to construct relative path. - * @return - Object path reflecting file path. - * @example - * createObjectPathFromFilePath("/a/b/c/d/e.yml", "/a/b"); - * // "['c']['d']['e']" - */ -function createObjectPathFromFilePath(filePath, root) { - const dirname = node_path_1.default.dirname(filePath); - const extension = node_path_1.default.extname(filePath); - const basename = node_path_1.default.basename(filePath, extension); - const parentDirs = root ? node_path_1.default.relative(root, dirname).split(node_path_1.default.sep) : []; - return [...parentDirs, basename].map((item) => `['${item}']`).join(""); -} -exports.createObjectPathFromFilePath = createObjectPathFromFilePath; -async function createDirIfNotExists(directory) { - try { - await (0, promises_1.access)(directory); - } - catch (err) { - await (0, promises_1.mkdir)(directory, { recursive: true }); - } -} -exports.createDirIfNotExists = createDirIfNotExists; -function createDirIfNotExistsSync(directoryPath) { - if (!fs.existsSync(directoryPath)) { - fs.mkdirSync(directoryPath, { recursive: true }); - } -} -exports.createDirIfNotExistsSync = createDirIfNotExistsSync; -async function cleanDirectory(directory) { - const files = await (0, promises_1.readdir)(directory, { withFileTypes: true }); - for (let i = 0; i < files.length; i++) { - const file = files[i]; - if (file.isDirectory()) { - // eslint-disable-next-line no-await-in-loop - await (0, promises_1.rm)(node_path_1.default.join(directory, file.name), { recursive: true, force: true }); - } - else { - // eslint-disable-next-line no-await-in-loop - await (0, promises_1.rm)(node_path_1.default.join(directory, file.name)); - } - } -} -exports.cleanDirectory = cleanDirectory; -/** - * Remove all files and folders in a directory except those specified to omit. - * @param directoryPath - * @param omitFiles - */ -function cleanDirectorySync(directoryPath, omitFiles = []) { - if (!fs.existsSync(directoryPath)) { - return; - } - const files = fs.readdirSync(directoryPath, { withFileTypes: true }); - files.forEach((file) => { - if (omitFiles.includes(file.name)) { - return; - } - const filePath = node_path_1.default.join(directoryPath, file.name); - if (file.isDirectory()) { - fs.rmSync(filePath, { recursive: true, force: true }); - } - else { - fs.unlinkSync(filePath); - } - }); -} -exports.cleanDirectorySync = cleanDirectorySync; diff --git a/dist/js/server/json.d.ts b/dist/js/server/json.d.ts deleted file mode 100644 index 109028c..0000000 --- a/dist/js/server/json.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -type Replacer = Parameters[1]; -type Space = Parameters[2]; -type WriteJSONOptions = { - replacer?: Replacer; - spaces?: Space; - addNewLine?: boolean; -}; -export declare function readJSONFileSync(filePath: string): object; -export declare function writeJSONFileSync(filePath: string, data: unknown, { replacer, spaces, addNewLine }?: WriteJSONOptions): void; -export declare function isJSONMinified(filePath: string): boolean; -export {}; diff --git a/dist/js/server/json.js b/dist/js/server/json.js deleted file mode 100644 index 9fa4d25..0000000 --- a/dist/js/server/json.js +++ /dev/null @@ -1,37 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.isJSONMinified = exports.writeJSONFileSync = exports.readJSONFileSync = void 0; -const fs_1 = __importDefault(require("fs")); -const path_1 = __importDefault(require("path")); -const file_1 = require("./file"); -function readJSONFileSync(filePath) { - const content = fs_1.default.readFileSync(filePath, "utf-8"); - return JSON.parse(content); -} -exports.readJSONFileSync = readJSONFileSync; -function writeJSONFileSync(filePath, data, { replacer, spaces = 0, addNewLine = true } = {}) { - (0, file_1.createDirIfNotExistsSync)(path_1.default.dirname(filePath)); - const json = JSON.stringify(data, replacer, spaces) + (addNewLine ? "\n" : ""); - fs_1.default.writeFileSync(filePath, json, "utf-8"); -} -exports.writeJSONFileSync = writeJSONFileSync; -function isJSONMinified(filePath) { - const content = fs_1.default.readFileSync(filePath, "utf8"); - const trimmed = content.trim(); - const lines = trimmed.split("\n"); - if (lines.length > 1) { - return false; - } - try { - const parsed = JSON.parse(trimmed); - const minified = JSON.stringify(parsed); - return trimmed === minified; - } - catch (_a) { - return false; - } -} -exports.isJSONMinified = isJSONMinified; diff --git a/dist/js/server/yaml.d.ts b/dist/js/server/yaml.d.ts deleted file mode 100644 index d995d06..0000000 --- a/dist/js/server/yaml.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Reads a YAML file and converts its content to a JSON object. - * @param {string} filePath - The path to the YAML file. - * @returns {object} - The resulting JSON object. - */ -export declare function readYAMLFileSync(filePath: string, options?: {}): object; -export declare const readYAMLFile: typeof readYAMLFileSync; -/** - * Writes a JSON object to a YAML file. - * @param {string} filePath - The path to the YAML file. - * @param {object} [options] - Options for YAML dump (see js-yaml documentation). - * @param {object} data - The JSON object to write. - */ -export declare function writeYAMLFileSync(filePath: string, data: object, options?: object): void; -export declare const writeYAMLFile: typeof writeYAMLFileSync; diff --git a/dist/js/server/yaml.js b/dist/js/server/yaml.js deleted file mode 100644 index ee1deea..0000000 --- a/dist/js/server/yaml.js +++ /dev/null @@ -1,31 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.writeYAMLFile = exports.writeYAMLFileSync = exports.readYAMLFile = exports.readYAMLFileSync = void 0; -const fs_1 = __importDefault(require("fs")); -const yaml_1 = require("../shared/yaml"); -/** - * Reads a YAML file and converts its content to a JSON object. - * @param {string} filePath - The path to the YAML file. - * @returns {object} - The resulting JSON object. - */ -function readYAMLFileSync(filePath, options = {}) { - const YAMLContent = fs_1.default.readFileSync(filePath, "utf8"); - return (0, yaml_1.convertYAMLStringToJSON)(YAMLContent, options); -} -exports.readYAMLFileSync = readYAMLFileSync; -exports.readYAMLFile = readYAMLFileSync; -/** - * Writes a JSON object to a YAML file. - * @param {string} filePath - The path to the YAML file. - * @param {object} [options] - Options for YAML dump (see js-yaml documentation). - * @param {object} data - The JSON object to write. - */ -function writeYAMLFileSync(filePath, data, options) { - const YAMLContent = (0, yaml_1.convertJSONToYAMLString)(data, options); - fs_1.default.writeFileSync(filePath, YAMLContent); -} -exports.writeYAMLFileSync = writeYAMLFileSync; -exports.writeYAMLFile = writeYAMLFileSync; diff --git a/dist/js/shared/array.d.ts b/dist/js/shared/array.d.ts deleted file mode 100644 index f98db13..0000000 --- a/dist/js/shared/array.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export function safeMakeArray(x: any): any[]; -/** - * @summary Returns objects array in compact csv format. E.g.: - * [{a: 1, b: 2}, {a: 2, d: 3}] -> [['a','b','d'],[1, 2, null], [2, null, 3]] - * @param objects - */ -export function convertToCompactCSVArrayOfObjects(objects: any): any[][]; -/** - * @summary Function to sort array based on the order given in a separate array - * @param arr {Array}: input array to sort - * @param order {Array}: define the order of item in array - * @return {Array} - */ -export function sortArrayByOrder(arr: Array, order: Array): Array; -/** - * Normalizes data to an array format. - * @param data {any} - The input data which can be of any type. - * @returns {any[]} - */ -export function normalizeToArray(data: any): any[]; diff --git a/dist/js/shared/array.js b/dist/js/shared/array.js deleted file mode 100644 index 87d9bda..0000000 --- a/dist/js/shared/array.js +++ /dev/null @@ -1,66 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.normalizeToArray = exports.sortArrayByOrder = exports.convertToCompactCSVArrayOfObjects = exports.safeMakeArray = void 0; -const flatten_1 = __importDefault(require("lodash/flatten")); -const isArray_1 = __importDefault(require("lodash/isArray")); -const keys_1 = __importDefault(require("lodash/keys")); -const uniq_1 = __importDefault(require("lodash/uniq")); -function safeMakeArray(x) { - if (!(0, isArray_1.default)(x)) - return [x]; - return x; -} -exports.safeMakeArray = safeMakeArray; -/** - * @summary Returns objects array in compact csv format. E.g.: - * [{a: 1, b: 2}, {a: 2, d: 3}] -> [['a','b','d'],[1, 2, null], [2, null, 3]] - * @param objects - */ -function convertToCompactCSVArrayOfObjects(objects) { - const headers = (0, uniq_1.default)((0, flatten_1.default)(objects.map((x) => (0, keys_1.default)(x)))); - const result = [headers]; - objects.forEach((x) => { - const row = []; - headers.forEach((header) => { - // eslint-disable-next-line no-prototype-builtins - row.push(x.hasOwnProperty(header) ? x[header] : null); - }); - result.push(row); - }); - return result; -} -exports.convertToCompactCSVArrayOfObjects = convertToCompactCSVArrayOfObjects; -/** - * @summary Function to sort array based on the order given in a separate array - * @param arr {Array}: input array to sort - * @param order {Array}: define the order of item in array - * @return {Array} - */ -function sortArrayByOrder(arr, order) { - const orderMap = new Map(); - order.forEach((item, index) => orderMap.set(item, index)); - return arr.sort((a, b) => { - const indexA = orderMap.has(a) ? orderMap.get(a) : order.length; - const indexB = orderMap.has(b) ? orderMap.get(b) : order.length; - return indexA - indexB; - }); -} -exports.sortArrayByOrder = sortArrayByOrder; -/** - * Normalizes data to an array format. - * @param data {any} - The input data which can be of any type. - * @returns {any[]} - */ -function normalizeToArray(data) { - if (Array.isArray(data)) { - return data.flat(); - } - if (data && typeof data === "object" && !Array.isArray(data) && !data.name) { - return Object.values(data).flat(); - } - return [data]; -} -exports.normalizeToArray = normalizeToArray; diff --git a/dist/js/shared/assertion.d.ts b/dist/js/shared/assertion.d.ts deleted file mode 100644 index a39616d..0000000 --- a/dist/js/shared/assertion.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare function assertShallowDeepAlmostEqual(expect: object | boolean | number | null | string | Date, actual: object | boolean | number | null | string | Date, path?: string, threshold?: number): boolean; -export declare function assertDeepAlmostEqual(leftHandOperand: object, rightHandOperand: object, excludedKeys?: string[]): boolean; diff --git a/dist/js/shared/assertion.js b/dist/js/shared/assertion.js deleted file mode 100644 index 618bfbc..0000000 --- a/dist/js/shared/assertion.js +++ /dev/null @@ -1,75 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.assertDeepAlmostEqual = exports.assertShallowDeepAlmostEqual = void 0; -const omit_1 = __importDefault(require("lodash/omit")); -function assertShallowDeepAlmostEqual(expect, actual, path = "", threshold = 0.01) { - // null value - if (expect === null) { - if (!(actual === null)) { - throw new Error(`Expected to have null but got "${actual}" at path "${path}".`); - } - return true; - } - // undefined expected value - if (typeof expect === "undefined") { - if (typeof actual !== "undefined") { - throw new Error(`Expected to have undefined but got "${actual}" at path "${path}".`); - } - return true; - } - // scalar description - if (typeof expect === "boolean" || typeof expect === "string") { - if (expect !== actual) { - throw new Error(`Expected to have "${expect}" but got "${actual}" at path "${path}".`); - } - return true; - } - // numbers — here is some important 'almost equal' stuff - // TODO: configurable threshold - if (typeof expect === "number") { - if (typeof actual !== "number") { - throw new Error(`Expected to have number but got "${actual}" at path "${path}".`); - } - if (Math.abs(expect - actual) > threshold) { - throw new Error(`Expected to have "${expect}+-${threshold}" but got "${actual}" at path "${path}".`); - } - return true; - } - // dates - if (expect instanceof Date) { - if (actual instanceof Date) { - if (expect.getTime() !== actual.getTime()) { - throw new Error(`Expected to have date "${expect.toISOString()}" but got "${actual.toISOString()}" at path "${path}".`); - } - } - else { - throw new Error(`Expected to have date "${expect.toISOString()}" but got "${actual}" at path "${path}".`); - } - return true; - } - if (actual === null) { - throw new Error(`Expected to have an array/object but got null at path "${path}".`); - } - // array/object description - // eslint-disable-next-line no-restricted-syntax, guard-for-in - for (const prop in expect) { - // @ts-ignore - if (typeof actual[prop] === "undefined" && typeof expect[prop] !== "undefined") { - throw new Error(`Expected "${prop}" field to be defined at path "${path}".`); - } - const newPath = path + (path === "/" ? "" : "/") + prop; - // @ts-ignore - assertShallowDeepAlmostEqual(expect[prop], actual[prop], newPath, threshold); - } - return true; -} -exports.assertShallowDeepAlmostEqual = assertShallowDeepAlmostEqual; -function assertDeepAlmostEqual(leftHandOperand, rightHandOperand, excludedKeys = []) { - const expected = (0, omit_1.default)({ ...leftHandOperand }, excludedKeys); - const actual = (0, omit_1.default)({ ...rightHandOperand }, excludedKeys); - return assertShallowDeepAlmostEqual(expected, actual); -} -exports.assertDeepAlmostEqual = assertDeepAlmostEqual; diff --git a/dist/js/shared/class.d.ts b/dist/js/shared/class.d.ts deleted file mode 100644 index 299281f..0000000 --- a/dist/js/shared/class.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -export function cloneClass(classToClone: any): any; -/** - * Extends a child class with the parent class. - * Note: this function does not handle static functions. - * Note: this function does not quite handle custom constructor logic like one might expect. - * The workaround is to follow the convention established as in Application classes. - * @param childClass {Object} child class. - * @param parentClass {Object} parent class. - * @param excludedProps {Array} properties to exclude. - * @param args {Array} args to pass to the constructor of the parent class. - */ -export function extendClass(childClass: Object, parentClass: Object, excludedProps?: any[], ...args: any[]): void; -export function extendClassStaticProps(childClass: any, parentClass: any, excludedProps?: any[]): void; -/** - * Slightly different implementation of extendClass assuming excludedProps - * is contained within the child-most class definition and assigning only - * the most recent props rather than the most distant props. - * See extendClass. - */ -export function extendThis(childClass: any, parentClass: any, config: any): void; diff --git a/dist/js/shared/class.js b/dist/js/shared/class.js deleted file mode 100644 index f62e650..0000000 --- a/dist/js/shared/class.js +++ /dev/null @@ -1,82 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.extendThis = exports.extendClassStaticProps = exports.extendClass = exports.cloneClass = void 0; -function cloneClass(classToClone) { - return Object.assign(Object.create(Object.getPrototypeOf(classToClone)), classToClone); -} -exports.cloneClass = cloneClass; -/** - * Extends a child class with the parent class. - * Note: this function does not handle static functions. - * Note: this function does not quite handle custom constructor logic like one might expect. - * The workaround is to follow the convention established as in Application classes. - * @param childClass {Object} child class. - * @param parentClass {Object} parent class. - * @param excludedProps {Array} properties to exclude. - * @param args {Array} args to pass to the constructor of the parent class. - */ -function extendClass(childClass, parentClass, excludedProps = [], ...args) { - const parentNonStaticProps = Object.getOwnPropertyNames(parentClass.prototype); - parentNonStaticProps - .filter((p) => !excludedProps.includes(p)) - .forEach((prop) => { - if (prop === "constructor") { - Object.assign(childClass.prototype, new parentClass.prototype.constructor(...args)); - } - else { - const get = parentClass.prototype.__lookupGetter__(prop); - const set = parentClass.prototype.__lookupSetter__(prop); - if (get || set) { - Object.defineProperty(childClass.prototype, prop, { get, set }); - } - else { - childClass.prototype[prop] = parentClass.prototype[prop]; - } - } - }); -} -exports.extendClass = extendClass; -function extendClassStaticProps(childClass, parentClass, excludedProps = []) { - const parentStaticProps = Object.getOwnPropertyNames(parentClass).filter((p) => !["length", "name", "prototype"].includes(p)); - parentStaticProps - .filter((p) => !excludedProps.includes(p)) - .forEach((prop) => { - childClass[prop] = parentClass[prop]; - }); -} -exports.extendClassStaticProps = extendClassStaticProps; -/** - * Slightly different implementation of extendClass assuming excludedProps - * is contained within the child-most class definition and assigning only - * the most recent props rather than the most distant props. - * See extendClass. - */ -function extendThis(childClass, parentClass, config) { - let props, protos; - let obj = new parentClass.prototype.constructor(config); - const exclude = ["constructor", ...Object.getOwnPropertyNames(childClass.prototype)]; - const seen = []; // remember most recent occurrence of prop name (like inheritance) - while (Object.getPrototypeOf(obj)) { - protos = Object.getPrototypeOf(obj); - props = Object.getOwnPropertyNames(protos); - props - .filter((p) => !exclude.includes(p)) - // eslint-disable-next-line no-loop-func - .map((prop) => { - if (seen.includes(prop)) - return; - const get = protos.__lookupGetter__(prop); - const set = protos.__lookupSetter__(prop); - if (get || set) { - Object.defineProperty(childClass.prototype, prop, { get, set }); - } - else { - childClass.prototype[prop] = parentClass.prototype[prop]; - } - seen.push(prop); // don't override with older definition in hierarchy - return null; - }); - obj = protos; - } -} -exports.extendThis = extendThis; diff --git a/dist/js/shared/clone.d.ts b/dist/js/shared/clone.d.ts deleted file mode 100644 index 5e5d9dd..0000000 --- a/dist/js/shared/clone.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export function deepClone(obj: any): any; -export function clone(obj: any): any; diff --git a/dist/js/shared/clone.js b/dist/js/shared/clone.js deleted file mode 100644 index df71bd1..0000000 --- a/dist/js/shared/clone.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.clone = exports.deepClone = void 0; -// TODO: consider other options for performance reasons - http://jsben.ch/bWfk9 -function deepClone(obj) { - return JSON.parse(JSON.stringify(obj)); -} -exports.deepClone = deepClone; -function clone(obj) { - return { ...obj }; -} -exports.clone = clone; diff --git a/dist/js/shared/constants.d.ts b/dist/js/shared/constants.d.ts deleted file mode 100644 index a30c0f9..0000000 --- a/dist/js/shared/constants.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -export namespace coefficients { - const EV_TO_RY: number; - const BOHR_TO_ANGSTROM: number; - const ANGSTROM_TO_BOHR: number; - const EV_A_TO_RY_BOHR: number; -} -export namespace tolerance { - const length: number; - const lengthAngstrom: number; - const pointsDistance: number; -} -export namespace units { - const bohr: string; - const angstrom: string; - const degree: string; - const radian: string; - const alat: string; -} -export namespace ATOMIC_COORD_UNITS { - const crystal: string; - const cartesian: string; -} -export const HASH_TOLERANCE: 3; -declare namespace _default { - export { coefficients }; - export { tolerance }; - export { units }; - export { ATOMIC_COORD_UNITS }; - export { HASH_TOLERANCE }; -} -export default _default; diff --git a/dist/js/shared/constants.js b/dist/js/shared/constants.js deleted file mode 100644 index 6b7d56b..0000000 --- a/dist/js/shared/constants.js +++ /dev/null @@ -1,35 +0,0 @@ -"use strict"; -// This file is autogenerated from src/shared/constants.yaml -// DO NOT EDIT DIRECTLY! Edit above YAML file and run 'npm run build:constants'. -Object.defineProperty(exports, "__esModule", { value: true }); -exports.HASH_TOLERANCE = exports.ATOMIC_COORD_UNITS = exports.units = exports.tolerance = exports.coefficients = void 0; -exports.coefficients = { - "EV_TO_RY": 0.0734986444, - "BOHR_TO_ANGSTROM": 0.529177210544, - "ANGSTROM_TO_BOHR": 1.8897261259077822, - "EV_A_TO_RY_BOHR": 0.0388938075966032 -}; -exports.tolerance = { - "length": 0.01, - "lengthAngstrom": 0.001, - "pointsDistance": 0.001 -}; -exports.units = { - "bohr": "bohr", - "angstrom": "angstrom", - "degree": "degree", - "radian": "radian", - "alat": "alat" -}; -exports.ATOMIC_COORD_UNITS = { - "crystal": "crystal", - "cartesian": "cartesian" -}; -exports.HASH_TOLERANCE = 3; -exports.default = { - coefficients: exports.coefficients, - tolerance: exports.tolerance, - units: exports.units, - ATOMIC_COORD_UNITS: exports.ATOMIC_COORD_UNITS, - HASH_TOLERANCE: exports.HASH_TOLERANCE, -}; diff --git a/dist/js/shared/hash.d.ts b/dist/js/shared/hash.d.ts deleted file mode 100644 index 38d297b..0000000 --- a/dist/js/shared/hash.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @summary Calculates hash of a given text. - */ -export declare function calculateHashFromString(message: string, hashFunction?: string): string; -/** - * @summary Calculates hash of a given object. - * @param obj object to hash. It must be serializable. - * @param hashFunction hash function name. - */ -export declare function calculateHashFromObject(obj: object, hashFunction?: string): string; diff --git a/dist/js/shared/hash.js b/dist/js/shared/hash.js deleted file mode 100644 index 69ddaba..0000000 --- a/dist/js/shared/hash.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.calculateHashFromObject = exports.calculateHashFromString = void 0; -const crypto_js_1 = __importDefault(require("crypto-js")); -const object_1 = require("./object"); -/** - * @summary Calculates hash of a given text. - */ -function calculateHashFromString(message, hashFunction = "MD5") { - switch (hashFunction) { - case "MD5": - default: - return crypto_js_1.default.MD5(message).toString(); - } -} -exports.calculateHashFromString = calculateHashFromString; -/** - * @summary Calculates hash of a given object. - * @param obj object to hash. It must be serializable. - * @param hashFunction hash function name. - */ -function calculateHashFromObject(obj, hashFunction = "MD5") { - const message = JSON.stringify((0, object_1.sortKeysDeepForObject)(obj)); - return calculateHashFromString(message, hashFunction); -} -exports.calculateHashFromObject = calculateHashFromObject; diff --git a/dist/js/shared/json.d.ts b/dist/js/shared/json.d.ts deleted file mode 100644 index cd76f04..0000000 --- a/dist/js/shared/json.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -type Replacer = Parameters[1]; -type Space = Parameters[2]; -type WriteJSONOptions = { - replacer?: Replacer; - spaces?: Space; - addNewLine?: boolean; -}; -export declare function readJSONFileSync(filePath: string): object; -export declare function writeJSONFileSync(filePath: string, data: unknown, { replacer, spaces, addNewLine }?: WriteJSONOptions): void; -export {}; diff --git a/dist/js/shared/json.js b/dist/js/shared/json.js deleted file mode 100644 index 8ce2169..0000000 --- a/dist/js/shared/json.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.writeJSONFileSync = exports.readJSONFileSync = void 0; -const fs_1 = __importDefault(require("fs")); -const path_1 = __importDefault(require("path")); -const file_sync_1 = require("./file_sync"); -function readJSONFileSync(filePath) { - const content = fs_1.default.readFileSync(filePath, "utf-8"); - return JSON.parse(content); -} -exports.readJSONFileSync = readJSONFileSync; -function writeJSONFileSync(filePath, data, { replacer, spaces = 0, addNewLine = true } = {}) { - (0, file_sync_1.createDirIfNotExistsSync)(path_1.default.dirname(filePath)); - const json = JSON.stringify(data, replacer, spaces) + (addNewLine ? "\n" : ""); - fs_1.default.writeFileSync(filePath, json, "utf-8"); -} -exports.writeJSONFileSync = writeJSONFileSync; diff --git a/dist/js/shared/math.d.ts b/dist/js/shared/math.d.ts deleted file mode 100644 index 3c9c862..0000000 --- a/dist/js/shared/math.d.ts +++ /dev/null @@ -1,974 +0,0 @@ -import { Decimal } from "decimal.js"; -import * as mathjs from "mathjs"; -/** - * Rounding modes using decimal.js constants. - * Bankers (round half to even) is the default — matches Python's np.round and built-in round(). - * See: https://en.wikipedia.org/wiki/Rounding#Rounding_half_to_even - */ -export declare const RoundingMethodEnum: { - Bankers: 6; - HalfAwayFromZero: 4; -}; -/** - * Round a number to the specified number of decimal places. - * Uses decimal.js for correctness. Defaults to Bankers rounding (round half to even). - * @param value - The number to round. - * @param decimals - Number of decimal places (default: 0). - * @param mode - Rounding mode from decimal.js (default: ROUND_HALF_EVEN). - */ -export declare const roundCustom: (value: number, decimals?: number, mode?: Decimal.Rounding) => number; -/** - * Round a number or each element of an array to the specified number of decimal places. - * Non-number values are passed through unchanged. - * @param value - A number, array of numbers, or mixed array. - * @param decimals - Number of decimal places (default: 9). - * @param mode - Rounding mode from decimal.js (default: ROUND_HALF_EVEN). - */ -export declare const roundArrayOrNumber: (value: unknown, decimals?: number, mode?: Decimal.Rounding) => unknown; -/** - * @summary Wrapper for native [Number.toPrecision](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_objects/Number/toPrecision) method. - * Returns a string representing the Number object to the specified precision. - * @locus Client - * @method - * @name toPrecision - * @param number - * @param precision Optional. An integer specifying the number of significant digits. - */ -export declare function numberToPrecision(number: number | string, precision?: number): string; -declare const _default: { - PI: number; - trunc: (x: number) => number; - product: (v1: number[], v2: number[]) => number | number[]; - vlen: (v: number[]) => number; - angle: (a: number[], b: number[], unit: string) => number; - angleUpTo90: (a: number[], b: number[], unit: string) => number; - vDist: (v1: number[], v2: number[]) => number; - vEqualWithTolerance: (vec1: number[], vec2: number[], tolerance?: number) => boolean; - roundToZero: (n: number) => number; - precise: (x: number, n?: number) => number; - mod: (num: number, tolerance?: number) => number; - isBetweenZeroInclusiveAndOne: (number: number, tolerance?: number) => boolean; - cartesianProduct: (...arg: number[][]) => number[][]; - almostEqual: (a: number, b: number, tolerance?: number) => boolean; - combinations: (a: number, b: number, c: number) => number[][]; - combinationsFromIntervals: (arrA: number[], arrB: number[], arrC: number[]) => number[][]; - calculateSegmentsBetweenPoints3D: (point1: (string | number)[], point2: (string | number)[], n: string | number) => number[][]; - roundValueToNDecimals: (value: number, decimals?: number) => number; - numberToPrecision: typeof numberToPrecision; - roundCustom: (value: number, decimals?: number, mode?: Decimal.Rounding) => number; - RoundingMethod: { - Bankers: 6; - HalfAwayFromZero: 4; - }; - roundArrayOrNumber: (value: unknown, decimals?: number, mode?: Decimal.Rounding) => unknown; - AccessorNode: mathjs.AccessorNodeCtor; - ArrayNode: mathjs.ArrayNodeCtor; - AssignmentNode: mathjs.AssignmentNodeCtor; - BlockNode: mathjs.BlockNodeCtor; - ConditionalNode: mathjs.ConditionalNodeCtor; - ConstantNode: mathjs.ConstantNodeCtor; - FunctionAssignmentNode: mathjs.FunctionAssignmentNodeCtor; - FunctionNode: mathjs.FunctionNodeCtor; - IndexNode: mathjs.IndexNodeCtor; - ObjectNode: mathjs.ObjectNodeCtor; - OperatorNode: mathjs.OperatorNodeCtor; - ParenthesisNode: mathjs.ParenthesisNodeCtor; - RangeNode: mathjs.RangeNodeCtor; - RelationalNode: mathjs.RelationalNodeCtor; - SymbolNode: mathjs.SymbolNodeCtor; - all: mathjs.FactoryFunctionMap; - typedDependencies: mathjs.FactoryFunctionMap; - ResultSetDependencies: mathjs.FactoryFunctionMap; - BigNumberDependencies: mathjs.FactoryFunctionMap; - ComplexDependencies: mathjs.FactoryFunctionMap; - FractionDependencies: mathjs.FactoryFunctionMap; - RangeDependencies: mathjs.FactoryFunctionMap; - MatrixDependencies: mathjs.FactoryFunctionMap; - DenseMatrixDependencies: mathjs.FactoryFunctionMap; - cloneDependencies: mathjs.FactoryFunctionMap; - isIntegerDependencies: mathjs.FactoryFunctionMap; - isNegativeDependencies: mathjs.FactoryFunctionMap; - isNumericDependencies: mathjs.FactoryFunctionMap; - hasNumericValueDependencies: mathjs.FactoryFunctionMap; - isPositiveDependencies: mathjs.FactoryFunctionMap; - isZeroDependencies: mathjs.FactoryFunctionMap; - isNaNDependencies: mathjs.FactoryFunctionMap; - typeOfDependencies: mathjs.FactoryFunctionMap; - typeofDependencies: mathjs.FactoryFunctionMap; - equalScalarDependencies: mathjs.FactoryFunctionMap; - SparseMatrixDependencies: mathjs.FactoryFunctionMap; - numberDependencies: mathjs.FactoryFunctionMap; - stringDependencies: mathjs.FactoryFunctionMap; - booleanDependencies: mathjs.FactoryFunctionMap; - bignumberDependencies: mathjs.FactoryFunctionMap; - complexDependencies: mathjs.FactoryFunctionMap; - fractionDependencies: mathjs.FactoryFunctionMap; - matrixDependencies: mathjs.FactoryFunctionMap; - splitUnitDependencies: mathjs.FactoryFunctionMap; - unaryMinusDependencies: mathjs.FactoryFunctionMap; - unaryPlusDependencies: mathjs.FactoryFunctionMap; - absDependencies: mathjs.FactoryFunctionMap; - applyDependencies: mathjs.FactoryFunctionMap; - addScalarDependencies: mathjs.FactoryFunctionMap; - cbrtDependencies: mathjs.FactoryFunctionMap; - ceilDependencies: mathjs.FactoryFunctionMap; - cubeDependencies: mathjs.FactoryFunctionMap; - expDependencies: mathjs.FactoryFunctionMap; - expm1Dependencies: mathjs.FactoryFunctionMap; - fixDependencies: mathjs.FactoryFunctionMap; - floorDependencies: mathjs.FactoryFunctionMap; - gcdDependencies: mathjs.FactoryFunctionMap; - lcmDependencies: mathjs.FactoryFunctionMap; - log10Dependencies: mathjs.FactoryFunctionMap; - log2Dependencies: mathjs.FactoryFunctionMap; - modDependencies: mathjs.FactoryFunctionMap; - multiplyScalarDependencies: mathjs.FactoryFunctionMap; - multiplyDependencies: mathjs.FactoryFunctionMap; - nthRootDependencies: mathjs.FactoryFunctionMap; - signDependencies: mathjs.FactoryFunctionMap; - sqrtDependencies: mathjs.FactoryFunctionMap; - squareDependencies: mathjs.FactoryFunctionMap; - subtractDependencies: mathjs.FactoryFunctionMap; - xgcdDependencies: mathjs.FactoryFunctionMap; - dotMultiplyDependencies: mathjs.FactoryFunctionMap; - bitAndDependencies: mathjs.FactoryFunctionMap; - bitNotDependencies: mathjs.FactoryFunctionMap; - bitOrDependencies: mathjs.FactoryFunctionMap; - bitXorDependencies: mathjs.FactoryFunctionMap; - argDependencies: mathjs.FactoryFunctionMap; - conjDependencies: mathjs.FactoryFunctionMap; - imDependencies: mathjs.FactoryFunctionMap; - reDependencies: mathjs.FactoryFunctionMap; - notDependencies: mathjs.FactoryFunctionMap; - orDependencies: mathjs.FactoryFunctionMap; - xorDependencies: mathjs.FactoryFunctionMap; - concatDependencies: mathjs.FactoryFunctionMap; - columnDependencies: mathjs.FactoryFunctionMap; - crossDependencies: mathjs.FactoryFunctionMap; - diagDependencies: mathjs.FactoryFunctionMap; - eyeDependencies: mathjs.FactoryFunctionMap; - filterDependencies: mathjs.FactoryFunctionMap; - flattenDependencies: mathjs.FactoryFunctionMap; - forEachDependencies: mathjs.FactoryFunctionMap; - getMatrixDataTypeDependencies: mathjs.FactoryFunctionMap; - identityDependencies: mathjs.FactoryFunctionMap; - kronDependencies: mathjs.FactoryFunctionMap; - mapDependencies: mathjs.FactoryFunctionMap; - onesDependencies: mathjs.FactoryFunctionMap; - rangeDependencies: mathjs.FactoryFunctionMap; - reshapeDependencies: mathjs.FactoryFunctionMap; - resizeDependencies: mathjs.FactoryFunctionMap; - rowDependencies: mathjs.FactoryFunctionMap; - sizeDependencies: mathjs.FactoryFunctionMap; - squeezeDependencies: mathjs.FactoryFunctionMap; - subsetDependencies: mathjs.FactoryFunctionMap; - transposeDependencies: mathjs.FactoryFunctionMap; - ctransposeDependencies: mathjs.FactoryFunctionMap; - zerosDependencies: mathjs.FactoryFunctionMap; - erfDependencies: mathjs.FactoryFunctionMap; - modeDependencies: mathjs.FactoryFunctionMap; - prodDependencies: mathjs.FactoryFunctionMap; - formatDependencies: mathjs.FactoryFunctionMap; - printDependencies: mathjs.FactoryFunctionMap; - toDependencies: mathjs.FactoryFunctionMap; - isPrimeDependencies: mathjs.FactoryFunctionMap; - numericDependencies: mathjs.FactoryFunctionMap; - divideScalarDependencies: mathjs.FactoryFunctionMap; - powDependencies: mathjs.FactoryFunctionMap; - roundDependencies: mathjs.FactoryFunctionMap; - logDependencies: mathjs.FactoryFunctionMap; - log1pDependencies: mathjs.FactoryFunctionMap; - nthRootsDependencies: mathjs.FactoryFunctionMap; - dotPowDependencies: mathjs.FactoryFunctionMap; - dotDivideDependencies: mathjs.FactoryFunctionMap; - lsolveDependencies: mathjs.FactoryFunctionMap; - usolveDependencies: mathjs.FactoryFunctionMap; - leftShiftDependencies: mathjs.FactoryFunctionMap; - rightArithShiftDependencies: mathjs.FactoryFunctionMap; - rightLogShiftDependencies: mathjs.FactoryFunctionMap; - andDependencies: mathjs.FactoryFunctionMap; - compareDependencies: mathjs.FactoryFunctionMap; - compareNaturalDependencies: mathjs.FactoryFunctionMap; - compareTextDependencies: mathjs.FactoryFunctionMap; - equalDependencies: mathjs.FactoryFunctionMap; - equalTextDependencies: mathjs.FactoryFunctionMap; - smallerDependencies: mathjs.FactoryFunctionMap; - smallerEqDependencies: mathjs.FactoryFunctionMap; - largerDependencies: mathjs.FactoryFunctionMap; - largerEqDependencies: mathjs.FactoryFunctionMap; - deepEqualDependencies: mathjs.FactoryFunctionMap; - unequalDependencies: mathjs.FactoryFunctionMap; - partitionSelectDependencies: mathjs.FactoryFunctionMap; - sortDependencies: mathjs.FactoryFunctionMap; - maxDependencies: mathjs.FactoryFunctionMap; - minDependencies: mathjs.FactoryFunctionMap; - ImmutableDenseMatrixDependencies: mathjs.FactoryFunctionMap; - IndexDependencies: mathjs.FactoryFunctionMap; - FibonacciHeapDependencies: mathjs.FactoryFunctionMap; - SpaDependencies: mathjs.FactoryFunctionMap; - UnitDependencies: mathjs.FactoryFunctionMap; - unitDependencies: mathjs.FactoryFunctionMap; - sparseDependencies: mathjs.FactoryFunctionMap; - createUnitDependencies: mathjs.FactoryFunctionMap; - acosDependencies: mathjs.FactoryFunctionMap; - acoshDependencies: mathjs.FactoryFunctionMap; - acotDependencies: mathjs.FactoryFunctionMap; - acothDependencies: mathjs.FactoryFunctionMap; - acscDependencies: mathjs.FactoryFunctionMap; - acschDependencies: mathjs.FactoryFunctionMap; - asecDependencies: mathjs.FactoryFunctionMap; - asechDependencies: mathjs.FactoryFunctionMap; - asinDependencies: mathjs.FactoryFunctionMap; - asinhDependencies: mathjs.FactoryFunctionMap; - atanDependencies: mathjs.FactoryFunctionMap; - atan2Dependencies: mathjs.FactoryFunctionMap; - atanhDependencies: mathjs.FactoryFunctionMap; - cosDependencies: mathjs.FactoryFunctionMap; - coshDependencies: mathjs.FactoryFunctionMap; - cotDependencies: mathjs.FactoryFunctionMap; - cothDependencies: mathjs.FactoryFunctionMap; - cscDependencies: mathjs.FactoryFunctionMap; - cschDependencies: mathjs.FactoryFunctionMap; - secDependencies: mathjs.FactoryFunctionMap; - sechDependencies: mathjs.FactoryFunctionMap; - sinDependencies: mathjs.FactoryFunctionMap; - sinhDependencies: mathjs.FactoryFunctionMap; - tanDependencies: mathjs.FactoryFunctionMap; - tanhDependencies: mathjs.FactoryFunctionMap; - setCartesianDependencies: mathjs.FactoryFunctionMap; - setDifferenceDependencies: mathjs.FactoryFunctionMap; - setDistinctDependencies: mathjs.FactoryFunctionMap; - setIntersectDependencies: mathjs.FactoryFunctionMap; - setIsSubsetDependencies: mathjs.FactoryFunctionMap; - setMultiplicityDependencies: mathjs.FactoryFunctionMap; - setPowersetDependencies: mathjs.FactoryFunctionMap; - setSizeDependencies: mathjs.FactoryFunctionMap; - setSymDifferenceDependencies: mathjs.FactoryFunctionMap; - setUnionDependencies: mathjs.FactoryFunctionMap; - zpk2tfDependencies: mathjs.FactoryFunctionMap; - freqzDependencies: mathjs.FactoryFunctionMap; - addDependencies: mathjs.FactoryFunctionMap; - hypotDependencies: mathjs.FactoryFunctionMap; - normDependencies: mathjs.FactoryFunctionMap; - dotDependencies: mathjs.FactoryFunctionMap; - traceDependencies: mathjs.FactoryFunctionMap; - indexDependencies: mathjs.FactoryFunctionMap; - NodeDependencies: mathjs.FactoryFunctionMap; - AccessorNodeDependencies: mathjs.FactoryFunctionMap; - ArrayNodeDependencies: mathjs.FactoryFunctionMap; - AssignmentNodeDependencies: mathjs.FactoryFunctionMap; - BlockNodeDependencies: mathjs.FactoryFunctionMap; - ConditionalNodeDependencies: mathjs.FactoryFunctionMap; - ConstantNodeDependencies: mathjs.FactoryFunctionMap; - FunctionAssignmentNodeDependencies: mathjs.FactoryFunctionMap; - IndexNodeDependencies: mathjs.FactoryFunctionMap; - ObjectNodeDependencies: mathjs.FactoryFunctionMap; - OperatorNodeDependencies: mathjs.FactoryFunctionMap; - ParenthesisNodeDependencies: mathjs.FactoryFunctionMap; - RangeNodeDependencies: mathjs.FactoryFunctionMap; - RelationalNodeDependencies: mathjs.FactoryFunctionMap; - SymbolNodeDependencies: mathjs.FactoryFunctionMap; - FunctionNodeDependencies: mathjs.FactoryFunctionMap; - parseDependencies: mathjs.FactoryFunctionMap; - compileDependencies: mathjs.FactoryFunctionMap; - evaluateDependencies: mathjs.FactoryFunctionMap; - evalDependencies: mathjs.FactoryFunctionMap; - ParserDependencies: mathjs.FactoryFunctionMap; - parserDependencies: mathjs.FactoryFunctionMap; - lupDependencies: mathjs.FactoryFunctionMap; - qrDependencies: mathjs.FactoryFunctionMap; - sluDependencies: mathjs.FactoryFunctionMap; - lusolveDependencies: mathjs.FactoryFunctionMap; - HelpDependencies: mathjs.FactoryFunctionMap; - ChainDependencies: mathjs.FactoryFunctionMap; - helpDependencies: mathjs.FactoryFunctionMap; - chainDependencies: mathjs.FactoryFunctionMap; - detDependencies: mathjs.FactoryFunctionMap; - invDependencies: mathjs.FactoryFunctionMap; - expmDependencies: mathjs.FactoryFunctionMap; - sqrtmDependencies: mathjs.FactoryFunctionMap; - sylvesterDependencies: mathjs.FactoryFunctionMap; - schurDependencies: mathjs.FactoryFunctionMap; - lyapDependencies: mathjs.FactoryFunctionMap; - divideDependencies: mathjs.FactoryFunctionMap; - distanceDependencies: mathjs.FactoryFunctionMap; - intersectDependencies: mathjs.FactoryFunctionMap; - sumDependencies: mathjs.FactoryFunctionMap; - meanDependencies: mathjs.FactoryFunctionMap; - medianDependencies: mathjs.FactoryFunctionMap; - madDependencies: mathjs.FactoryFunctionMap; - varianceDependencies: mathjs.FactoryFunctionMap; - varDependencies: mathjs.FactoryFunctionMap; - quantileSeqDependencies: mathjs.FactoryFunctionMap; - stdDependencies: mathjs.FactoryFunctionMap; - combinationsDependencies: mathjs.FactoryFunctionMap; - gammaDependencies: mathjs.FactoryFunctionMap; - factorialDependencies: mathjs.FactoryFunctionMap; - kldivergenceDependencies: mathjs.FactoryFunctionMap; - multinomialDependencies: mathjs.FactoryFunctionMap; - permutationsDependencies: mathjs.FactoryFunctionMap; - pickRandomDependencies: mathjs.FactoryFunctionMap; - randomDependencies: mathjs.FactoryFunctionMap; - randomIntDependencies: mathjs.FactoryFunctionMap; - stirlingS2Dependencies: mathjs.FactoryFunctionMap; - bellNumbersDependencies: mathjs.FactoryFunctionMap; - catalanDependencies: mathjs.FactoryFunctionMap; - compositionDependencies: mathjs.FactoryFunctionMap; - simplifyDependencies: mathjs.FactoryFunctionMap; - derivativeDependencies: mathjs.FactoryFunctionMap; - rationalizeDependencies: mathjs.FactoryFunctionMap; - reviverDependencies: mathjs.FactoryFunctionMap; - eDependencies: mathjs.FactoryFunctionMap; - EDependencies: mathjs.FactoryFunctionMap; - falseDependencies: mathjs.FactoryFunctionMap; - iDependencies: mathjs.FactoryFunctionMap; - InfinityDependencies: mathjs.FactoryFunctionMap; - LN10Dependencies: mathjs.FactoryFunctionMap; - LN2Dependencies: mathjs.FactoryFunctionMap; - LOG10EDependencies: mathjs.FactoryFunctionMap; - LOG2EDependencies: mathjs.FactoryFunctionMap; - NaNDependencies: mathjs.FactoryFunctionMap; - nullDependencies: mathjs.FactoryFunctionMap; - phiDependencies: mathjs.FactoryFunctionMap; - piDependencies: mathjs.FactoryFunctionMap; - PIDependencies: mathjs.FactoryFunctionMap; - SQRT1_2Dependencies: mathjs.FactoryFunctionMap; - SQRT2Dependencies: mathjs.FactoryFunctionMap; - tauDependencies: mathjs.FactoryFunctionMap; - trueDependencies: mathjs.FactoryFunctionMap; - versionDependencies: mathjs.FactoryFunctionMap; - atomicMassDependencies: mathjs.FactoryFunctionMap; - avogadroDependencies: mathjs.FactoryFunctionMap; - bohrMagnetonDependencies: mathjs.FactoryFunctionMap; - bohrRadiusDependencies: mathjs.FactoryFunctionMap; - boltzmannDependencies: mathjs.FactoryFunctionMap; - classicalElectronRadiusDependencies: mathjs.FactoryFunctionMap; - conductanceQuantumDependencies: mathjs.FactoryFunctionMap; - coulombDependencies: mathjs.FactoryFunctionMap; - deuteronMassDependencies: mathjs.FactoryFunctionMap; - efimovFactorDependencies: mathjs.FactoryFunctionMap; - electricConstantDependencies: mathjs.FactoryFunctionMap; - electronMassDependencies: mathjs.FactoryFunctionMap; - elementaryChargeDependencies: mathjs.FactoryFunctionMap; - faradayDependencies: mathjs.FactoryFunctionMap; - fermiCouplingDependencies: mathjs.FactoryFunctionMap; - fineStructureDependencies: mathjs.FactoryFunctionMap; - firstRadiationDependencies: mathjs.FactoryFunctionMap; - gasConstantDependencies: mathjs.FactoryFunctionMap; - gravitationConstantDependencies: mathjs.FactoryFunctionMap; - gravityDependencies: mathjs.FactoryFunctionMap; - hartreeEnergyDependencies: mathjs.FactoryFunctionMap; - inverseConductanceQuantumDependencies: mathjs.FactoryFunctionMap; - klitzingDependencies: mathjs.FactoryFunctionMap; - loschmidtDependencies: mathjs.FactoryFunctionMap; - magneticConstantDependencies: mathjs.FactoryFunctionMap; - magneticFluxQuantumDependencies: mathjs.FactoryFunctionMap; - molarMassDependencies: mathjs.FactoryFunctionMap; - molarMassC12Dependencies: mathjs.FactoryFunctionMap; - molarPlanckConstantDependencies: mathjs.FactoryFunctionMap; - molarVolumeDependencies: mathjs.FactoryFunctionMap; - neutronMassDependencies: mathjs.FactoryFunctionMap; - nuclearMagnetonDependencies: mathjs.FactoryFunctionMap; - planckChargeDependencies: mathjs.FactoryFunctionMap; - planckConstantDependencies: mathjs.FactoryFunctionMap; - planckLengthDependencies: mathjs.FactoryFunctionMap; - planckMassDependencies: mathjs.FactoryFunctionMap; - planckTemperatureDependencies: mathjs.FactoryFunctionMap; - planckTimeDependencies: mathjs.FactoryFunctionMap; - protonMassDependencies: mathjs.FactoryFunctionMap; - quantumOfCirculationDependencies: mathjs.FactoryFunctionMap; - reducedPlanckConstantDependencies: mathjs.FactoryFunctionMap; - rydbergDependencies: mathjs.FactoryFunctionMap; - sackurTetrodeDependencies: mathjs.FactoryFunctionMap; - secondRadiationDependencies: mathjs.FactoryFunctionMap; - speedOfLightDependencies: mathjs.FactoryFunctionMap; - stefanBoltzmannDependencies: mathjs.FactoryFunctionMap; - thomsonCrossSectionDependencies: mathjs.FactoryFunctionMap; - vacuumImpedanceDependencies: mathjs.FactoryFunctionMap; - weakMixingAngleDependencies: mathjs.FactoryFunctionMap; - wienDisplacementDependencies: mathjs.FactoryFunctionMap; - applyTransformDependencies: mathjs.FactoryFunctionMap; - columnTransformDependencies: mathjs.FactoryFunctionMap; - filterTransformDependencies: mathjs.FactoryFunctionMap; - forEachTransformDependencies: mathjs.FactoryFunctionMap; - indexTransformDependencies: mathjs.FactoryFunctionMap; - mapTransformDependencies: mathjs.FactoryFunctionMap; - maxTransformDependencies: mathjs.FactoryFunctionMap; - meanTransformDependencies: mathjs.FactoryFunctionMap; - minTransformDependencies: mathjs.FactoryFunctionMap; - rangeTransformDependencies: mathjs.FactoryFunctionMap; - rowTransformDependencies: mathjs.FactoryFunctionMap; - subsetTransformDependencies: mathjs.FactoryFunctionMap; - concatTransformDependencies: mathjs.FactoryFunctionMap; - stdTransformDependencies: mathjs.FactoryFunctionMap; - sumTransformDependencies: mathjs.FactoryFunctionMap; - varianceTransformDependencies: mathjs.FactoryFunctionMap; - Matrix: mathjs.MatrixCtor; - create: (factories: mathjs.FactoryFunctionMap, config?: mathjs.ConfigOptions | undefined) => mathjs.MathJsInstance; - factory: (name: string, dependencies: TDeps, create: (injected: Pick | Extract<"number", TDeps[number]> | Extract<"boolean", TDeps[number]> | Extract<"concat", TDeps[number]> | Extract<"sort", TDeps[number]> | Extract<"forEach", TDeps[number]> | Extract<"map", TDeps[number]> | Extract<"filter", TDeps[number]> | Extract<"AccessorNode", TDeps[number]> | Extract<"ArrayNode", TDeps[number]> | Extract<"AssignmentNode", TDeps[number]> | Extract<"BlockNode", TDeps[number]> | Extract<"ConditionalNode", TDeps[number]> | Extract<"ConstantNode", TDeps[number]> | Extract<"FunctionAssignmentNode", TDeps[number]> | Extract<"FunctionNode", TDeps[number]> | Extract<"IndexNode", TDeps[number]> | Extract<"ObjectNode", TDeps[number]> | Extract<"OperatorNode", TDeps[number]> | Extract<"ParenthesisNode", TDeps[number]> | Extract<"RangeNode", TDeps[number]> | Extract<"RelationalNode", TDeps[number]> | Extract<"SymbolNode", TDeps[number]> | Extract<"Matrix", TDeps[number]> | Extract<"create", TDeps[number]> | Extract<"factory", TDeps[number]> | Extract<"typed", TDeps[number]> | Extract<"e", TDeps[number]> | Extract<"pi", TDeps[number]> | Extract<"i", TDeps[number]> | Extract<"LN2", TDeps[number]> | Extract<"LN10", TDeps[number]> | Extract<"LOG2E", TDeps[number]> | Extract<"LOG10E", TDeps[number]> | Extract<"phi", TDeps[number]> | Extract<"SQRT1_2", TDeps[number]> | Extract<"SQRT2", TDeps[number]> | Extract<"tau", TDeps[number]> | Extract<"Node", TDeps[number]> | Extract<"uninitialized", TDeps[number]> | Extract<"version", TDeps[number]> | Extract<"expression", TDeps[number]> | Extract<"reviver", TDeps[number]> | Extract<"replacer", TDeps[number]> | Extract<"bignumber", TDeps[number]> | Extract<"chain", TDeps[number]> | Extract<"complex", TDeps[number]> | Extract<"createUnit", TDeps[number]> | Extract<"fraction", TDeps[number]> | Extract<"index", TDeps[number]> | Extract<"matrix", TDeps[number]> | Extract<"sparse", TDeps[number]> | Extract<"splitUnit", TDeps[number]> | Extract<"unit", TDeps[number]> | Extract<"compile", TDeps[number]> | Extract<"evaluate", TDeps[number]> | Extract<"help", TDeps[number]> | Extract<"parse", TDeps[number]> | Extract<"parser", TDeps[number]> | Extract<"derivative", TDeps[number]> | Extract<"lsolve", TDeps[number]> | Extract<"lup", TDeps[number]> | Extract<"lusolve", TDeps[number]> | Extract<"polynomialRoot", TDeps[number]> | Extract<"qr", TDeps[number]> | Extract<"rationalize", TDeps[number]> | Extract<"simplify", TDeps[number]> | Extract<"simplifyConstant", TDeps[number]> | Extract<"simplifyCore", TDeps[number]> | Extract<"resolve", TDeps[number]> | Extract<"slu", TDeps[number]> | Extract<"usolve", TDeps[number]> | Extract<"abs", TDeps[number]> | Extract<"add", TDeps[number]> | Extract<"cbrt", TDeps[number]> | Extract<"ceil", TDeps[number]> | Extract<"fix", TDeps[number]> | Extract<"floor", TDeps[number]> | Extract<"round", TDeps[number]> | Extract<"cube", TDeps[number]> | Extract<"divide", TDeps[number]> | Extract<"dotDivide", TDeps[number]> | Extract<"dotMultiply", TDeps[number]> | Extract<"dotPow", TDeps[number]> | Extract<"exp", TDeps[number]> | Extract<"expm1", TDeps[number]> | Extract<"gcd", TDeps[number]> | Extract<"hypot", TDeps[number]> | Extract<"lcm", TDeps[number]> | Extract<"log", TDeps[number]> | Extract<"log10", TDeps[number]> | Extract<"log1p", TDeps[number]> | Extract<"log2", TDeps[number]> | Extract<"mod", TDeps[number]> | Extract<"multiply", TDeps[number]> | Extract<"norm", TDeps[number]> | Extract<"nthRoot", TDeps[number]> | Extract<"pow", TDeps[number]> | Extract<"sign", TDeps[number]> | Extract<"sqrt", TDeps[number]> | Extract<"square", TDeps[number]> | Extract<"subtract", TDeps[number]> | Extract<"unaryMinus", TDeps[number]> | Extract<"unaryPlus", TDeps[number]> | Extract<"xgcd", TDeps[number]> | Extract<"bitAnd", TDeps[number]> | Extract<"bitNot", TDeps[number]> | Extract<"bitOr", TDeps[number]> | Extract<"bitXor", TDeps[number]> | Extract<"leftShift", TDeps[number]> | Extract<"rightArithShift", TDeps[number]> | Extract<"rightLogShift", TDeps[number]> | Extract<"bellNumbers", TDeps[number]> | Extract<"catalan", TDeps[number]> | Extract<"composition", TDeps[number]> | Extract<"stirlingS2", TDeps[number]> | Extract<"arg", TDeps[number]> | Extract<"conj", TDeps[number]> | Extract<"im", TDeps[number]> | Extract<"re", TDeps[number]> | Extract<"distance", TDeps[number]> | Extract<"intersect", TDeps[number]> | Extract<"and", TDeps[number]> | Extract<"not", TDeps[number]> | Extract<"or", TDeps[number]> | Extract<"xor", TDeps[number]> | Extract<"apply", TDeps[number]> | Extract<"cross", TDeps[number]> | Extract<"det", TDeps[number]> | Extract<"diag", TDeps[number]> | Extract<"dot", TDeps[number]> | Extract<"eigs", TDeps[number]> | Extract<"expm", TDeps[number]> | Extract<"sylvester", TDeps[number]> | Extract<"schur", TDeps[number]> | Extract<"lyap", TDeps[number]> | Extract<"identity", TDeps[number]> | Extract<"flatten", TDeps[number]> | Extract<"inv", TDeps[number]> | Extract<"kron", TDeps[number]> | Extract<"ones", TDeps[number]> | Extract<"partitionSelect", TDeps[number]> | Extract<"pinv", TDeps[number]> | Extract<"range", TDeps[number]> | Extract<"reshape", TDeps[number]> | Extract<"resize", TDeps[number]> | Extract<"rotationMatrix", TDeps[number]> | Extract<"row", TDeps[number]> | Extract<"column", TDeps[number]> | Extract<"rotate", TDeps[number]> | Extract<"size", TDeps[number]> | Extract<"sqrtm", TDeps[number]> | Extract<"squeeze", TDeps[number]> | Extract<"subset", TDeps[number]> | Extract<"trace", TDeps[number]> | Extract<"transpose", TDeps[number]> | Extract<"zeros", TDeps[number]> | Extract<"fft", TDeps[number]> | Extract<"ifft", TDeps[number]> | Extract<"combinations", TDeps[number]> | Extract<"factorial", TDeps[number]> | Extract<"gamma", TDeps[number]> | Extract<"kldivergence", TDeps[number]> | Extract<"lgamma", TDeps[number]> | Extract<"multinomial", TDeps[number]> | Extract<"permutations", TDeps[number]> | Extract<"pickRandom", TDeps[number]> | Extract<"random", TDeps[number]> | Extract<"randomInt", TDeps[number]> | Extract<"compare", TDeps[number]> | Extract<"compareNatural", TDeps[number]> | Extract<"compareText", TDeps[number]> | Extract<"deepEqual", TDeps[number]> | Extract<"equal", TDeps[number]> | Extract<"equalText", TDeps[number]> | Extract<"larger", TDeps[number]> | Extract<"largerEq", TDeps[number]> | Extract<"smaller", TDeps[number]> | Extract<"smallerEq", TDeps[number]> | Extract<"unequal", TDeps[number]> | Extract<"setCartesian", TDeps[number]> | Extract<"setDifference", TDeps[number]> | Extract<"setDistinct", TDeps[number]> | Extract<"setIntersect", TDeps[number]> | Extract<"setIsSubset", TDeps[number]> | Extract<"setMultiplicity", TDeps[number]> | Extract<"setPowerset", TDeps[number]> | Extract<"setSize", TDeps[number]> | Extract<"setSymDifference", TDeps[number]> | Extract<"setUnion", TDeps[number]> | Extract<"zpk2tf", TDeps[number]> | Extract<"freqz", TDeps[number]> | Extract<"erf", TDeps[number]> | Extract<"zeta", TDeps[number]> | Extract<"mad", TDeps[number]> | Extract<"max", TDeps[number]> | Extract<"mean", TDeps[number]> | Extract<"median", TDeps[number]> | Extract<"min", TDeps[number]> | Extract<"mode", TDeps[number]> | Extract<"prod", TDeps[number]> | Extract<"quantileSeq", TDeps[number]> | Extract<"std", TDeps[number]> | Extract<"sum", TDeps[number]> | Extract<"count", TDeps[number]> | Extract<"cumsum", TDeps[number]> | Extract<"variance", TDeps[number]> | Extract<"corr", TDeps[number]> | Extract<"format", TDeps[number]> | Extract<"print", TDeps[number]> | Extract<"acos", TDeps[number]> | Extract<"acosh", TDeps[number]> | Extract<"acot", TDeps[number]> | Extract<"acoth", TDeps[number]> | Extract<"acsc", TDeps[number]> | Extract<"acsch", TDeps[number]> | Extract<"asec", TDeps[number]> | Extract<"asech", TDeps[number]> | Extract<"asin", TDeps[number]> | Extract<"asinh", TDeps[number]> | Extract<"atan", TDeps[number]> | Extract<"atan2", TDeps[number]> | Extract<"atanh", TDeps[number]> | Extract<"cos", TDeps[number]> | Extract<"cosh", TDeps[number]> | Extract<"cot", TDeps[number]> | Extract<"coth", TDeps[number]> | Extract<"csc", TDeps[number]> | Extract<"csch", TDeps[number]> | Extract<"sec", TDeps[number]> | Extract<"sech", TDeps[number]> | Extract<"sin", TDeps[number]> | Extract<"sinh", TDeps[number]> | Extract<"tan", TDeps[number]> | Extract<"tanh", TDeps[number]> | Extract<"to", TDeps[number]> | Extract<"isNumber", TDeps[number]> | Extract<"isBigNumber", TDeps[number]> | Extract<"isComplex", TDeps[number]> | Extract<"isFraction", TDeps[number]> | Extract<"isUnit", TDeps[number]> | Extract<"isString", TDeps[number]> | Extract<"isArray", TDeps[number]> | Extract<"isMatrix", TDeps[number]> | Extract<"isCollection", TDeps[number]> | Extract<"isDenseMatrix", TDeps[number]> | Extract<"isSparseMatrix", TDeps[number]> | Extract<"isRange", TDeps[number]> | Extract<"isIndex", TDeps[number]> | Extract<"isBoolean", TDeps[number]> | Extract<"isResultSet", TDeps[number]> | Extract<"isHelp", TDeps[number]> | Extract<"isFunction", TDeps[number]> | Extract<"isDate", TDeps[number]> | Extract<"isRegExp", TDeps[number]> | Extract<"isObject", TDeps[number]> | Extract<"isNull", TDeps[number]> | Extract<"isUndefined", TDeps[number]> | Extract<"isAccessorNode", TDeps[number]> | Extract<"isArrayNode", TDeps[number]> | Extract<"isAssignmentNode", TDeps[number]> | Extract<"isBlockNode", TDeps[number]> | Extract<"isConditionalNode", TDeps[number]> | Extract<"isConstantNode", TDeps[number]> | Extract<"isFunctionAssignmentNode", TDeps[number]> | Extract<"isFunctionNode", TDeps[number]> | Extract<"isIndexNode", TDeps[number]> | Extract<"isNode", TDeps[number]> | Extract<"isObjectNode", TDeps[number]> | Extract<"isOperatorNode", TDeps[number]> | Extract<"isParenthesisNode", TDeps[number]> | Extract<"isRangeNode", TDeps[number]> | Extract<"isRelationalNode", TDeps[number]> | Extract<"isSymbolNode", TDeps[number]> | Extract<"isChain", TDeps[number]> | Extract<"clone", TDeps[number]> | Extract<"hasNumericValue", TDeps[number]> | Extract<"isInteger", TDeps[number]> | Extract<"isNaN", TDeps[number]> | Extract<"isNegative", TDeps[number]> | Extract<"isNumeric", TDeps[number]> | Extract<"isPositive", TDeps[number]> | Extract<"isPrime", TDeps[number]> | Extract<"isZero", TDeps[number]> | Extract<"typeOf", TDeps[number]> | Extract<"Infinity", TDeps[number]> | Extract<"NaN", TDeps[number]> | Extract<"config", TDeps[number]> | Extract<"symbolicEqual", TDeps[number]> | Extract<"import", TDeps[number]>>) => T, meta?: any) => mathjs.FactoryFunction; - typed: (name: string, signatures: Record any>) => (...args: any[]) => any; - e: number; - pi: number; - i: number; - LN2: number; - LN10: number; - LOG2E: number; - LOG10E: number; - phi: number; - SQRT1_2: number; - SQRT2: number; - tau: number; - Node: mathjs.NodeCtor; - uninitialized: any; - version: string; - expression: mathjs.MathNode; - reviver: () => (key: any, value: any) => any; - replacer: () => (key: any, value: any) => any; - bignumber: { - (x?: string | number | boolean | mathjs.BigNumber | mathjs.Fraction | mathjs.Unit | null | undefined): mathjs.BigNumber; - (x: T_1): T_1; - }; - boolean: { - (x: string | number | boolean | null): boolean; - (x: mathjs.MathCollection): mathjs.MathCollection; - }; - chain: (value?: TValue | undefined) => mathjs.MathJsChain; - complex: { - (arg?: string | mathjs.MathNumericType | mathjs.PolarCoordinates | undefined): mathjs.Complex; - (arg?: mathjs.MathCollection | undefined): mathjs.MathCollection; - (re: number, im: number): mathjs.Complex; - }; - createUnit: { - (name: string, definition?: string | mathjs.Unit | mathjs.UnitDefinition | undefined, options?: mathjs.CreateUnitOptions | undefined): mathjs.Unit; - (units: Record, options?: mathjs.CreateUnitOptions | undefined): mathjs.Unit; - }; - fraction: { - (value: string | number | mathjs.BigNumber | mathjs.Fraction | mathjs.Unit | mathjs.FractionDefinition): mathjs.Fraction; - (values: mathjs.MathCollection): mathjs.MathCollection; - (numerator: number, denominator: number): mathjs.Fraction; - }; - index: (...ranges: any[]) => mathjs.Index; - matrix: { - (format?: "sparse" | "dense" | undefined): mathjs.Matrix; - (data: string[] | mathjs.MathCollection, format?: "sparse" | "dense" | undefined, dataType?: string | undefined): mathjs.Matrix; - }; - number: { - (value?: string | number | boolean | mathjs.BigNumber | mathjs.Fraction | mathjs.Unit | null | undefined): number; - (value?: mathjs.MathCollection | undefined): number | mathjs.MathCollection; - (unit: mathjs.Unit, valuelessUnit: string | mathjs.Unit): number; - }; - sparse: (data?: mathjs.MathCollection | undefined, dataType?: string | undefined) => mathjs.Matrix; - splitUnit: (unit: mathjs.Unit, parts: mathjs.Unit[]) => mathjs.Unit[]; - string: { - (value: string | mathjs.MathNumericType | mathjs.Unit | null): string; - (value: mathjs.MathCollection): mathjs.MathCollection; - }; - unit: { - (unit: string): mathjs.Unit; - (unit: mathjs.Unit): mathjs.Unit; - (value: mathjs.MathNumericType, unit: string): mathjs.Unit; - (value: mathjs.MathCollection, unit: string): mathjs.Unit[]; - }; - compile: { - (expr: mathjs.MathExpression): mathjs.EvalFunction; - (exprs: mathjs.MathExpression[]): mathjs.EvalFunction[]; - }; - evaluate: { - (expr: mathjs.MathExpression, scope?: object | undefined): any; - (expr: mathjs.MathExpression[], scope?: object | undefined): any[]; - }; - help: (search: () => any) => mathjs.Help; - parse: mathjs.ParseFunction; - parser: () => mathjs.Parser; - derivative: (expr: string | mathjs.MathNode, variable: string | mathjs.MathNode, options?: { - simplify: boolean; - } | undefined) => mathjs.MathNode; - lsolve: { - (L: mathjs.Matrix, b: mathjs.MathCollection): mathjs.Matrix; - (L: mathjs.MathArray, b: mathjs.MathCollection): mathjs.MathArray; - }; - lup: (A?: mathjs.MathCollection | undefined) => mathjs.LUDecomposition; - lusolve: { - (A: mathjs.Matrix, b: mathjs.MathCollection, order?: number | undefined, threshold?: number | undefined): mathjs.Matrix; - (A: mathjs.MathArray, b: mathjs.MathCollection, order?: number | undefined, threshold?: number | undefined): mathjs.MathArray; - (A: mathjs.LUDecomposition, b: mathjs.MathCollection): mathjs.Matrix; - }; - polynomialRoot: (constantCoeff: number | mathjs.Complex, linearCoeff: number | mathjs.Complex, quadraticCoeff?: number | mathjs.Complex | undefined, cubicCoeff?: number | mathjs.Complex | undefined) => (number | mathjs.Complex)[]; - qr: (A: mathjs.MathCollection) => mathjs.QRDecomposition; - rationalize: { - (expr: string | mathjs.MathNode, optional?: boolean | object | undefined, detailed?: false | undefined): mathjs.MathNode; - (expr: string | mathjs.MathNode, optional?: boolean | object | undefined, detailed?: true | undefined): { - expression: string | mathjs.MathNode; - variables: string[]; - coefficients: mathjs.MathType[]; - }; - }; - simplify: mathjs.Simplify; - simplifyConstant: (expr: string | mathjs.MathNode, options?: mathjs.SimplifyOptions | undefined) => mathjs.MathNode; - simplifyCore: (expr: string | mathjs.MathNode, options?: mathjs.SimplifyOptions | undefined) => mathjs.MathNode; - resolve: { - (node: string | mathjs.MathNode, scope?: Record | undefined): mathjs.MathNode; - (node: (string | mathjs.MathNode)[], scope?: Record | undefined): mathjs.MathNode[]; - (node: mathjs.Matrix, scope?: Record | undefined): mathjs.Matrix; - }; - slu: (A: mathjs.Matrix, order: number, threshold: number) => mathjs.SLUDecomposition; - usolve: { - (U: mathjs.Matrix, b: mathjs.MathCollection): mathjs.Matrix; - (U: mathjs.MathArray, b: mathjs.MathCollection): mathjs.MathArray; - }; - abs: (x: T_2) => T_2; - add: { - (x: T_3, y: T_3): T_3; - (...values: T_4[]): T_4; - (x: mathjs.MathType, y: mathjs.MathType): mathjs.MathType; - (...values: mathjs.MathType[]): mathjs.MathType; - }; - cbrt: { - (x: mathjs.Complex, allRoots?: boolean | undefined): mathjs.Complex; - (x: T_5): T_5; - }; - ceil: { - (x: T_6, n?: number | mathjs.BigNumber | undefined): mathjs.NoLiteralType; - (x: mathjs.MathNumericType, n: U): U; - }; - fix: { - (x: T_7, n?: number | mathjs.BigNumber | undefined): mathjs.NoLiteralType; - (x: mathjs.MathNumericType, n: U_1): U_1; - }; - floor: { - (x: T_8, n?: number | mathjs.BigNumber | undefined): mathjs.NoLiteralType; - (x: mathjs.MathNumericType, n: U_2): U_2; - }; - round: { - (x: T_9, n?: number | mathjs.BigNumber | undefined): mathjs.NoLiteralType; - (x: mathjs.MathNumericType, n: U_3): U_3; - (x: U_4, unit: mathjs.Unit): U_4; - (x: mathjs.Unit, unit: mathjs.Unit): mathjs.Unit; - (x: mathjs.Unit, n: number | mathjs.BigNumber, unit: mathjs.Unit): mathjs.Unit; - (x: U_5, n: number | mathjs.BigNumber, unit: mathjs.Unit): U_5; - }; - cube: (x: T_10) => T_10; - divide: { - (x: mathjs.Unit, y: mathjs.Unit): number | mathjs.Unit; - (x: mathjs.Unit, y: number): mathjs.Unit; - (x: number, y: number): number; - (x: mathjs.MathType, y: mathjs.MathType): mathjs.MathType; - }; - dotDivide: { - (x: T_11, y: mathjs.MathType): T_11; - (x: mathjs.MathType, y: T_12): T_12; - (x: mathjs.Unit, y: mathjs.MathType): mathjs.Unit; - (x: mathjs.MathType, y: mathjs.Unit): mathjs.Unit; - (x: mathjs.MathNumericType, y: mathjs.MathNumericType): mathjs.MathNumericType; - }; - dotMultiply: { - (x: T_13, y: mathjs.MathType): T_13; - (x: mathjs.MathType, y: T_14): T_14; - (x: mathjs.Unit, y: mathjs.MathType): mathjs.Unit; - (x: mathjs.MathType, y: mathjs.Unit): mathjs.Unit; - (x: mathjs.MathNumericType, y: mathjs.MathNumericType): mathjs.MathNumericType; - }; - dotPow: (x: T_15, y: mathjs.MathType) => T_15; - exp: (x: T_16) => T_16; - expm1: (x: T_17) => T_17; - gcd: { - (...args: T_18[]): T_18; - (args: T_19[]): T_19; - }; - hypot: { - (...args: T_20[]): T_20; - (args: T_21[]): T_21; - }; - lcm: (a: T_22, b: T_22) => T_22; - log: (x: T_23, base?: number | mathjs.BigNumber | mathjs.Complex | undefined) => mathjs.NoLiteralType; - log10: (x: T_24) => T_24; - log1p: (x: T_25, base?: number | mathjs.BigNumber | mathjs.Complex | undefined) => T_25; - log2: (x: T_26) => T_26; - multiply: { - (x: T_27, y: mathjs.MathType): mathjs.Matrix; - (x: mathjs.MathType, y: T_28): mathjs.Matrix; - (x: T_29, y: T_29[]): T_29; - (x: T_30[], y: T_30): T_30; - (x: T_31, y: T_31): T_31; - (x: mathjs.Unit, y: mathjs.Unit): mathjs.Unit; - (x: number, y: number): number; - (x: mathjs.MathType, y: mathjs.MathType): mathjs.MathType; - (...values: T_32[]): T_32; - (...values: mathjs.MathType[]): mathjs.MathType; - }; - norm: (x: number | mathjs.BigNumber | mathjs.Complex | mathjs.MathCollection, p?: string | number | mathjs.BigNumber | undefined) => number | mathjs.BigNumber; - nthRoot: (a: number | mathjs.BigNumber | mathjs.Complex | mathjs.MathCollection, root?: number | mathjs.BigNumber | undefined) => number | mathjs.Complex | mathjs.MathCollection; - pow: (x: mathjs.MathType, y: number | mathjs.BigNumber | mathjs.Complex) => mathjs.MathType; - sign: (x: T_33) => T_33; - sqrt: { - (x: number): number | mathjs.Complex; - (x: T_34): T_34; - }; - square: (x: T_35) => T_35; - subtract: { - (x: T_36, y: T_36): T_36; - (x: mathjs.MathType, y: mathjs.MathType): mathjs.MathType; - }; - unaryMinus: (x: T_37) => T_37; - unaryPlus: (x: T_38) => T_38; - xgcd: (a: number | mathjs.BigNumber, b: number | mathjs.BigNumber) => mathjs.MathArray; - bitAnd: (x: T_39, y: number | mathjs.BigNumber | mathjs.MathCollection) => mathjs.NoLiteralType; - bitNot: (x: T_40) => T_40; - bitOr: (x: T_41, y: T_41) => T_41; - bitXor: (x: T_42, y: number | mathjs.BigNumber | mathjs.MathCollection) => mathjs.NoLiteralType; - leftShift: (x: T_43, y: number | mathjs.BigNumber) => mathjs.NoLiteralType; - rightArithShift: (x: T_44, y: number | mathjs.BigNumber) => mathjs.NoLiteralType; - rightLogShift: (x: T_45, y: number) => mathjs.NoLiteralType; - bellNumbers: (n: T_46) => T_46; - catalan: (n: T_47) => T_47; - composition: (n: T_48, k: number | mathjs.BigNumber) => mathjs.NoLiteralType; - stirlingS2: (n: T_49, k: number | mathjs.BigNumber) => mathjs.NoLiteralType; - arg: { - (x: number | mathjs.Complex): number; - (x: mathjs.BigNumber | mathjs.Complex): mathjs.BigNumber; - (x: T_50): T_50; - }; - conj: (x: T_51) => mathjs.NoLiteralType; - im: { - (x: mathjs.MathJsChain): mathjs.MathJsChain; - (x: mathjs.MathJsChain): mathjs.MathJsChain; - }; - re: { - (x: mathjs.MathJsChain): mathjs.MathJsChain; - (x: mathjs.MathJsChain): mathjs.MathJsChain; - }; - distance: (x: object | mathjs.MathCollection, y: object | mathjs.MathCollection, z?: object | mathjs.MathCollection | undefined) => number | mathjs.BigNumber; - intersect: (w: mathjs.MathCollection, x: mathjs.MathCollection, y: mathjs.MathCollection, z?: mathjs.MathCollection | undefined) => mathjs.MathArray; - and: (x: number | mathjs.BigNumber | mathjs.Complex | mathjs.Unit | mathjs.MathCollection, y: number | mathjs.BigNumber | mathjs.Complex | mathjs.Unit | mathjs.MathCollection) => boolean | mathjs.MathCollection; - not: (x: number | mathjs.BigNumber | mathjs.Complex | mathjs.Unit | mathjs.MathCollection) => boolean | mathjs.MathCollection; - or: (x: number | mathjs.BigNumber | mathjs.Complex | mathjs.Unit | mathjs.MathCollection, y: number | mathjs.BigNumber | mathjs.Complex | mathjs.Unit | mathjs.MathCollection) => boolean | mathjs.MathCollection; - xor: (x: number | mathjs.BigNumber | mathjs.Complex | mathjs.Unit | mathjs.MathCollection, y: number | mathjs.BigNumber | mathjs.Complex | mathjs.Unit | mathjs.MathCollection) => boolean | mathjs.MathCollection; - apply: (array: T_54, dim: number, callback: (array: mathjs.MathCollection) => number) => T_54; - concat: (...args: (number | mathjs.BigNumber | mathjs.MathCollection)[]) => mathjs.MathCollection; - cross: (x: mathjs.MathCollection, y: mathjs.MathCollection) => mathjs.MathCollection; - det: (x: mathjs.MathCollection) => number; - diag: { - (X: mathjs.MathCollection, format?: string | undefined): mathjs.Matrix; - (X: mathjs.MathCollection, k: number | mathjs.BigNumber, format?: string | undefined): mathjs.MathCollection; - }; - dot: (x: mathjs.MathCollection, y: mathjs.MathCollection) => number; - eigs: { - (x: mathjs.MathCollection, opts?: number | mathjs.BigNumber | { - precision?: number | mathjs.BigNumber | undefined; - eigenvectors?: true | undefined; - } | undefined): { - values: mathjs.MathCollection; - eigenvectors: { - value: number | mathjs.BigNumber; - vector: mathjs.MathCollection; - }[]; - }; - (x: mathjs.MathCollection, opts: { - eigenvectors: false; - precision?: number | mathjs.BigNumber | undefined; - }): { - values: mathjs.MathCollection; - }; - }; - expm: (x: mathjs.Matrix) => mathjs.Matrix; - sylvester: (A: mathjs.MathCollection, B: mathjs.MathCollection, C: mathjs.MathCollection) => mathjs.MathCollection; - schur: (A: mathjs.MathCollection) => mathjs.SchurDecomposition; - lyap: (A: mathjs.MathCollection, Q: mathjs.MathCollection) => mathjs.MathCollection; - identity: { - (size: number | number[] | mathjs.MathCollection, format?: string | undefined): number | mathjs.MathCollection; - (m: number, n: number, format?: string | undefined): number | mathjs.MathCollection; - }; - filter: (x: string[] | mathjs.MathCollection, test: RegExp | ((value: any, index: any, matrix: string[] | mathjs.MathCollection) => boolean)) => mathjs.MathCollection; - flatten: (x: T_55) => T_55; - forEach: (x: T_56, callback: (value: any, index: any, matrix: T_56) => void) => void; - inv: (x: T_57) => mathjs.NoLiteralType; - kron: (x: mathjs.MathCollection, y: mathjs.MathCollection) => mathjs.Matrix; - map: (x: T_58, callback: (value: any, index: any, matrix: T_58) => string | mathjs.MathType) => T_58; - ones: { - (size?: number | number[] | mathjs.BigNumber | mathjs.BigNumber[] | undefined, format?: string | undefined): mathjs.MathCollection; - (m: number | mathjs.BigNumber, n: number | mathjs.BigNumber, format?: string | undefined): mathjs.MathCollection; - (m: number | mathjs.BigNumber, n: number | mathjs.BigNumber, p: number | mathjs.BigNumber, format?: string | undefined): mathjs.MathCollection; - }; - partitionSelect: (x: mathjs.MathCollection, k: number, compare?: "asc" | "desc" | ((a: any, b: any) => number) | undefined) => any; - pinv: (x: T_59) => T_59; - range: { - (str: string, includeEnd?: boolean | undefined): mathjs.Matrix; - (start: number | mathjs.BigNumber, end: number | mathjs.BigNumber, includeEnd?: boolean | undefined): mathjs.Matrix; - (start: number | mathjs.BigNumber | mathjs.Unit, end: number | mathjs.BigNumber | mathjs.Unit, step: number | mathjs.BigNumber | mathjs.Unit, includeEnd?: boolean | undefined): mathjs.Matrix; - }; - reshape: (x: T_60, sizes: number[]) => T_60; - resize: (x: T_61, size: mathjs.MathCollection, defaultValue?: string | number | undefined) => T_61; - rotationMatrix: (theta?: number | mathjs.BigNumber | mathjs.Complex | mathjs.Unit | undefined, axis?: T_62 | undefined, format?: "sparse" | "dense" | undefined) => T_62; - row: (value: T_63, row: number) => T_63; - column: (value: T_64, column: number) => T_64; - rotate: (w: T_65, theta: number | mathjs.BigNumber | mathjs.Complex | mathjs.Unit, v?: T_65 | undefined) => T_65; - size: (x: string | number | boolean | mathjs.Complex | mathjs.Unit | mathjs.MathCollection) => mathjs.MathCollection; - sort: (x: T_66, compare: "asc" | "desc" | ((a: any, b: any) => number) | "natural") => T_66; - sqrtm: (A: T_67) => T_67; - squeeze: (x: T_68) => T_68; - subset: (value: T_69, index: mathjs.Index, replacement?: any, defaultValue?: any) => T_69; - trace: (x: mathjs.MathCollection) => number; - transpose: (x: T_70) => T_70; - zeros: { - (size?: number | number[] | mathjs.BigNumber | mathjs.BigNumber[] | undefined, format?: string | undefined): mathjs.MathCollection; - (m: number | mathjs.BigNumber, n: number | mathjs.BigNumber, format?: string | undefined): mathjs.MathCollection; - (m: number | mathjs.BigNumber, n: number | mathjs.BigNumber, p: number | mathjs.BigNumber, format?: string | undefined): mathjs.MathCollection; - }; - fft: (arr: T_71) => T_71; - ifft: (arr: T_72) => T_72; - factorial: (n: T_73) => mathjs.NoLiteralType; - gamma: (n: T_74) => mathjs.NoLiteralType; - kldivergence: (q: mathjs.MathCollection, p: mathjs.MathCollection) => number; - lgamma: (n: T_75) => mathjs.NoLiteralType; - multinomial: (a: T_76[]) => mathjs.NoLiteralType; - permutations: (n: T_77, k?: number | mathjs.BigNumber | undefined) => mathjs.NoLiteralType; - pickRandom: { - (array: T_78[]): T_78; - (array: T_79[], number: number): T_79[]; - (array: T_80[], number: number, weights: number[]): T_80[]; - }; - random: { - (min?: number | undefined, max?: number | undefined): number; - (size: T_81, min?: number | undefined, max?: number | undefined): T_81; - }; - randomInt: { - (min: number, max?: number | undefined): number; - (size: T_82, min?: number | undefined, max?: number | undefined): T_82; - }; - compare: (x: string | mathjs.MathType, y: string | mathjs.MathType) => number | mathjs.BigNumber | mathjs.Fraction | mathjs.MathCollection; - compareNatural: (x: any, y: any) => number; - compareText: (x: string | mathjs.MathCollection, y: string | mathjs.MathCollection) => number | mathjs.MathCollection; - deepEqual: (x: mathjs.MathType, y: mathjs.MathType) => mathjs.MathType; - equal: (x: string | mathjs.MathType, y: string | mathjs.MathType) => boolean | mathjs.MathCollection; - equalText: (x: string | mathjs.MathCollection, y: string | mathjs.MathCollection) => number | mathjs.MathCollection; - larger: (x: string | mathjs.MathType, y: string | mathjs.MathType) => boolean | mathjs.MathCollection; - largerEq: (x: string | mathjs.MathType, y: string | mathjs.MathType) => boolean | mathjs.MathCollection; - smaller: (x: string | mathjs.MathType, y: string | mathjs.MathType) => boolean | mathjs.MathCollection; - smallerEq: (x: string | mathjs.MathType, y: string | mathjs.MathType) => boolean | mathjs.MathCollection; - unequal: (x: string | mathjs.MathType, y: string | mathjs.MathType) => boolean | mathjs.MathCollection; - setCartesian: (a1: T_83, a2: mathjs.MathCollection) => T_83; - setDifference: (a1: T_84, a2: mathjs.MathCollection) => T_84; - setDistinct: (a: T_85) => T_85; - setIntersect: (a1: T_86, a2: mathjs.MathCollection) => T_86; - setIsSubset: (a1: mathjs.MathCollection, a2: mathjs.MathCollection) => boolean; - setMultiplicity: (e: mathjs.MathNumericType, a: mathjs.MathCollection) => number; - setPowerset: (a: T_87) => T_87; - setSize: (a: mathjs.MathCollection) => number; - setSymDifference: (a1: T_88, a2: mathjs.MathCollection) => T_88; - setUnion: (a1: T_89, a2: mathjs.MathCollection) => T_89; - zpk2tf: (z: T_90, p: T_90, k?: number | undefined) => T_90; - freqz: (b: T_91, a: T_91, w?: number | T_91 | undefined) => { - w: T_91; - h: T_91; - }; - erf: (x: T_92) => mathjs.NoLiteralType; - zeta: (s: T_93) => T_93; - mad: (array: mathjs.MathCollection) => any; - max: { - (...args: T_94[]): T_94; - (...args: mathjs.MathScalarType[]): mathjs.MathScalarType; - (A: T_95[] | T_95[][], dimension?: number | mathjs.BigNumber | undefined): T_95; - (A: mathjs.MathCollection, dimension?: number | mathjs.BigNumber | undefined): mathjs.MathScalarType; - }; - mean: { - (...args: T_96[]): T_96; - (...args: mathjs.MathScalarType[]): mathjs.MathScalarType; - (A: T_97[] | T_97[][], dimension?: number | mathjs.BigNumber | undefined): T_97; - (A: mathjs.MathCollection, dimension?: number | mathjs.BigNumber | undefined): mathjs.MathScalarType; - }; - median: { - (...args: T_98[]): T_98; - (...args: mathjs.MathScalarType[]): mathjs.MathScalarType; - (A: T_99[] | T_99[][]): T_99; - (A: mathjs.MathCollection): mathjs.MathScalarType; - }; - min: { - (...args: T_100[]): T_100; - (...args: mathjs.MathScalarType[]): mathjs.MathScalarType; - (A: T_101[] | T_101[][], dimension?: number | mathjs.BigNumber | undefined): T_101; - (A: mathjs.MathCollection, dimension?: number | mathjs.BigNumber | undefined): mathjs.MathScalarType; - }; - mode: { - (...args: T_102[]): T_102[]; - (...args: mathjs.MathScalarType[]): mathjs.MathScalarType[]; - (A: T_103[] | T_103[][]): T_103[]; - (A: mathjs.MathCollection): mathjs.MathScalarType[]; - }; - prod: { - (...args: T_104[]): T_104; - (...args: mathjs.MathScalarType[]): mathjs.MathScalarType; - (A: T_105[] | T_105[][]): T_105; - (A: mathjs.MathCollection): mathjs.MathScalarType; - }; - quantileSeq: { - (A: T_106[] | T_106[][], prob: number | mathjs.BigNumber | mathjs.MathArray, sorted?: boolean | undefined): T_106; - (A: mathjs.MathCollection, prob: number | mathjs.BigNumber | mathjs.MathArray, sorted?: boolean | undefined): mathjs.MathScalarType | mathjs.MathArray; - }; - std: { - (...args: T_107[]): T_107; - (...args: mathjs.MathScalarType[]): mathjs.MathScalarType; - (array: mathjs.MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): mathjs.MathNumericType[]; - (array: mathjs.MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): mathjs.MathNumericType; - }; - sum: { - (...args: T_108[]): T_108; - (...args: mathjs.MathScalarType[]): mathjs.MathScalarType; - (A: T_109[] | T_109[][], dimension?: number | mathjs.BigNumber | undefined): T_109; - (A: mathjs.MathCollection, dimension?: number | mathjs.BigNumber | undefined): mathjs.MathScalarType; - }; - count: (x: string | mathjs.MathCollection) => number; - cumsum: { - (...args: mathjs.MathType[]): mathjs.MathType[]; - (array: mathjs.MathCollection, dim?: number | undefined): mathjs.MathCollection; - }; - variance: { - (...args: mathjs.MathNumericType[]): mathjs.MathNumericType; - (array: mathjs.MathCollection, dimension?: number | undefined, normalization?: "unbiased" | "uncorrected" | "biased" | undefined): mathjs.MathNumericType[]; - (array: mathjs.MathCollection, normalization: "unbiased" | "uncorrected" | "biased"): mathjs.MathNumericType; - }; - corr: (x: mathjs.MathCollection, y: mathjs.MathCollection) => mathjs.MathType; - format: (value: any, options?: number | mathjs.BigNumber | mathjs.FormatOptions | ((item: any) => string) | undefined, callback?: ((value: any) => string) | undefined) => string; - print: (template: string, values: any, precision?: number | undefined, options?: number | object | undefined) => void; - acos: { - (x: number): number | mathjs.Complex; - (x: T_110): T_110; - }; - acosh: { - (x: number): number | mathjs.Complex; - (x: T_111): T_111; - }; - acot: { - (x: number): number; - (x: T_112): T_112; - }; - acoth: { - (x: number): number; - (x: T_113): T_113; - }; - acsc: { - (x: number): number | mathjs.Complex; - (x: T_114): T_114; - }; - acsch: { - (x: number): number; - (x: T_115): T_115; - }; - asec: { - (x: number): number | mathjs.Complex; - (x: T_116): T_116; - }; - asech: { - (x: number): number | mathjs.Complex; - (x: T_117): T_117; - }; - asin: { - (x: number): number | mathjs.Complex; - (x: T_118): T_118; - }; - asinh: (x: T_119) => T_119; - atan: (x: T_120) => T_120; - atan2: (y: T_121, x: T_121) => T_121; - atanh: { - (x: number): number | mathjs.Complex; - (x: T_122): T_122; - }; - cos: { - (x: number | mathjs.Unit): number; - (x: T_123): T_123; - }; - cosh: { - (x: number | mathjs.Unit): number; - (x: T_124): T_124; - }; - cot: { - (x: number | mathjs.Unit): number; - (x: T_125): T_125; - }; - coth: { - (x: number | mathjs.Unit): number; - (x: T_126): T_126; - }; - csc: { - (x: number | mathjs.Unit): number; - (x: T_127): T_127; - }; - csch: { - (x: number | mathjs.Unit): number; - (x: T_128): T_128; - }; - sec: { - (x: number | mathjs.Unit): number; - (x: T_129): T_129; - }; - sech: { - (x: number | mathjs.Unit): number; - (x: T_130): T_130; - }; - sin: { - (x: number | mathjs.Unit): number; - (x: T_131): T_131; - }; - sinh: { - (x: number | mathjs.Unit): number; - (x: T_132): T_132; - }; - tan: { - (x: number | mathjs.Unit): number; - (x: T_133): T_133; - }; - tanh: { - (x: number | mathjs.Unit): number; - (x: T_134): T_134; - }; - to: (x: mathjs.Unit | mathjs.MathCollection, unit: string | mathjs.Unit) => mathjs.Unit | mathjs.MathCollection; - isNumber: (x: unknown) => x is number; - isBigNumber: (x: unknown) => x is mathjs.BigNumber; - isComplex: (x: unknown) => x is mathjs.Complex; - isFraction: (x: unknown) => x is mathjs.Fraction; - isUnit: (x: unknown) => x is mathjs.Unit; - isString: (x: unknown) => x is string; - isArray: (arg: any) => arg is any[]; - isMatrix: (x: unknown) => x is mathjs.Matrix; - isCollection: (x: unknown) => x is any[] | mathjs.Matrix; - isDenseMatrix: (x: unknown) => x is mathjs.Matrix; - isSparseMatrix: (x: unknown) => x is mathjs.Matrix; - isRange: (x: unknown) => boolean; - isIndex: (x: unknown) => x is mathjs.Index; - isBoolean: (x: unknown) => x is boolean; - isResultSet: (x: unknown) => boolean; - isHelp: (x: unknown) => x is mathjs.Help; - isFunction: (x: unknown) => boolean; - isDate: (x: unknown) => x is Date; - isRegExp: (x: unknown) => x is RegExp; - isObject: (x: unknown) => boolean; - isNull: (x: unknown) => x is null; - isUndefined: (x: unknown) => x is undefined; - isAccessorNode: (x: unknown) => x is mathjs.AccessorNode; - isArrayNode: (x: unknown) => x is mathjs.ArrayNode; - isAssignmentNode: (x: unknown) => x is mathjs.AssignmentNode; - isBlockNode: (x: unknown) => x is mathjs.BlockNode; - isConditionalNode: (x: unknown) => x is mathjs.ConditionalNode; - isConstantNode: (x: unknown) => x is mathjs.ConstantNode; - isFunctionAssignmentNode: (x: unknown) => x is mathjs.FunctionAssignmentNode; - isFunctionNode: (x: unknown) => x is mathjs.FunctionNode; - isIndexNode: (x: unknown) => x is mathjs.IndexNode; - isNode: (x: unknown) => x is mathjs.MathNode; - isObjectNode: (x: unknown) => x is mathjs.ObjectNode>; - isOperatorNode: (x: unknown) => x is mathjs.OperatorNode; - isParenthesisNode: (x: unknown) => x is mathjs.ParenthesisNode; - isRangeNode: (x: unknown) => x is mathjs.RangeNode; - isRelationalNode: (x: unknown) => x is mathjs.RelationalNode; - isSymbolNode: (x: unknown) => x is mathjs.SymbolNode; - isChain: (x: unknown) => x is mathjs.MathJsChain; - clone: (x: TType) => TType; - hasNumericValue: (x: any) => boolean | boolean[]; - isInteger: (x: number | mathjs.BigNumber | mathjs.Fraction | mathjs.MathCollection) => boolean; - isNaN: (x: number | mathjs.BigNumber | mathjs.Fraction | mathjs.Unit | mathjs.MathCollection) => boolean; - isNegative: (x: number | mathjs.BigNumber | mathjs.Fraction | mathjs.Unit | mathjs.MathCollection) => boolean; - isNumeric: (x: any) => x is number | boolean | mathjs.BigNumber | mathjs.Fraction; - isPositive: (x: number | mathjs.BigNumber | mathjs.Fraction | mathjs.Unit | mathjs.MathCollection) => boolean; - isPrime: (x: number | mathjs.BigNumber | mathjs.MathCollection) => boolean; - isZero: (x: mathjs.MathType) => boolean; - typeOf: (x: any) => string; -}; -export default _default; diff --git a/dist/js/shared/math.js b/dist/js/shared/math.js deleted file mode 100644 index 2c89a4a..0000000 --- a/dist/js/shared/math.js +++ /dev/null @@ -1,283 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.numberToPrecision = exports.roundArrayOrNumber = exports.roundCustom = exports.RoundingMethodEnum = void 0; -const decimal_js_1 = require("decimal.js"); -const mathjs = __importStar(require("mathjs")); -const constants_1 = require("./constants"); -/* - * @summary Same as `combinations` but accepting intervals (tuples) of integers: eg. [-3, 4] - */ -const /** - * @summary Zero threshold. Numbers below it are put to zero exactly. - * Used to avoid mathjs.js bug in treating zero as X.XXe-16. - */ EPSILON = 1e-8, -/** - * @summary Returns scalar product of vectors - * @param v1 Vector 1 - * @param v2 Vector 2 - */ -product = (v1, v2) => { - return mathjs.multiply(v1, mathjs.transpose(v2)); -}, -/** - * @summary Returns length of a vector. - * @param v Vector - */ -vlen = (v) => { - // @ts-ignore - return mathjs.sqrt(product(v, v)); -}, -/** - * @summary Returns angle between `a` and `b` vectors. - * @param a Vector a - * @param b Vector b - * @param unit `rad`, `deg` - */ -angle = (a, b, unit) => { - const lenA = vlen(a); - const lenB = vlen(b); - return (mathjs - // @ts-ignore - .unit(mathjs.acos(product(a, b) / (lenA * lenB)), "rad") - .toNumber(unit || "deg")); -}, angleUpTo90 = (a, b, unit) => { - const angleUpTo180 = angle(a, b, unit); - return angleUpTo180 < 90 ? angleUpTo180 : 180 - angleUpTo180; -}, -/** - * @summary Returns distance between 2 vectors. - * @param v1 {Number[]} Vector - * @param v2 {Number[]} Vector - * @return {Number} - */ -vDist = (v1, v2) => { - if (v1.length !== v2.length) { - console.error("Attempting to calculate distance between vectors of different dimensionality"); - } - return vlen(v1.map((coordinate, index) => coordinate - v2[index])); -}, -/** - * @summary Returns checks whether 2 vector are equal within tolerance. - * @param vec1 {Number[]} Vector - * @param vec2 {Number[]} Vector - * @param tolerance {Number} Tolerance - * @return {Number} - */ -vEqualWithTolerance = (vec1, vec2, tolerance = constants_1.tolerance.pointsDistance) => { - const val = vDist(vec1, vec2); - if (typeof val === "undefined") { - return false; - } - // @ts-ignore - return val <= tolerance; -}, -/** - * @summary Returns 0 if passed number is less than Made.mathjs.EPSILON. - * @param n {Number} - * @return {Number} - */ -roundToZero = (n) => { - return Math.abs(n) < EPSILON ? 0 : n; -}, -/** - * @summary Returns number with specified precision. - */ -precise = (x, n = 7) => { - return Number(x.toPrecision(n)); -}, -/** - * @summary Returns mod of the passed value with the specified tolerance. - */ -mod = (num, tolerance = 0.001) => { - const m = num % 1; - const x = num >= 0 ? m : 1 + m; - if (mathjs.smallerEq(Math.abs(x - 1), tolerance) || - mathjs.smallerEq(Math.abs(x), tolerance)) { - return 0; - } - return x; -}, -/** - * @summary Returns cartesian of passed arrays. - * @example combinations([1,2], [4,5], [6]) = [[1,4,6], [1,5,6], [2,4,6], [2,5,6]]; - */ -cartesianProduct = (...arg) => { - const r = []; - const max = arg.length - 1; - const helper = (arr, i) => { - for (let j = 0, l = arg[i].length; j < l; j++) { - const a = arr.slice(0); // clone arr - a.push(arg[i][j]); - if (i === max) { - r.push(a); - } - else { - helper(a, i + 1); - } - } - }; - helper([], 0); - return r; -}, -/** - * @summary Returns all possible positive integer combinations where each value changes from 0 to a, b, c. - */ -almostEqual = (a, b, tolerance = constants_1.tolerance.pointsDistance) => { - return Math.abs(a - b) < tolerance; -}, -/** - * @summary Returns true if number is 0 <= x < 1, inclusive, otherwise false. - * Helper to deal with JS arithmetic artifacts. - */ -isBetweenZeroInclusiveAndOne = (number, tolerance = constants_1.tolerance.length) => { - return roundToZero(number) >= 0 && !almostEqual(number, 1, tolerance) && number < 1; -}, -/** - * @summary Returns all possible positive integer combinations where each value changes from 0 to a, b, c. - * @example - * var comb = combinations(1, 2, 0); - * // [[0, 0, 0], [0, 1, 0], [0, 2, 0], [1, 0, 0], [1, 1, 0], [1, 2, 0]] - * @param a - * @param b - * @param c - */ -combinations = (a, b, c) => { - const combs = []; - for (let i = 0; i <= a; i++) { - for (let j = 0; j <= b; j++) { - for (let k = 0; k <= c; k++) { - combs.push([i, j, k]); - } - } - } - return combs; -}, combinationsFromIntervals = (arrA, arrB, arrC) => { - const combs = []; - for (let i = arrA[0]; i <= arrA[1]; i++) { - for (let j = arrB[0]; j <= arrB[1]; j++) { - for (let k = arrC[0]; k <= arrC[1]; k++) { - combs.push([i, j, k]); - } - } - } - return combs; -}, roundValueToNDecimals = (value, decimals = 3) => { - return parseFloat(value.toFixed(decimals)); -}, -/** - * @summary Returns n splits of the passed segment. - */ -calculateSegmentsBetweenPoints3D = (point1, point2, n) => { - // safely parse if passed strings - const point1_ = point1.map((x) => (typeof x === "string" ? parseFloat(x) : x)); - const point2_ = point2.map((x) => (typeof x === "string" ? parseFloat(x) : x)); - const n_ = typeof n === "string" ? parseInt(n, 10) : n; - const result = []; - for (let i = 1; i < n_; i++) { - const lambda = i / (n_ - i); - result.push([ - (point1_[0] + lambda * point2_[0]) / (1 + lambda), - (point1_[1] + lambda * point2_[1]) / (1 + lambda), - (point1_[2] + lambda * point2_[2]) / (1 + lambda), - ]); - } - return result; -}; -/** - * Rounding modes using decimal.js constants. - * Bankers (round half to even) is the default — matches Python's np.round and built-in round(). - * See: https://en.wikipedia.org/wiki/Rounding#Rounding_half_to_even - */ -exports.RoundingMethodEnum = { - Bankers: decimal_js_1.Decimal.ROUND_HALF_EVEN, - HalfAwayFromZero: decimal_js_1.Decimal.ROUND_HALF_UP, -}; -/** - * Round a number to the specified number of decimal places. - * Uses decimal.js for correctness. Defaults to Bankers rounding (round half to even). - * @param value - The number to round. - * @param decimals - Number of decimal places (default: 0). - * @param mode - Rounding mode from decimal.js (default: ROUND_HALF_EVEN). - */ -const roundCustom = (value, decimals = 0, mode = exports.RoundingMethodEnum.Bankers) => { - return new decimal_js_1.Decimal(value).toDecimalPlaces(decimals, mode).toNumber(); -}; -exports.roundCustom = roundCustom; -/** - * Round a number or each element of an array to the specified number of decimal places. - * Non-number values are passed through unchanged. - * @param value - A number, array of numbers, or mixed array. - * @param decimals - Number of decimal places (default: 9). - * @param mode - Rounding mode from decimal.js (default: ROUND_HALF_EVEN). - */ -const roundArrayOrNumber = (value, decimals = 9, mode = exports.RoundingMethodEnum.Bankers) => { - if (Array.isArray(value)) { - return value.map((v) => (typeof v === "number" ? (0, exports.roundCustom)(v, decimals, mode) : v)); - } - return typeof value === "number" ? (0, exports.roundCustom)(value, decimals, mode) : value; -}; -exports.roundArrayOrNumber = roundArrayOrNumber; -/** - * @summary Wrapper for native [Number.toPrecision](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_objects/Number/toPrecision) method. - * Returns a string representing the Number object to the specified precision. - * @locus Client - * @method - * @name toPrecision - * @param number - * @param precision Optional. An integer specifying the number of significant digits. - */ -function numberToPrecision(number, precision) { - if (typeof number === "number") { - return number.toPrecision(precision); - } - return String(number); -} -exports.numberToPrecision = numberToPrecision; -exports.default = { - ...mathjs, - PI: Math.PI, - trunc: Math.trunc, - product, - vlen, - angle, - angleUpTo90, - vDist, - vEqualWithTolerance, - roundToZero, - precise, - mod, - isBetweenZeroInclusiveAndOne, - cartesianProduct, - almostEqual, - combinations, - combinationsFromIntervals, - calculateSegmentsBetweenPoints3D, - roundValueToNDecimals, - numberToPrecision, - roundCustom: exports.roundCustom, - RoundingMethod: exports.RoundingMethodEnum, - roundArrayOrNumber: exports.roundArrayOrNumber, -}; diff --git a/dist/js/shared/object.d.ts b/dist/js/shared/object.d.ts deleted file mode 100644 index fefe1e6..0000000 --- a/dist/js/shared/object.d.ts +++ /dev/null @@ -1,122 +0,0 @@ -export interface NameOrObjectWithNameKey { - name: string; -} -/** - * @summary Safely convert input to { name: str } if it is not already - * @param name {String|Object} the input to convert - * @returns result {Object|null} converted object if any - */ -export declare function safeMakeObject(name: string | NameOrObjectWithNameKey): NameOrObjectWithNameKey; -/** - * @summary Pluck a single entry out of an iterable according to an attribute and match condition - */ -export declare function getOneMatchFromObject(obj: object, attribute: string, value: unknown): unknown; -/** - * @summary Converts all keys of object to camelCase. - */ -export declare function convertKeysToCamelCaseForObject(obj: object): import("lodash").Dictionary; -export declare function renameKeysForObject(o: T, keysOriginal: string[], keysRenamed: string[]): T; -export interface NameValueObject { - name: string; - value: unknown; - [key: string]: unknown; -} -/** - * @summary Converts object into string. Recursive. Required properties for object: "name", "value". - * "units" property is ignored. Only one extra property is allowed. Function is called recursively on extraProperty. - * E.g. {name: "propName", value: 1} -> 'propName=1' - * {name: "propName", value: 1, extraProp: {name: "extraPropName", value: "2"}} -> "propName=1:extraPropName=2" - * @param {Object} obj Object to stringify. - * @param {String} [levelSeparator] ':' by default. - * @param {String} [keyValueSeparator] '=' by default. - * @param {String} [prefix] Empty by default. - */ -export declare function stringifyObject(obj: NameValueObject, levelSeparator?: string, keyValueSeparator?: string, prefix?: string): string; -/** - * @summary Flattens complex object into object with single key-value pair. Required properties for object: "name", "value". - * "units" property is ignored. Only one extra property is allowed. E.g. - * {name: 'propName', value: 1} -> {propName: 1} - * {name: "propName", value: 1, extraProp: {name: "extraPropName", value: "2"}} -> {"propName:extraPropName=2": 1} - * @param {Object} obj Object to stringify. - * @param {String} [levelSeparator] ':' by default. - * @param {String} [keyValueSeparator] '=' by default. - * @param {String} [suffix] - * @return {Object} - */ -export declare function flattenObject(obj: NameValueObject, levelSeparator?: string, keyValueSeparator?: string, suffix?: string | undefined): { - [x: string]: unknown; -}; -/** - * Sort object keys alphabetically - */ -export declare function sortKeysDeepForObject(obj: T): T; -/** - * Sort object keys alphabetically with excluded keys first (original order), then the rest sorted via sortKeysDeepForObject. - * Excluded keys are removed from the sort order; the remaining key set is sorted with sortKeysDeepForObject. - * @param obj - Object to sort (recursively) - * @param excludeKeys - Keys to leave out of sorting; these appear first in their original order at each level (default: []) - */ -export declare function sortKeysDeepForObjectWithExclude(obj: T, excludeKeys?: string[]): T; -interface Tree { - [key: string]: Tree | T[]; -} -/** - * Merge terminal node values of an object tree. - * @param tree - Nested object - * @param unique - Whether merged list should consist of unique items - * @return Merged list of values of terminal nodes. - * @example - * const tree = { - * level1: { - * level2a: { - * level3a: { - * key1: ['a', 'b', 'c'], - * }, - * level3b: { - * key2: ['d', 'e', 'f'], - * }, - * }, - * level2b: { - * level3c: { - * key3: ['g', 'h', 'i'], - * }, - * level3d: { - * key4: ['j', 'k', 'l'], - * }, - * }, - * }, - * }; - * mergeTerminalNodes(tree); // ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l'] - */ -export declare function mergeTerminalNodes(tree: Tree, unique?: boolean): T[]; -/** - * Flattens nested object structure to single-level object. - * Useful for extracting entities from deeply nested configurations. - */ -export declare function flattenNestedObjects(nestedData: Record>, filterFunction?: (item: T) => boolean): Record; -/** - * Recursively walks a plain object (or array) and applies a mapping function - * to every nested plain-object node. - * - * Non-plain objects (class instances, Date, RegExp, etc.) and primitives are - * returned unchanged. - * - * @param object - The value to traverse. - * @param mapValue - A function called on every plain-object node. If it returns - * a truthy value, that value replaces the node (and its children are still - * traversed). If it returns a falsy value the original node is kept. - * @returns A new object tree with the mapping applied. - * - * @example - * ```ts - * const result = mapObjectDeep( - * { a: { val: "$ref.x" }, b: [{ val: "$ref.y" }] }, - * (node) => { - * if (node.val?.startsWith("$ref.")) return { ...node, val: "resolved" }; - * }, - * ); - * // { a: { val: "resolved" }, b: [{ val: "resolved" }] } - * ``` - */ -export declare function mapObjectDeep(object: any, mapValue: (node: any) => any | undefined): any; -export {}; diff --git a/dist/js/shared/object.js b/dist/js/shared/object.js deleted file mode 100644 index f2efb65..0000000 --- a/dist/js/shared/object.js +++ /dev/null @@ -1,296 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.mapObjectDeep = exports.flattenNestedObjects = exports.mergeTerminalNodes = exports.sortKeysDeepForObjectWithExclude = exports.sortKeysDeepForObject = exports.flattenObject = exports.stringifyObject = exports.renameKeysForObject = exports.convertKeysToCamelCaseForObject = exports.getOneMatchFromObject = exports.safeMakeObject = void 0; -const camelCase_1 = __importDefault(require("lodash/camelCase")); -const filter_1 = __importDefault(require("lodash/filter")); -const isArray_1 = __importDefault(require("lodash/isArray")); -const isEmpty_1 = __importDefault(require("lodash/isEmpty")); -const isObject_1 = __importDefault(require("lodash/isObject")); -const isPlainObject_1 = __importDefault(require("lodash/isPlainObject")); -const isString_1 = __importDefault(require("lodash/isString")); -const mapKeys_1 = __importDefault(require("lodash/mapKeys")); -const omit_1 = __importDefault(require("lodash/omit")); -const array_1 = require("./array"); -const clone_1 = require("./clone"); -/** - * @summary Safely convert input to { name: str } if it is not already - * @param name {String|Object} the input to convert - * @returns result {Object|null} converted object if any - */ -function safeMakeObject(name) { - if (!name) { - throw new Error("safeMakeObject: name is required"); - } - const result = (0, isString_1.default)(name) ? { name } : name; - if (!(0, isObject_1.default)(result) || (0, isArray_1.default)(result) || !result.name) { - throw new Error(`safeMakeObject: failed creating named object, found ${result}`); - } - return result; -} -exports.safeMakeObject = safeMakeObject; -/** - * @summary Pluck a single entry out of an iterable according to an attribute and match condition - */ -function getOneMatchFromObject(obj, attribute, value) { - const filtered = (0, filter_1.default)(obj, [attribute, value]); - if (filtered.length !== 1) { - console.log(`found ${filtered.length} ${attribute} matching ${value}, expected 1.`); - } - if (!filtered.length) { - return null; - } - return filtered[0]; -} -exports.getOneMatchFromObject = getOneMatchFromObject; -/** - * @summary Converts all keys of object to camelCase. - */ -function convertKeysToCamelCaseForObject(obj) { - const newObj = (0, clone_1.deepClone)(obj); - return (0, mapKeys_1.default)(newObj, (_v, k) => (0, camelCase_1.default)(k)); -} -exports.convertKeysToCamelCaseForObject = convertKeysToCamelCaseForObject; -function renameKeysForObject( -// eslint-disable-next-line @typescript-eslint/no-explicit-any -o, keysOriginal = [], keysRenamed = []) { - if (!(0, isObject_1.default)(o)) { - return o; - } - if ((0, isArray_1.default)(o)) { - return o.map((x) => renameKeysForObject(x, keysOriginal, keysRenamed)); - } - const result = {}; - Object.entries(o).map(([origKey, origValue]) => { - // Get the destination key - const idx = keysOriginal.indexOf(origKey); - const destKey = idx === -1 ? origKey : keysRenamed[idx]; - // @ts-ignore - result[destKey] = - typeof origValue === "object" - ? renameKeysForObject(origValue, keysOriginal, keysRenamed) - : origValue; - return null; - }); - return result; -} -exports.renameKeysForObject = renameKeysForObject; -/** - * @summary Converts object into string. Recursive. Required properties for object: "name", "value". - * "units" property is ignored. Only one extra property is allowed. Function is called recursively on extraProperty. - * E.g. {name: "propName", value: 1} -> 'propName=1' - * {name: "propName", value: 1, extraProp: {name: "extraPropName", value: "2"}} -> "propName=1:extraPropName=2" - * @param {Object} obj Object to stringify. - * @param {String} [levelSeparator] ':' by default. - * @param {String} [keyValueSeparator] '=' by default. - * @param {String} [prefix] Empty by default. - */ -function stringifyObject(obj, levelSeparator = ":", keyValueSeparator = "=", prefix = "") { - const requiredKeys = ["name", "value"]; - const allowedKeys = requiredKeys.concat(["units"]); - const extraKeys = Object.keys((0, omit_1.default)(obj, allowedKeys)); - // If there is more than one extra key, raise an exception - if (extraKeys.length > 1) { - throw new Error("stringifyObject: more than one extra property"); - } - if (extraKeys.length === 0) { - return `${obj.name}${keyValueSeparator}${obj.value}`; - } - const extraPropertyKey = extraKeys[0]; - // @ts-ignore - const extraPropertyValue = obj[extraKeys[0]]; - // eslint-disable-next-line no-param-reassign - prefix = (0, isEmpty_1.default)(prefix) - ? `${obj.name}${keyValueSeparator}${obj.value}` - : `${prefix}${levelSeparator}${obj.name}${keyValueSeparator}${obj.value}`; - if (!(0, isObject_1.default)(extraPropertyValue)) { - return `${prefix}:${extraPropertyKey}${keyValueSeparator}${extraPropertyValue}`; - } - // @ts-ignore - return stringifyObject(extraPropertyValue, levelSeparator, keyValueSeparator, prefix); -} -exports.stringifyObject = stringifyObject; -/** - * @summary Flattens complex object into object with single key-value pair. Required properties for object: "name", "value". - * "units" property is ignored. Only one extra property is allowed. E.g. - * {name: 'propName', value: 1} -> {propName: 1} - * {name: "propName", value: 1, extraProp: {name: "extraPropName", value: "2"}} -> {"propName:extraPropName=2": 1} - * @param {Object} obj Object to stringify. - * @param {String} [levelSeparator] ':' by default. - * @param {String} [keyValueSeparator] '=' by default. - * @param {String} [suffix] - * @return {Object} - */ -// eslint-disable-next-line default-param-last -function flattenObject(obj, levelSeparator = ":", keyValueSeparator = "=", suffix = undefined) { - const requiredKeys = ["name", "value"]; - const allowedKeys = requiredKeys.concat(["units"]); - const extraKeys = Object.keys((0, omit_1.default)(obj, allowedKeys)); - // If there is more than one extra key, raise an exception - if (extraKeys.length > 1) { - throw new Error("flattenObject: more than one extra property"); - } - const tailSuffix = (0, isEmpty_1.default)(suffix) ? "" : `${levelSeparator}${suffix}`; - if (extraKeys.length === 0) { - return { [`${obj.name}${tailSuffix}`]: obj.value }; - } - const extraPropertyKey = extraKeys[0]; - const extraPropertyValue = obj[extraKeys[0]]; - if (!(0, isObject_1.default)(extraPropertyValue)) { - return { - [`${obj.name}${levelSeparator}${extraPropertyKey}=${extraPropertyValue}${tailSuffix}`]: obj.value, - }; - } - const flatSubObj = stringifyObject(extraPropertyValue, levelSeparator, keyValueSeparator); - const key = `${obj.name}${levelSeparator}${flatSubObj}${tailSuffix}`; - return { [key]: obj.value }; -} -exports.flattenObject = flattenObject; -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function sortKeysDeepForObject(obj) { - if (Array.isArray(obj)) { - return obj.map(sortKeysDeepForObject); - } - if ((0, isObject_1.default)(obj)) { - const sortedObject = {}; - Object.keys(obj) - .sort() - // @ts-ignore - .map((key) => (sortedObject[key] = sortKeysDeepForObject(obj[key]))); - return sortedObject; - } - return obj; -} -exports.sortKeysDeepForObject = sortKeysDeepForObject; -/** - * Recursive helper: excluded keys first, then sortKeysDeepForObject(rest). Exclude set optional. - */ -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function sortWithExcludeRecursive(o, excludeSet) { - if (Array.isArray(o)) { - return o.map((item) => sortWithExcludeRecursive(item, excludeSet)); - } - if ((0, isObject_1.default)(o)) { - const keys = Object.keys(o); - const excluded = keys.filter((k) => { var _a; return (_a = excludeSet === null || excludeSet === void 0 ? void 0 : excludeSet.has(k)) !== null && _a !== void 0 ? _a : false; }); - const toSort = keys.filter((k) => { var _a; return !((_a = excludeSet === null || excludeSet === void 0 ? void 0 : excludeSet.has(k)) !== null && _a !== void 0 ? _a : false); }); - toSort.sort(); - const orderedKeys = [...excluded, ...toSort]; - const result = {}; - for (const key of orderedKeys) { - result[key] = sortWithExcludeRecursive(o[key], excludeSet); - } - return result; - } - return o; -} -// eslint-disable-next-line @typescript-eslint/no-explicit-any -function sortKeysDeepForObjectWithExclude(obj, excludeKeys = []) { - return sortWithExcludeRecursive(obj, new Set(excludeKeys)); -} -exports.sortKeysDeepForObjectWithExclude = sortKeysDeepForObjectWithExclude; -function isTreeObject(value) { - return (0, isPlainObject_1.default)(value); -} -/** - * Merge terminal node values of an object tree. - * @param tree - Nested object - * @param unique - Whether merged list should consist of unique items - * @return Merged list of values of terminal nodes. - * @example - * const tree = { - * level1: { - * level2a: { - * level3a: { - * key1: ['a', 'b', 'c'], - * }, - * level3b: { - * key2: ['d', 'e', 'f'], - * }, - * }, - * level2b: { - * level3c: { - * key3: ['g', 'h', 'i'], - * }, - * level3d: { - * key4: ['j', 'k', 'l'], - * }, - * }, - * }, - * }; - * mergeTerminalNodes(tree); // ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l'] - */ -function mergeTerminalNodes(tree, unique = false) { - if (!isTreeObject(tree)) - return (0, array_1.safeMakeArray)(tree); - const terminalValues = Object.values(tree).reduce((accumulator, value) => { - if (isTreeObject(value)) { - return accumulator.concat(mergeTerminalNodes(value)); - } - return accumulator.concat(value); - }, []); - // @ts-ignore - return unique ? [...new Set(terminalValues)] : terminalValues; -} -exports.mergeTerminalNodes = mergeTerminalNodes; -/** - * Flattens nested object structure to single-level object. - * Useful for extracting entities from deeply nested configurations. - */ -function flattenNestedObjects(nestedData, filterFunction) { - const flattened = {}; - Object.values(nestedData).forEach((levelData) => { - Object.values(levelData).forEach((item) => { - if (item && typeof item === "object" && item.name) { - if (!filterFunction || filterFunction(item)) { - flattened[item.name] = item; - } - } - }); - }); - return flattened; -} -exports.flattenNestedObjects = flattenNestedObjects; -/** - * Recursively walks a plain object (or array) and applies a mapping function - * to every nested plain-object node. - * - * Non-plain objects (class instances, Date, RegExp, etc.) and primitives are - * returned unchanged. - * - * @param object - The value to traverse. - * @param mapValue - A function called on every plain-object node. If it returns - * a truthy value, that value replaces the node (and its children are still - * traversed). If it returns a falsy value the original node is kept. - * @returns A new object tree with the mapping applied. - * - * @example - * ```ts - * const result = mapObjectDeep( - * { a: { val: "$ref.x" }, b: [{ val: "$ref.y" }] }, - * (node) => { - * if (node.val?.startsWith("$ref.")) return { ...node, val: "resolved" }; - * }, - * ); - * // { a: { val: "resolved" }, b: [{ val: "resolved" }] } - * ``` - */ -function mapObjectDeep(object, mapValue) { - if (typeof object !== "object" || object === null) { - return object; - } - if (Array.isArray(object)) { - return object.map((innerValue) => mapObjectDeep(innerValue, mapValue)); - } - if (object.constructor !== Object) { - return object; - } - const mappedObject = mapValue(object) || object; - const entries = Object.entries(mappedObject).map(([key, value]) => { - return [key, mapObjectDeep(value, mapValue)]; - }); - return Object.fromEntries(entries); -} -exports.mapObjectDeep = mapObjectDeep; diff --git a/dist/js/shared/selector.d.ts b/dist/js/shared/selector.d.ts deleted file mode 100644 index 907fa5d..0000000 --- a/dist/js/shared/selector.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Forms a search query selector for MongoDB - * @param {Object} searchQuery - db query - * @param {Array[String]} fields - keys in the target document to search for - * @return {Object} - */ -export function getSearchQuerySelector(searchQuery: Object, fields?: any): Object; diff --git a/dist/js/shared/selector.js b/dist/js/shared/selector.js deleted file mode 100644 index f5f7535..0000000 --- a/dist/js/shared/selector.js +++ /dev/null @@ -1,24 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getSearchQuerySelector = void 0; -/** - * Forms a search query selector for MongoDB - * @param {Object} searchQuery - db query - * @param {Array[String]} fields - keys in the target document to search for - * @return {Object} - */ -function getSearchQuerySelector(searchQuery, fields = []) { - const selector = {}; - if (searchQuery) { - selector.$or = fields.map((field) => { - return { - [field]: { - $regex: searchQuery, - $options: "i", - }, - }; - }); - } - return selector; -} -exports.getSearchQuerySelector = getSearchQuerySelector; diff --git a/dist/js/shared/specific/filter.d.ts b/dist/js/shared/specific/filter.d.ts deleted file mode 100644 index dda623b..0000000 --- a/dist/js/shared/specific/filter.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -interface PathObject { - path: string; -} -export interface FilterObject { - path?: string; - regex?: RegExp; -} -interface FilterEntityListProps { - entitiesOrPaths: PathObject[]; - filterObjects?: FilterObject[]; - multiPathSeparator?: string; -} -/** - * Filter list of entity paths or entities by paths and regular expressions. - * @return {Object[]} - filtered entity path objects or entities - */ -export declare function filterEntityList({ entitiesOrPaths, filterObjects, multiPathSeparator, }: FilterEntityListProps): PathObject[]; -export {}; diff --git a/dist/js/shared/specific/filter.js b/dist/js/shared/specific/filter.js deleted file mode 100644 index c3ef8e5..0000000 --- a/dist/js/shared/specific/filter.js +++ /dev/null @@ -1,50 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.filterEntityList = void 0; -const uniqBy_1 = __importDefault(require("lodash/uniqBy")); -/** - * Check if one path matches regular expression or exact string. - */ -function isPathSupported(pathObject, filterObjects) { - return filterObjects.some((filterObj) => { - if (filterObj.path) { - return filterObj.path === pathObject.path; - } - if (filterObj.regex) { - return filterObj.regex.test(pathObject.path); - } - return false; - }); -} -/** - * Check if _all_ paths in concatenated path match filtering conditions. - * @param {{path: string}} pathObject - Path object with concatenated path (multipath) - * @param {string} multiPathSeparator - String sequence used for concatenation of paths - * @param {Array<{path: string}|{regex: RegExp}>} filterObjects - Filter conditions - * @return {boolean} - */ -function isMultiPathSupported(pathObject, multiPathSeparator, filterObjects) { - const expandedPaths = pathObject.path.split(multiPathSeparator).map((p) => ({ path: p })); - return expandedPaths.every((expandedPath) => isPathSupported(expandedPath, filterObjects)); -} -/** - * Filter list of entity paths or entities by paths and regular expressions. - * @return {Object[]} - filtered entity path objects or entities - */ -function filterEntityList({ entitiesOrPaths, filterObjects = [], multiPathSeparator = "", }) { - if (!filterObjects || !filterObjects.length) - return []; - const filterObjects_ = filterObjects.map((o) => (o.regex ? { regex: new RegExp(o.regex) } : o)); - let filtered; - if (multiPathSeparator) { - filtered = entitiesOrPaths.filter((e) => isMultiPathSupported(e, multiPathSeparator, filterObjects_)); - } - else { - filtered = entitiesOrPaths.filter((e) => isPathSupported(e, filterObjects_)); - } - return (0, uniqBy_1.default)(filtered, "path"); -} -exports.filterEntityList = filterEntityList; diff --git a/dist/js/shared/specific/github.d.ts b/dist/js/shared/specific/github.d.ts deleted file mode 100644 index e0346bb..0000000 --- a/dist/js/shared/specific/github.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * Fetches file metadata from a GitHub repository using the GitHub API. - * - * The GitHub API returns an array of file objects in the repository. Each file object includes details such as - * the file name, download URL, Git data URL, HTML URL, file path, SHA hash, size, type, and metadata URL. - * - * @param {string} url - The URL of the GitHub API endpoint to fetch the files from. - * @returns {Promise>} - * - A promise that resolves to an array of objects. Each object contains the properties `name`, `download_url`, - * `git_url`, `html_url`, `path`, `sha`, `size`, `type`, and `url`. - * @throws {Error} - Rethrows any error encountered during the fetch operation or data processing, - * allowing the caller of the function to handle it as needed. - * - * @example - * // Example URL for GitHub API - * const url = "https://api.github.com/repos/username/repo/contents/path/to/directory"; - * fetchFiles(url).then(files => { - * files.forEach(file => { - * console.log(`File Name: ${file.name}, Download URL: ${file.download_url}`); - * // Other properties can also be accessed here - * }); - * }).catch(error => { - * console.error("Error fetching files:", error); - * }); - */ -export function fetchFilesFromGitHubAPI(url: string): Promise>; diff --git a/dist/js/shared/specific/github.js b/dist/js/shared/specific/github.js deleted file mode 100644 index d0f1210..0000000 --- a/dist/js/shared/specific/github.js +++ /dev/null @@ -1,43 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.fetchFilesFromGitHubAPI = void 0; -/** - * Fetches file metadata from a GitHub repository using the GitHub API. - * - * The GitHub API returns an array of file objects in the repository. Each file object includes details such as - * the file name, download URL, Git data URL, HTML URL, file path, SHA hash, size, type, and metadata URL. - * - * @param {string} url - The URL of the GitHub API endpoint to fetch the files from. - * @returns {Promise>} - * - A promise that resolves to an array of objects. Each object contains the properties `name`, `download_url`, - * `git_url`, `html_url`, `path`, `sha`, `size`, `type`, and `url`. - * @throws {Error} - Rethrows any error encountered during the fetch operation or data processing, - * allowing the caller of the function to handle it as needed. - * - * @example - * // Example URL for GitHub API - * const url = "https://api.github.com/repos/username/repo/contents/path/to/directory"; - * fetchFiles(url).then(files => { - * files.forEach(file => { - * console.log(`File Name: ${file.name}, Download URL: ${file.download_url}`); - * // Other properties can also be accessed here - * }); - * }).catch(error => { - * console.error("Error fetching files:", error); - * }); - */ -async function fetchFilesFromGitHubAPI(url) { - try { - const response = await fetch(url); - const data = await response.json(); - return data.map((file) => ({ - name: file.name, - download_url: file.download_url, - })); - } - catch (error) { - console.error("Error fetching files:", error); - throw error; - } -} -exports.fetchFilesFromGitHubAPI = fetchFilesFromGitHubAPI; diff --git a/dist/js/shared/specific/index.d.ts b/dist/js/shared/specific/index.d.ts deleted file mode 100644 index 96cdf77..0000000 --- a/dist/js/shared/specific/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./filter"; -export * from "./github"; -export * from "./timestampable"; diff --git a/dist/js/shared/specific/index.js b/dist/js/shared/specific/index.js deleted file mode 100644 index 16dde6a..0000000 --- a/dist/js/shared/specific/index.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __exportStar = (this && this.__exportStar) || function(m, exports) { - for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -__exportStar(require("./filter"), exports); -__exportStar(require("./github"), exports); -__exportStar(require("./timestampable"), exports); diff --git a/dist/js/shared/specific/timestampable.d.ts b/dist/js/shared/specific/timestampable.d.ts deleted file mode 100644 index 154fd92..0000000 --- a/dist/js/shared/specific/timestampable.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function removeTimestampableKeysFromConfig(config: object): {}; diff --git a/dist/js/shared/specific/timestampable.js b/dist/js/shared/specific/timestampable.js deleted file mode 100644 index cfe260a..0000000 --- a/dist/js/shared/specific/timestampable.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.removeTimestampableKeysFromConfig = void 0; -function removeTimestampableKeysFromConfig(config) { - // @ts-ignore - // eslint-disable-next-line @typescript-eslint/no-unused-vars - const { createdAt, updatedAt, removedAt, ...restConfig } = config; - return restConfig; -} -exports.removeTimestampableKeysFromConfig = removeTimestampableKeysFromConfig; diff --git a/dist/js/shared/str.d.ts b/dist/js/shared/str.d.ts deleted file mode 100644 index d3f91f9..0000000 --- a/dist/js/shared/str.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -export function removeNewLinesAndExtraSpaces(str: any): any; -/** - * @summary Generates random alphanumeric string with a specified length. - * Returns lowercase string which starts with letter. - * @param length {Number} - */ -export function randomAlphanumeric(length: number): string; -export function toFixedLocale(number: any, precision: any): any; -/** - * @summary Removes comments from a given source code text based on the specified programming language. - * @param text {String} text to remove comments from. - * @param language {String} programming language of the text. - * @return {String} - */ -export function removeCommentsFromSourceCode(text: string, language?: string): string; -/** - * @summary Removes empty lines from a given string. - * @param string {String} string to remove empty lines from. - * @return {String} - */ -export function removeEmptyLinesFromString(string: string): string; -/** - * converts simple number to roman. - * @param {Number} num - * @returns {String} - string - */ -export function convertArabicToRoman(num: number): string; -/** - * Find the next smallest version from a list of semantic version strings. - * @param {string[]} versions - Array of semantic version strings. - * @param {string} inputVersion - Version to compare to. - * @returns {string | undefined} - */ -export function findPreviousVersion(versions: string[], inputVersion: string): string | undefined; -/** - * Renders template string by replacing placeholders with corresponding values from a context object. - * - * @param {string} template - The template string containing placeholders in the format `${variable}`. - * @param {Object} context - A map of variables where keys are placeholders and values are the corresponding replacements. - * @returns {string} - The template string with placeholders replaced by corresponding values from the context. - */ -export function renderTemplateString(template: string, context: Object): string; -/** - * Renders template string by evaluating the template string as a JavaScript template literal with the context object. - * @param {string} template - The template string containing placeholders in the format `${variable}` or `${expression}`. - * @param {Object} context - A map of variables and functions where keys are placeholders and values are the corresponding replacements. - * @returns {*} - */ -export function renderTemplateStringWithEval(template: string, context: Object): any; -/** - * Creates a filesystem-safe filename from a given name. - * @param {string} name - The input name to be converted into a safe filename. - * @return {string} - The resulting safe filename. - * - */ -export function createSafeFilename(name: string): string; -export function numberPad(num: any, prec?: number, length?: number): any; -export function numberPadArray(array: any, prec?: number, length?: number): any; -export function numberFormat(n: any, precision?: number): any; diff --git a/dist/js/shared/str.js b/dist/js/shared/str.js deleted file mode 100644 index 5b6c1a6..0000000 --- a/dist/js/shared/str.js +++ /dev/null @@ -1,168 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.numberFormat = exports.numberPadArray = exports.numberPad = exports.createSafeFilename = exports.renderTemplateStringWithEval = exports.renderTemplateString = exports.findPreviousVersion = exports.convertArabicToRoman = exports.removeEmptyLinesFromString = exports.removeCommentsFromSourceCode = exports.toFixedLocale = exports.randomAlphanumeric = exports.removeNewLinesAndExtraSpaces = void 0; -const coerce_1 = __importDefault(require("semver/functions/coerce")); -const lt_1 = __importDefault(require("semver/functions/lt")); -const rcompare_1 = __importDefault(require("semver/functions/rcompare")); -const underscore_1 = __importDefault(require("underscore")); -const underscore_string_1 = __importDefault(require("underscore.string")); -function removeNewLinesAndExtraSpaces(str) { - return str.replace(/[\n\r]/g, "").replace(/ +/g, " "); -} -exports.removeNewLinesAndExtraSpaces = removeNewLinesAndExtraSpaces; -/** - * @summary Generates random alphanumeric string with a specified length. - * Returns lowercase string which starts with letter. - * @param length {Number} - */ -function randomAlphanumeric(length) { - // numerical value – create random alphanumeric string - // Start from char at position 2, because Math.random().toString(36) starts with "0." - const alphabet = "abcdefghijklmnopqrstuvwxyz"; - const randomLetter = alphabet[Math.floor(Math.random() * alphabet.length)]; - // Random letter is required in generated string because of when - // the result is used as username and contains only numbers, the - // slug will be inappropriate (e.g., "user-1232", "user-12" both have "user" as slug). - return (randomLetter + - Math.random() - .toString(36) - .substring(2, 2 + length - 1)); -} -exports.randomAlphanumeric = randomAlphanumeric; -function toFixedLocale(number, precision) { - if (underscore_1.default.isNumber(number)) { - return number.toFixed(precision).replace(/\B(?=(\d{3})+(?!\d))/g, ","); - } - return number; -} -exports.toFixedLocale = toFixedLocale; -/** - * @summary Removes comments from a given source code text based on the specified programming language. - * @param text {String} text to remove comments from. - * @param language {String} programming language of the text. - * @return {String} - */ -function removeCommentsFromSourceCode(text, language = "shell") { - var _a; - const regexList = { - espresso: /[!#].*$/gm, - fortran: /!.*$/gm, - python: /#.*$/gm, - shell: /#(?!!).*$/gm, - }; - return text.replace((_a = regexList[language]) !== null && _a !== void 0 ? _a : regexList.shell, ""); -} -exports.removeCommentsFromSourceCode = removeCommentsFromSourceCode; -/** - * @summary Removes empty lines from a given string. - * @param string {String} string to remove empty lines from. - * @return {String} - */ -function removeEmptyLinesFromString(string) { - // remove "\n" on empty lines AND the very last "\n" - return string.replace(/^\s*[\r\n]/gm, "").trim(); -} -exports.removeEmptyLinesFromString = removeEmptyLinesFromString; -/** - * converts simple number to roman. - * @param {Number} num - * @returns {String} - string - */ -function convertArabicToRoman(num) { - const roman = { - M: 1000, - CM: 900, - D: 500, - CD: 400, - C: 100, - XC: 90, - L: 50, - XL: 40, - X: 10, - IX: 9, - V: 5, - IV: 4, - I: 1, - }; - let str = ""; - // eslint-disable-next-line no-restricted-syntax - for (const i of Object.keys(roman)) { - const q = Math.floor(num / roman[i]); - // eslint-disable-next-line no-param-reassign - num -= q * roman[i]; - str += i.repeat(q); - } - return str; -} -exports.convertArabicToRoman = convertArabicToRoman; -/** - * Find the next smallest version from a list of semantic version strings. - * @param {string[]} versions - Array of semantic version strings. - * @param {string} inputVersion - Version to compare to. - * @returns {string | undefined} - */ -function findPreviousVersion(versions, inputVersion) { - const version = (0, coerce_1.default)(inputVersion); - const versions_ = versions - .map((v) => ({ raw: v, coerced: (0, coerce_1.default)(v) })) - .sort((a, b) => (0, rcompare_1.default)(a.coerced, b.coerced)); - const prev = versions_.find((o) => (0, lt_1.default)(o.coerced, version)); - return prev === null || prev === void 0 ? void 0 : prev.raw; -} -exports.findPreviousVersion = findPreviousVersion; -/** - * Renders template string by replacing placeholders with corresponding values from a context object. - * - * @param {string} template - The template string containing placeholders in the format `${variable}`. - * @param {Object} context - A map of variables where keys are placeholders and values are the corresponding replacements. - * @returns {string} - The template string with placeholders replaced by corresponding values from the context. - */ -function renderTemplateString(template, context) { - return template.replace(/\${([^}]+)}/g, (match, key) => { - const trimmedKey = key.trim(); - return context[trimmedKey] !== undefined ? String(context[trimmedKey]) : match; - }); -} -exports.renderTemplateString = renderTemplateString; -/** - * Renders template string by evaluating the template string as a JavaScript template literal with the context object. - * @param {string} template - The template string containing placeholders in the format `${variable}` or `${expression}`. - * @param {Object} context - A map of variables and functions where keys are placeholders and values are the corresponding replacements. - * @returns {*} - */ -function renderTemplateStringWithEval(template, context) { - // eslint-disable-next-line no-new-func - return new Function("context", "with (context) { return `" + template + "`; }")(context); -} -exports.renderTemplateStringWithEval = renderTemplateStringWithEval; -/** - * Creates a filesystem-safe filename from a given name. - * @param {string} name - The input name to be converted into a safe filename. - * @return {string} - The resulting safe filename. - * - */ -function createSafeFilename(name) { - return name - .toLowerCase() - .replace(/[^a-z0-9]+/g, "_") - .replace(/^_+|_+$/g, ""); -} -exports.createSafeFilename = createSafeFilename; -function numberPad(num, prec = 8, length = 16) { - return underscore_string_1.default.lpad(num.toFixed(prec), length, " "); -} -exports.numberPad = numberPad; -function numberPadArray(array, prec = 4, length = 9) { - return array.map((x) => numberPad(x, prec, length)).join(" "); -} -exports.numberPadArray = numberPadArray; -function numberFormat(n, precision = 3) { - if (precision === 0) { - return Math.ceil(n).toString(); - } - return underscore_string_1.default.numberFormat(n, precision); -} -exports.numberFormat = numberFormat; diff --git a/dist/js/shared/tree.d.ts b/dist/js/shared/tree.d.ts deleted file mode 100644 index 7ffa628..0000000 --- a/dist/js/shared/tree.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @summary Return nodes with `fn` function applied to each node. - * Note that the function `fn` must take a node as an argument and must return a node object. - * @param {Object[]} nodes - Array of nodes - * @param {Function} fn - function to be applied to each node - * @returns {Object[]} - Result of map - */ -export function mapTree(nodes: Object[], fn: Function): Object[]; diff --git a/dist/js/shared/tree.js b/dist/js/shared/tree.js deleted file mode 100644 index 4b14b99..0000000 --- a/dist/js/shared/tree.js +++ /dev/null @@ -1,21 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.mapTree = void 0; -/** - * @summary Return nodes with `fn` function applied to each node. - * Note that the function `fn` must take a node as an argument and must return a node object. - * @param {Object[]} nodes - Array of nodes - * @param {Function} fn - function to be applied to each node - * @returns {Object[]} - Result of map - */ -function mapTree(nodes, fn) { - return nodes.map((node) => { - var _a; - const mappedNode = fn(node); - if ((_a = node === null || node === void 0 ? void 0 : node.children) === null || _a === void 0 ? void 0 : _a.length) { - mappedNode.children = mapTree(node.children, fn); - } - return mappedNode; - }); -} -exports.mapTree = mapTree; diff --git a/dist/js/shared/url.d.ts b/dist/js/shared/url.d.ts deleted file mode 100644 index 93568fc..0000000 --- a/dist/js/shared/url.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** Check whether URL component is encoded already. - * @see [MDN]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent} - * @param {String} x - * @returns {boolean} - */ -export function containsEncodedComponents(x: string): boolean; diff --git a/dist/js/shared/url.js b/dist/js/shared/url.js deleted file mode 100644 index c6e6fb2..0000000 --- a/dist/js/shared/url.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.containsEncodedComponents = void 0; -/** Check whether URL component is encoded already. - * @see [MDN]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent} - * @param {String} x - * @returns {boolean} - */ -function containsEncodedComponents(x) { - // ie ?,=,&,/ etc - return decodeURI(x) !== decodeURIComponent(x); -} -exports.containsEncodedComponents = containsEncodedComponents; diff --git a/dist/js/shared/uuid.d.ts b/dist/js/shared/uuid.d.ts deleted file mode 100644 index 3da8992..0000000 --- a/dist/js/shared/uuid.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export function getUUID(): any; -export function getUUIDFromNamespace(seed?: string, namespace?: string): any; diff --git a/dist/js/shared/uuid.js b/dist/js/shared/uuid.js deleted file mode 100644 index ad0f2d5..0000000 --- a/dist/js/shared/uuid.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getUUIDFromNamespace = exports.getUUID = void 0; -const uuid_1 = require("uuid"); -function getUUID() { - return (0, uuid_1.v4)(); -} -exports.getUUID = getUUID; -function getUUIDFromNamespace(seed = "", namespace = "00000000-0000-4000-8000-000000000000") { - return (0, uuid_1.v5)(seed, namespace); -} -exports.getUUIDFromNamespace = getUUIDFromNamespace; diff --git a/dist/js/shared/yaml.d.ts b/dist/js/shared/yaml.d.ts deleted file mode 100644 index b1ca3fd..0000000 --- a/dist/js/shared/yaml.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Converts a YAML string to a JSON object. - * @param {string} YAMLString - The YAML string to convert. - * @returns {object} - The resulting JSON object. - */ -export function convertYAMLStringToJSON(YAMLString: string, options?: {}): object; -/** - * Converts a JSON object to a YAML string. - * @param {object} data - The JSON object to convert. - * @param {object} options - Options for YAML dump (see js-yaml documentation). - * @returns {string} - The resulting YAML string. - */ -export function convertJSONToYAMLString(data: object, options?: object): string; diff --git a/dist/js/shared/yaml.js b/dist/js/shared/yaml.js deleted file mode 100644 index a6bba8e..0000000 --- a/dist/js/shared/yaml.js +++ /dev/null @@ -1,26 +0,0 @@ -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.convertJSONToYAMLString = exports.convertYAMLStringToJSON = void 0; -const js_yaml_1 = __importDefault(require("js-yaml")); -/** - * Converts a YAML string to a JSON object. - * @param {string} YAMLString - The YAML string to convert. - * @returns {object} - The resulting JSON object. - */ -function convertYAMLStringToJSON(YAMLString, options = {}) { - return js_yaml_1.default.load(YAMLString, options); -} -exports.convertYAMLStringToJSON = convertYAMLStringToJSON; -/** - * Converts a JSON object to a YAML string. - * @param {object} data - The JSON object to convert. - * @param {object} options - Options for YAML dump (see js-yaml documentation). - * @returns {string} - The resulting YAML string. - */ -function convertJSONToYAMLString(data, options = {}) { - return js_yaml_1.default.dump(data, { ...options }); -} -exports.convertJSONToYAMLString = convertJSONToYAMLString; diff --git a/package-lock.json b/package-lock.json index 031d6e9..ef5172b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4645,9 +4645,9 @@ } }, "node_modules/eslint-plugin-jsonc/node_modules/acorn": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz", - "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz", + "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==", "dev": true, "license": "MIT", "peer": true, @@ -6624,9 +6624,9 @@ } }, "node_modules/jsonc-eslint-parser/node_modules/acorn": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz", - "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz", + "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==", "dev": true, "license": "MIT", "peer": true,