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
311 lines (309 loc) • 12.9 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,
createMax,
createFormat,
createClone,
createTypeOf,
createUnaryPlus,
createAddScalar,
createCeil,
createExp,
createFix,
createGcd,
createLog10,
createMod,
createMultiply,
createSqrt,
createSubtract,
createDivideScalar,
createLog,
createAdd,
createDivide,
createBitNot,
createBitXor,
createRightArithShift,
createAnd,
createOr,
createIndexClass,
createSubset,
createGamma,
createAcosh,
createAcoth,
createAcsch,
createAsech,
createAsinh,
createAtan2,
createCos,
createCot,
createCsc,
createSec,
createSin,
createTan,
createIsInteger,
createIsPositive,
createIsNaN,
createResultSet,
createRound,
createLN2,
createNull,
createSQRT2,
createNumber,
createApply,
createFactorial,
createPermutations,
createEqualScalar,
createEqual,
createSmallerEq,
createDeepEqual,
createProd,
createSum,
createVariance,
createStd,
createIsPrime,
createUnaryMinus,
createCbrt,
createExpm1,
createLcm,
createMultiplyScalar,
createSquare,
createPow,
createNorm,
createBitOr,
createRightLogShift,
createXor,
createCombinations,
createAcot,
createAsec,
createAtan,
createCosh,
createCsch,
createSinh,
createIsNegative,
createStirlingS2,
createCatalan,
createInfinity,
createPi,
createTrue,
createForEach,
createMultinomial,
createCompareNatural,
createLargerEq,
createMin,
createPrint,
createNumeric,
createCube,
createLog2,
createXgcd,
createBitAnd,
createNot,
createAcos,
createAsin,
createCoth,
createTanh,
createBellNumbers,
createLOG2E,
createBoolean,
createRandom,
createUnequal,
createMean,
createIsNumeric,
createAbs,
createSign,
createLeftShift,
createAcsc,
createSech,
createHypot,
createPartitionSelect,
createMode,
createQuantileSeq,
createHasNumericValue,
createLog1p,
createAtanh,
createComposition,
createMedian,
createFloor,
createIsZero,
createEqualText,
createMatrix,
createRange,
createMad,
createSize
} 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 max = /* #__PURE__ */ createMax({ larger, typed })
export const format = /* #__PURE__ */ createFormat({ typed })
export const clone = /* #__PURE__ */ createClone({ typed })
export const typeOf = /* #__PURE__ */ createTypeOf({ typed })
export const unaryPlus = /* #__PURE__ */ createUnaryPlus({ typed })
export const addScalar = /* #__PURE__ */ createAddScalar({ typed })
export const ceil = /* #__PURE__ */ createCeil({ typed })
export const exp = /* #__PURE__ */ createExp({ typed })
export const fix = /* #__PURE__ */ createFix({ typed })
export const gcd = /* #__PURE__ */ createGcd({ typed })
export const log10 = /* #__PURE__ */ createLog10({ typed })
export const mod = /* #__PURE__ */ createMod({ typed })
export const multiply = /* #__PURE__ */ createMultiply({ typed })
export const sqrt = /* #__PURE__ */ createSqrt({ typed })
export const subtract = /* #__PURE__ */ createSubtract({ typed })
export const divideScalar = /* #__PURE__ */ createDivideScalar({ typed })
export const log = /* #__PURE__ */ createLog({ typed })
export const add = /* #__PURE__ */ createAdd({ typed })
export const divide = /* #__PURE__ */ createDivide({ typed })
export const bitNot = /* #__PURE__ */ createBitNot({ typed })
export const bitXor = /* #__PURE__ */ createBitXor({ typed })
export const rightArithShift = /* #__PURE__ */ createRightArithShift({ typed })
export const and = /* #__PURE__ */ createAnd({ typed })
export const or = /* #__PURE__ */ createOr({ typed })
export const Index = /* #__PURE__ */ createIndexClass({})
export const subset = /* #__PURE__ */ createSubset({})
export const gamma = /* #__PURE__ */ createGamma({ typed })
export const acosh = /* #__PURE__ */ createAcosh({ typed })
export const acoth = /* #__PURE__ */ createAcoth({ typed })
export const acsch = /* #__PURE__ */ createAcsch({ typed })
export const asech = /* #__PURE__ */ createAsech({ typed })
export const asinh = /* #__PURE__ */ createAsinh({ typed })
export const atan2 = /* #__PURE__ */ createAtan2({ typed })
export const cos = /* #__PURE__ */ createCos({ typed })
export const cot = /* #__PURE__ */ createCot({ typed })
export const csc = /* #__PURE__ */ createCsc({ typed })
export const sec = /* #__PURE__ */ createSec({ typed })
export const sin = /* #__PURE__ */ createSin({ typed })
export const tan = /* #__PURE__ */ createTan({ typed })
export const isInteger = /* #__PURE__ */ createIsInteger({ typed })
export const isPositive = /* #__PURE__ */ createIsPositive({ typed })
export const isNaN = /* #__PURE__ */ createIsNaN({ 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 apply = /* #__PURE__ */ createApply({ isInteger, typed })
export const factorial = /* #__PURE__ */ createFactorial({ gamma, typed })
export const permutations = /* #__PURE__ */ createPermutations({ factorial, typed })
export const equalScalar = /* #__PURE__ */ createEqualScalar({ config, typed })
export const equal = /* #__PURE__ */ createEqual({ equalScalar, typed })
export const smallerEq = /* #__PURE__ */ createSmallerEq({ config, typed })
export const deepEqual = /* #__PURE__ */ createDeepEqual({ equal, typed })
export const prod = /* #__PURE__ */ createProd({ multiply, typed })
export const sum = /* #__PURE__ */ createSum({ add, config, typed })
export const variance = /* #__PURE__ */ createVariance({ add, apply, divide, isNaN, multiply, subtract, typed })
export const std = /* #__PURE__ */ createStd({ sqrt, typed, variance })
export const isPrime = /* #__PURE__ */ createIsPrime({ typed })
export const unaryMinus = /* #__PURE__ */ createUnaryMinus({ typed })
export const cbrt = /* #__PURE__ */ createCbrt({ typed })
export const expm1 = /* #__PURE__ */ createExpm1({ typed })
export const lcm = /* #__PURE__ */ createLcm({ typed })
export const multiplyScalar = /* #__PURE__ */ createMultiplyScalar({ typed })
export const square = /* #__PURE__ */ createSquare({ typed })
export const pow = /* #__PURE__ */ createPow({ typed })
export const norm = /* #__PURE__ */ createNorm({ typed })
export const bitOr = /* #__PURE__ */ createBitOr({ typed })
export const rightLogShift = /* #__PURE__ */ createRightLogShift({ typed })
export const xor = /* #__PURE__ */ createXor({ typed })
export const combinations = /* #__PURE__ */ createCombinations({ typed })
export const acot = /* #__PURE__ */ createAcot({ typed })
export const asec = /* #__PURE__ */ createAsec({ typed })
export const atan = /* #__PURE__ */ createAtan({ typed })
export const cosh = /* #__PURE__ */ createCosh({ typed })
export const csch = /* #__PURE__ */ createCsch({ typed })
export const sinh = /* #__PURE__ */ createSinh({ typed })
export const isNegative = /* #__PURE__ */ createIsNegative({ typed })
export const stirlingS2 = /* #__PURE__ */ createStirlingS2({ addScalar, combinations, divideScalar, factorial, isInteger, isNegative, larger, multiplyScalar, pow, subtract, 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 forEach = /* #__PURE__ */ createForEach({ typed })
export const multinomial = /* #__PURE__ */ createMultinomial({ add, divide, factorial, isInteger, isPositive, multiply, typed })
export const compareNatural = /* #__PURE__ */ createCompareNatural({ compare, typed })
export const largerEq = /* #__PURE__ */ createLargerEq({ config, typed })
export const min = /* #__PURE__ */ createMin({ smaller, typed })
export const print = /* #__PURE__ */ createPrint({ typed })
export const numeric = /* #__PURE__ */ createNumeric({ number })
export const cube = /* #__PURE__ */ createCube({ typed })
export const log2 = /* #__PURE__ */ createLog2({ typed })
export const xgcd = /* #__PURE__ */ createXgcd({ typed })
export const bitAnd = /* #__PURE__ */ createBitAnd({ typed })
export const not = /* #__PURE__ */ createNot({ typed })
export const acos = /* #__PURE__ */ createAcos({ typed })
export const asin = /* #__PURE__ */ createAsin({ typed })
export const coth = /* #__PURE__ */ createCoth({ typed })
export const tanh = /* #__PURE__ */ createTanh({ typed })
export const bellNumbers = /* #__PURE__ */ createBellNumbers({ addScalar, isInteger, isNegative, stirlingS2, typed })
export const LOG2E = /* #__PURE__ */ createLOG2E({ config })
export const boolean = /* #__PURE__ */ createBoolean({ typed })
export const random = /* #__PURE__ */ createRandom({ config, typed })
export const unequal = /* #__PURE__ */ createUnequal({ equalScalar, typed })
export const mean = /* #__PURE__ */ createMean({ add, divide, typed })
export const isNumeric = /* #__PURE__ */ createIsNumeric({ typed })
export const abs = /* #__PURE__ */ createAbs({ typed })
export const sign = /* #__PURE__ */ createSign({ typed })
export const leftShift = /* #__PURE__ */ createLeftShift({ typed })
export const acsc = /* #__PURE__ */ createAcsc({ typed })
export const sech = /* #__PURE__ */ createSech({ typed })
export const hypot = /* #__PURE__ */ createHypot({ abs, addScalar, divideScalar, isPositive, multiplyScalar, smaller, sqrt, typed })
export const partitionSelect = /* #__PURE__ */ createPartitionSelect({ compare, isNaN, isNumeric, typed })
export const mode = /* #__PURE__ */ createMode({ isNaN, isNumeric, typed })
export const quantileSeq = /* #__PURE__ */ createQuantileSeq({ add, compare, multiply, partitionSelect, typed })
export const hasNumericValue = /* #__PURE__ */ createHasNumericValue({ isNumeric, typed })
export const log1p = /* #__PURE__ */ createLog1p({ typed })
export const atanh = /* #__PURE__ */ createAtanh({ typed })
export const composition = /* #__PURE__ */ createComposition({ addScalar, combinations, isInteger, isNegative, isPositive, larger, typed })
export const median = /* #__PURE__ */ createMedian({ add, compare, divide, partitionSelect, typed })
export const floor = /* #__PURE__ */ createFloor({ typed })
export const isZero = /* #__PURE__ */ createIsZero({ typed })
export const equalText = /* #__PURE__ */ createEqualText({ compareText, isZero, typed })
export const matrix = /* #__PURE__ */ createMatrix({})
export const range = /* #__PURE__ */ createRange({ matrix, config, larger, largerEq, smaller, smallerEq, typed })
export const mad = /* #__PURE__ */ createMad({ abs, map, median, subtract, typed })
export const size = /* #__PURE__ */ createSize({ matrix, config, typed })