mathjs
Version:
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
313 lines (311 loc) • 13 kB
JavaScript
/**
* THIS FILE IS AUTO-GENERATED
* DON'T MAKE CHANGES HERE
*/
import { config } from './configReadonly'
import {
createTyped,
createRangeClass,
createNthRoot,
createE,
createFalse,
createLN10,
createLOG10E,
createNaN,
createPhi,
createSQRT1_2, // eslint-disable-line camelcase
createTau,
createVersion,
createString,
createFilter,
createMap,
createCombinationsWithRep,
createPickRandom,
createRandomInt,
createCompare,
createCompareText,
createSmaller,
createLarger,
createErf,
createFormat,
createClone,
createTypeOf,
createUnaryMinus,
createAbs,
createCbrt,
createCube,
createExpm1,
createFloor,
createLcm,
createLog2,
createMultiplyScalar,
createSign,
createSquare,
createXgcd,
createPow,
createLog1p,
createNorm,
createBitAnd,
createBitOr,
createLeftShift,
createRightLogShift,
createNot,
createXor,
createMatrix,
createCombinations,
createAcos,
createAcot,
createAcsc,
createAsec,
createAsin,
createAtan,
createAtanh,
createCosh,
createCoth,
createCsch,
createSech,
createSinh,
createTanh,
createIsNegative,
createIsZero,
createResultSet,
createRound,
createLN2,
createNull,
createSQRT2,
createNumber,
createForEach,
createSize,
createRandom,
createCompareNatural,
createEqualText,
createLargerEq,
createPrint,
createIsNumeric,
createIsPrime,
createReplacer,
createAddScalar,
createExp,
createGcd,
createMod,
createSqrt,
createDivideScalar,
createAdd,
createBitNot,
createRightArithShift,
createOr,
createSubset,
createAcosh,
createAcsch,
createAsinh,
createCos,
createCsc,
createSin,
createIsInteger,
createIsNaN,
createCatalan,
createInfinity,
createPi,
createTrue,
createApply,
createPartitionSelect,
createEqualScalar,
createSmallerEq,
createUnequal,
createHasNumericValue,
createUnaryPlus,
createFix,
createMultiply,
createLog,
createBitXor,
createIndex,
createAcoth,
createAtan2,
createSec,
createIsPositive,
createHypot,
createComposition,
createRange,
createEqual,
createMode,
createQuantileSeq,
createNumeric,
createLog10,
createDivide,
createGamma,
createCot,
createLOG2E,
createFactorial,
createPermutations,
createProd,
createMin,
createMean,
createCeil,
createAnd,
createTan,
createBoolean,
createMultinomial,
createMax,
createMedian,
createSubtract,
createDeepEqual,
createMad,
createStirlingS2,
createVariance,
createStd,
createBellNumbers,
createAsech,
createSum
} from '../factoriesNumber'
export const typed = /* #__PURE__ */ createTyped({})
export const Range = /* #__PURE__ */ createRangeClass({})
export const nthRoot = /* #__PURE__ */ createNthRoot({ typed })
export const e = /* #__PURE__ */ createE({ config })
export const _false = /* #__PURE__ */ createFalse({})
export const LN10 = /* #__PURE__ */ createLN10({ config })
export const LOG10E = /* #__PURE__ */ createLOG10E({ config })
export const _NaN = /* #__PURE__ */ createNaN({ config })
export const phi = /* #__PURE__ */ createPhi({ config })
export const SQRT1_2 = /* #__PURE__ */ createSQRT1_2({ config })
export const tau = /* #__PURE__ */ createTau({ config })
export const version = /* #__PURE__ */ createVersion({})
export const string = /* #__PURE__ */ createString({ typed })
export const filter = /* #__PURE__ */ createFilter({ typed })
export const map = /* #__PURE__ */ createMap({ typed })
export const combinationsWithRep = /* #__PURE__ */ createCombinationsWithRep({ typed })
export const pickRandom = /* #__PURE__ */ createPickRandom({ config, typed })
export const randomInt = /* #__PURE__ */ createRandomInt({ config, typed })
export const compare = /* #__PURE__ */ createCompare({ config, typed })
export const compareText = /* #__PURE__ */ createCompareText({ typed })
export const smaller = /* #__PURE__ */ createSmaller({ config, typed })
export const larger = /* #__PURE__ */ createLarger({ config, typed })
export const erf = /* #__PURE__ */ createErf({ typed })
export const format = /* #__PURE__ */ createFormat({ typed })
export const clone = /* #__PURE__ */ createClone({ typed })
export const typeOf = /* #__PURE__ */ createTypeOf({ typed })
export const unaryMinus = /* #__PURE__ */ createUnaryMinus({ typed })
export const abs = /* #__PURE__ */ createAbs({ typed })
export const cbrt = /* #__PURE__ */ createCbrt({ typed })
export const cube = /* #__PURE__ */ createCube({ typed })
export const expm1 = /* #__PURE__ */ createExpm1({ typed })
export const floor = /* #__PURE__ */ createFloor({ typed })
export const lcm = /* #__PURE__ */ createLcm({ typed })
export const log2 = /* #__PURE__ */ createLog2({ typed })
export const multiplyScalar = /* #__PURE__ */ createMultiplyScalar({ typed })
export const sign = /* #__PURE__ */ createSign({ typed })
export const square = /* #__PURE__ */ createSquare({ typed })
export const xgcd = /* #__PURE__ */ createXgcd({ typed })
export const pow = /* #__PURE__ */ createPow({ typed })
export const log1p = /* #__PURE__ */ createLog1p({ typed })
export const norm = /* #__PURE__ */ createNorm({ typed })
export const bitAnd = /* #__PURE__ */ createBitAnd({ typed })
export const bitOr = /* #__PURE__ */ createBitOr({ typed })
export const leftShift = /* #__PURE__ */ createLeftShift({ typed })
export const rightLogShift = /* #__PURE__ */ createRightLogShift({ typed })
export const not = /* #__PURE__ */ createNot({ typed })
export const xor = /* #__PURE__ */ createXor({ typed })
export const matrix = /* #__PURE__ */ createMatrix({})
export const combinations = /* #__PURE__ */ createCombinations({ typed })
export const acos = /* #__PURE__ */ createAcos({ typed })
export const acot = /* #__PURE__ */ createAcot({ typed })
export const acsc = /* #__PURE__ */ createAcsc({ typed })
export const asec = /* #__PURE__ */ createAsec({ typed })
export const asin = /* #__PURE__ */ createAsin({ typed })
export const atan = /* #__PURE__ */ createAtan({ typed })
export const atanh = /* #__PURE__ */ createAtanh({ typed })
export const cosh = /* #__PURE__ */ createCosh({ typed })
export const coth = /* #__PURE__ */ createCoth({ typed })
export const csch = /* #__PURE__ */ createCsch({ typed })
export const sech = /* #__PURE__ */ createSech({ typed })
export const sinh = /* #__PURE__ */ createSinh({ typed })
export const tanh = /* #__PURE__ */ createTanh({ typed })
export const isNegative = /* #__PURE__ */ createIsNegative({ typed })
export const isZero = /* #__PURE__ */ createIsZero({ typed })
export const ResultSet = /* #__PURE__ */ createResultSet({})
export const round = /* #__PURE__ */ createRound({ typed })
export const LN2 = /* #__PURE__ */ createLN2({ config })
export const _null = /* #__PURE__ */ createNull({})
export const SQRT2 = /* #__PURE__ */ createSQRT2({ config })
export const number = /* #__PURE__ */ createNumber({ typed })
export const forEach = /* #__PURE__ */ createForEach({ typed })
export const size = /* #__PURE__ */ createSize({ matrix, config, typed })
export const random = /* #__PURE__ */ createRandom({ config, typed })
export const compareNatural = /* #__PURE__ */ createCompareNatural({ compare, typed })
export const equalText = /* #__PURE__ */ createEqualText({ compareText, isZero, typed })
export const largerEq = /* #__PURE__ */ createLargerEq({ config, typed })
export const print = /* #__PURE__ */ createPrint({ typed })
export const isNumeric = /* #__PURE__ */ createIsNumeric({ typed })
export const isPrime = /* #__PURE__ */ createIsPrime({ typed })
export const replacer = /* #__PURE__ */ createReplacer({})
export const addScalar = /* #__PURE__ */ createAddScalar({ typed })
export const exp = /* #__PURE__ */ createExp({ typed })
export const gcd = /* #__PURE__ */ createGcd({ typed })
export const mod = /* #__PURE__ */ createMod({ typed })
export const sqrt = /* #__PURE__ */ createSqrt({ typed })
export const divideScalar = /* #__PURE__ */ createDivideScalar({ typed })
export const add = /* #__PURE__ */ createAdd({ typed })
export const bitNot = /* #__PURE__ */ createBitNot({ typed })
export const rightArithShift = /* #__PURE__ */ createRightArithShift({ typed })
export const or = /* #__PURE__ */ createOr({ typed })
export const subset = /* #__PURE__ */ createSubset({})
export const acosh = /* #__PURE__ */ createAcosh({ typed })
export const acsch = /* #__PURE__ */ createAcsch({ typed })
export const asinh = /* #__PURE__ */ createAsinh({ typed })
export const cos = /* #__PURE__ */ createCos({ typed })
export const csc = /* #__PURE__ */ createCsc({ typed })
export const sin = /* #__PURE__ */ createSin({ typed })
export const isInteger = /* #__PURE__ */ createIsInteger({ typed })
export const isNaN = /* #__PURE__ */ createIsNaN({ typed })
export const catalan = /* #__PURE__ */ createCatalan({ addScalar, combinations, divideScalar, isInteger, isNegative, multiplyScalar, typed })
export const _Infinity = /* #__PURE__ */ createInfinity({ config })
export const pi = /* #__PURE__ */ createPi({ config })
export const _true = /* #__PURE__ */ createTrue({})
export const apply = /* #__PURE__ */ createApply({ isInteger, typed })
export const partitionSelect = /* #__PURE__ */ createPartitionSelect({ compare, isNaN, isNumeric, typed })
export const equalScalar = /* #__PURE__ */ createEqualScalar({ config, typed })
export const smallerEq = /* #__PURE__ */ createSmallerEq({ config, typed })
export const unequal = /* #__PURE__ */ createUnequal({ equalScalar, typed })
export const hasNumericValue = /* #__PURE__ */ createHasNumericValue({ isNumeric, typed })
export const unaryPlus = /* #__PURE__ */ createUnaryPlus({ typed })
export const fix = /* #__PURE__ */ createFix({ typed })
export const multiply = /* #__PURE__ */ createMultiply({ typed })
export const log = /* #__PURE__ */ createLog({ typed })
export const bitXor = /* #__PURE__ */ createBitXor({ typed })
export const index = /* #__PURE__ */ createIndex({})
export const acoth = /* #__PURE__ */ createAcoth({ typed })
export const atan2 = /* #__PURE__ */ createAtan2({ typed })
export const sec = /* #__PURE__ */ createSec({ typed })
export const isPositive = /* #__PURE__ */ createIsPositive({ typed })
export const hypot = /* #__PURE__ */ createHypot({ abs, addScalar, divideScalar, isPositive, multiplyScalar, smaller, sqrt, typed })
export const composition = /* #__PURE__ */ createComposition({ addScalar, combinations, isInteger, isNegative, isPositive, larger, typed })
export const range = /* #__PURE__ */ createRange({ matrix, config, larger, largerEq, smaller, smallerEq, typed })
export const equal = /* #__PURE__ */ createEqual({ equalScalar, typed })
export const mode = /* #__PURE__ */ createMode({ isNaN, isNumeric, typed })
export const quantileSeq = /* #__PURE__ */ createQuantileSeq({ add, compare, multiply, partitionSelect, typed })
export const numeric = /* #__PURE__ */ createNumeric({ number })
export const log10 = /* #__PURE__ */ createLog10({ typed })
export const divide = /* #__PURE__ */ createDivide({ typed })
export const gamma = /* #__PURE__ */ createGamma({ typed })
export const cot = /* #__PURE__ */ createCot({ typed })
export const LOG2E = /* #__PURE__ */ createLOG2E({ config })
export const factorial = /* #__PURE__ */ createFactorial({ gamma, typed })
export const permutations = /* #__PURE__ */ createPermutations({ factorial, typed })
export const prod = /* #__PURE__ */ createProd({ config, multiplyScalar, numeric, typed })
export const min = /* #__PURE__ */ createMin({ config, numeric, smaller, typed })
export const mean = /* #__PURE__ */ createMean({ add, divide, typed })
export const ceil = /* #__PURE__ */ createCeil({ typed })
export const and = /* #__PURE__ */ createAnd({ typed })
export const tan = /* #__PURE__ */ createTan({ typed })
export const boolean = /* #__PURE__ */ createBoolean({ typed })
export const multinomial = /* #__PURE__ */ createMultinomial({ add, divide, factorial, isInteger, isPositive, multiply, typed })
export const max = /* #__PURE__ */ createMax({ config, larger, numeric, typed })
export const median = /* #__PURE__ */ createMedian({ add, compare, divide, partitionSelect, typed })
export const subtract = /* #__PURE__ */ createSubtract({ typed })
export const deepEqual = /* #__PURE__ */ createDeepEqual({ equal, typed })
export const mad = /* #__PURE__ */ createMad({ abs, map, median, subtract, typed })
export const stirlingS2 = /* #__PURE__ */ createStirlingS2({ addScalar, combinations, divideScalar, factorial, isInteger, isNegative, larger, multiplyScalar, pow, subtract, typed })
export const variance = /* #__PURE__ */ createVariance({ add, apply, divide, isNaN, multiply, subtract, typed })
export const std = /* #__PURE__ */ createStd({ sqrt, typed, variance })
export const bellNumbers = /* #__PURE__ */ createBellNumbers({ addScalar, isInteger, isNegative, stirlingS2, typed })
export const asech = /* #__PURE__ */ createAsech({ typed })
export const sum = /* #__PURE__ */ createSum({ add, config, numeric, typed })