forked from josdejong/mathjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
factoriesAny.js
333 lines (333 loc) · 17.1 KB
/
factoriesAny.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
export { createTyped } from './core/function/typed'
export { createResultSet } from './type/resultset/ResultSet'
export { createBigNumberClass } from './type/bignumber/BigNumber'
export { createComplexClass } from './type/complex/Complex'
export { createFractionClass } from './type/fraction/Fraction'
export { createRangeClass } from './type/matrix/Range'
export { createMatrixClass } from './type/matrix/Matrix'
export { createDenseMatrixClass } from './type/matrix/DenseMatrix'
export { createClone } from './function/utils/clone'
export { createIsInteger } from './function/utils/isInteger'
export { createIsNegative } from './function/utils/isNegative'
export { createIsNumeric } from './function/utils/isNumeric'
export { createHasNumericValue } from './function/utils/hasNumericValue'
export { createIsPositive } from './function/utils/isPositive'
export { createIsZero } from './function/utils/isZero'
export { createIsNaN } from './function/utils/isNaN'
export { createTypeOf } from './function/utils/typeOf'
export { createEqualScalar } from './function/relational/equalScalar'
export { createSparseMatrixClass } from './type/matrix/SparseMatrix'
export { createNumber } from './type/number'
export { createString } from './type/string'
export { createBoolean } from './type/boolean'
export { createBignumber } from './type/bignumber/function/bignumber'
export { createComplex } from './type/complex/function/complex'
export { createFraction } from './type/fraction/function/fraction'
export { createMatrix } from './type/matrix/function/matrix'
export { createSplitUnit } from './type/unit/function/splitUnit'
export { createUnaryMinus } from './function/arithmetic/unaryMinus'
export { createUnaryPlus } from './function/arithmetic/unaryPlus'
export { createAbs } from './function/arithmetic/abs'
export { createApply } from './function/matrix/apply'
export { createAddScalar } from './function/arithmetic/addScalar'
export { createCbrt } from './function/arithmetic/cbrt'
export { createCeil } from './function/arithmetic/ceil'
export { createCube } from './function/arithmetic/cube'
export { createExp } from './function/arithmetic/exp'
export { createExpm1 } from './function/arithmetic/expm1'
export { createFix } from './function/arithmetic/fix'
export { createFloor } from './function/arithmetic/floor'
export { createGcd } from './function/arithmetic/gcd'
export { createLcm } from './function/arithmetic/lcm'
export { createLog10 } from './function/arithmetic/log10'
export { createLog2 } from './function/arithmetic/log2'
export { createMod } from './function/arithmetic/mod'
export { createMultiplyScalar } from './function/arithmetic/multiplyScalar'
export { createMultiply } from './function/arithmetic/multiply'
export { createNthRoot } from './function/arithmetic/nthRoot'
export { createSign } from './function/arithmetic/sign'
export { createSqrt } from './function/arithmetic/sqrt'
export { createSquare } from './function/arithmetic/square'
export { createSubtract } from './function/arithmetic/subtract'
export { createXgcd } from './function/arithmetic/xgcd'
export { createDotMultiply } from './function/arithmetic/dotMultiply'
export { createBitAnd } from './function/bitwise/bitAnd'
export { createBitNot } from './function/bitwise/bitNot'
export { createBitOr } from './function/bitwise/bitOr'
export { createBitXor } from './function/bitwise/bitXor'
export { createArg } from './function/complex/arg'
export { createConj } from './function/complex/conj'
export { createIm } from './function/complex/im'
export { createRe } from './function/complex/re'
export { createNot } from './function/logical/not'
export { createOr } from './function/logical/or'
export { createXor } from './function/logical/xor'
export { createConcat } from './function/matrix/concat'
export { createColumn } from './function/matrix/column'
export { createCross } from './function/matrix/cross'
export { createDiag } from './function/matrix/diag'
export { createFilter } from './function/matrix/filter'
export { createFlatten } from './function/matrix/flatten'
export { createForEach } from './function/matrix/forEach'
export { createGetMatrixDataType } from './function/matrix/getMatrixDataType'
export { createIdentity } from './function/matrix/identity'
export { createKron } from './function/matrix/kron'
export { createMap } from './function/matrix/map'
export { createDiff } from './function/matrix/diff'
export { createOnes } from './function/matrix/ones'
export { createRange } from './function/matrix/range'
export { createReshape } from './function/matrix/reshape'
export { createResize } from './function/matrix/resize'
export { createRotate } from './function/matrix/rotate'
export { createRotationMatrix } from './function/matrix/rotationMatrix'
export { createRow } from './function/matrix/row'
export { createSize } from './function/matrix/size'
export { createSqueeze } from './function/matrix/squeeze'
export { createSubset } from './function/matrix/subset'
export { createTranspose } from './function/matrix/transpose'
export { createCtranspose } from './function/matrix/ctranspose'
export { createZeros } from './function/matrix/zeros'
export { createErf } from './function/special/erf'
export { createMode } from './function/statistics/mode'
export { createProd } from './function/statistics/prod'
export { createFormat } from './function/string/format'
export { createBin } from './function/string/bin'
export { createOct } from './function/string/oct'
export { createHex } from './function/string/hex'
export { createPrint } from './function/string/print'
export { createTo } from './function/unit/to'
export { createIsPrime } from './function/utils/isPrime'
export { createNumeric } from './function/utils/numeric'
export { createDivideScalar } from './function/arithmetic/divideScalar'
export { createPow } from './function/arithmetic/pow'
export { createRound } from './function/arithmetic/round'
export { createLog } from './function/arithmetic/log'
export { createLog1p } from './function/arithmetic/log1p'
export { createNthRoots } from './function/arithmetic/nthRoots'
export { createDotPow } from './function/arithmetic/dotPow'
export { createDotDivide } from './function/arithmetic/dotDivide'
export { createLsolve } from './function/algebra/solver/lsolve'
export { createUsolve } from './function/algebra/solver/usolve'
export { createLsolveAll } from './function/algebra/solver/lsolveAll'
export { createUsolveAll } from './function/algebra/solver/usolveAll'
export { createLeftShift } from './function/bitwise/leftShift'
export { createRightArithShift } from './function/bitwise/rightArithShift'
export { createRightLogShift } from './function/bitwise/rightLogShift'
export { createAnd } from './function/logical/and'
export { createCompare } from './function/relational/compare'
export { createCompareNatural } from './function/relational/compareNatural'
export { createCompareText } from './function/relational/compareText'
export { createEqual } from './function/relational/equal'
export { createEqualText } from './function/relational/equalText'
export { createSmaller } from './function/relational/smaller'
export { createSmallerEq } from './function/relational/smallerEq'
export { createLarger } from './function/relational/larger'
export { createLargerEq } from './function/relational/largerEq'
export { createDeepEqual } from './function/relational/deepEqual'
export { createUnequal } from './function/relational/unequal'
export { createPartitionSelect } from './function/matrix/partitionSelect'
export { createSort } from './function/matrix/sort'
export { createMax } from './function/statistics/max'
export { createMin } from './function/statistics/min'
export { createImmutableDenseMatrixClass } from './type/matrix/ImmutableDenseMatrix'
export { createIndexClass } from './type/matrix/MatrixIndex'
export { createFibonacciHeapClass } from './type/matrix/FibonacciHeap'
export { createSpaClass } from './type/matrix/Spa'
export { createUnitClass } from './type/unit/Unit'
export { createUnitFunction } from './type/unit/function/unit'
export { createSparse } from './type/matrix/function/sparse'
export { createCreateUnit } from './type/unit/function/createUnit'
export { createAcos } from './function/trigonometry/acos'
export { createAcosh } from './function/trigonometry/acosh'
export { createAcot } from './function/trigonometry/acot'
export { createAcoth } from './function/trigonometry/acoth'
export { createAcsc } from './function/trigonometry/acsc'
export { createAcsch } from './function/trigonometry/acsch'
export { createAsec } from './function/trigonometry/asec'
export { createAsech } from './function/trigonometry/asech'
export { createAsin } from './function/trigonometry/asin'
export { createAsinh } from './function/trigonometry/asinh'
export { createAtan } from './function/trigonometry/atan'
export { createAtan2 } from './function/trigonometry/atan2'
export { createAtanh } from './function/trigonometry/atanh'
export { createCos } from './function/trigonometry/cos'
export { createCosh } from './function/trigonometry/cosh'
export { createCot } from './function/trigonometry/cot'
export { createCoth } from './function/trigonometry/coth'
export { createCsc } from './function/trigonometry/csc'
export { createCsch } from './function/trigonometry/csch'
export { createSec } from './function/trigonometry/sec'
export { createSech } from './function/trigonometry/sech'
export { createSin } from './function/trigonometry/sin'
export { createSinh } from './function/trigonometry/sinh'
export { createTan } from './function/trigonometry/tan'
export { createTanh } from './function/trigonometry/tanh'
export { createSetCartesian } from './function/set/setCartesian'
export { createSetDifference } from './function/set/setDifference'
export { createSetDistinct } from './function/set/setDistinct'
export { createSetIntersect } from './function/set/setIntersect'
export { createSetIsSubset } from './function/set/setIsSubset'
export { createSetMultiplicity } from './function/set/setMultiplicity'
export { createSetPowerset } from './function/set/setPowerset'
export { createSetSize } from './function/set/setSize'
export { createSetSymDifference } from './function/set/setSymDifference'
export { createSetUnion } from './function/set/setUnion'
export { createAdd } from './function/arithmetic/add'
export { createHypot } from './function/arithmetic/hypot'
export { createNorm } from './function/arithmetic/norm'
export { createDot } from './function/matrix/dot'
export { createTrace } from './function/matrix/trace'
export { createIndex } from './type/matrix/function'
export { createNode } from './expression/node/Node'
export { createAccessorNode } from './expression/node/AccessorNode'
export { createArrayNode } from './expression/node/ArrayNode'
export { createAssignmentNode } from './expression/node/AssignmentNode'
export { createBlockNode } from './expression/node/BlockNode'
export { createConditionalNode } from './expression/node/ConditionalNode'
export { createConstantNode } from './expression/node/ConstantNode'
export { createFunctionAssignmentNode } from './expression/node/FunctionAssignmentNode'
export { createIndexNode } from './expression/node/IndexNode'
export { createObjectNode } from './expression/node/ObjectNode'
export { createOperatorNode } from './expression/node/OperatorNode'
export { createParenthesisNode } from './expression/node/ParenthesisNode'
export { createRangeNode } from './expression/node/RangeNode'
export { createRelationalNode } from './expression/node/RelationalNode'
export { createSymbolNode } from './expression/node/SymbolNode'
export { createFunctionNode } from './expression/node/FunctionNode'
export { createParse } from './expression/parse'
export { createCompile } from './expression/function/compile'
export { createEvaluate } from './expression/function/evaluate'
export { createParserClass } from './expression/Parser'
export { createParser } from './expression/function/parser'
export { createLup } from './function/algebra/decomposition/lup'
export { createQr } from './function/algebra/decomposition/qr'
export { createSlu } from './function/algebra/decomposition/slu'
export { createLusolve } from './function/algebra/solver/lusolve'
export { createHelpClass } from './expression/Help'
export { createChainClass } from './type/chain/Chain'
export { createHelp } from './expression/function/help'
export { createChain } from './type/chain/function/chain'
export { createDet } from './function/matrix/det'
export { createInv } from './function/matrix/inv'
export { createEigs } from './function/matrix/eigs'
export { createExpm } from './function/matrix/expm'
export { createSqrtm } from './function/matrix/sqrtm'
export { createDivide } from './function/arithmetic/divide'
export { createDistance } from './function/geometry/distance'
export { createIntersect } from './function/geometry/intersect'
export { createSum } from './function/statistics/sum'
export { createMean } from './function/statistics/mean'
export { createMedian } from './function/statistics/median'
export { createMad } from './function/statistics/mad'
export { createVariance } from './function/statistics/variance'
export { createQuantileSeq } from './function/statistics/quantileSeq'
export { createStd } from './function/statistics/std'
export { createCombinations } from './function/probability/combinations'
export { createCombinationsWithRep } from './function/probability/combinationsWithRep'
export { createGamma } from './function/probability/gamma'
export { createFactorial } from './function/probability/factorial'
export { createKldivergence } from './function/probability/kldivergence'
export { createMultinomial } from './function/probability/multinomial'
export { createPermutations } from './function/probability/permutations'
export { createPickRandom } from './function/probability/pickRandom'
export { createRandom } from './function/probability/random'
export { createRandomInt } from './function/probability/randomInt'
export { createStirlingS2 } from './function/combinatorics/stirlingS2'
export { createBellNumbers } from './function/combinatorics/bellNumbers'
export { createCatalan } from './function/combinatorics/catalan'
export { createComposition } from './function/combinatorics/composition'
export { createSimplify } from './function/algebra/simplify'
export { createDerivative } from './function/algebra/derivative'
export { createRationalize } from './function/algebra/rationalize'
export { createReviver } from './json/reviver'
export { createReplacer } from './json/replacer'
export {
createE,
createUppercaseE,
createFalse,
createI,
createInfinity,
createLN10,
createLN2,
createLOG10E,
createLOG2E,
createNaN,
createNull,
createPhi,
createPi,
createUppercasePi,
createSQRT1_2, // eslint-disable-line camelcase
createSQRT2,
createTau,
createTrue,
createVersion
} from './constants'
export {
createAtomicMass,
createAvogadro,
createBohrMagneton,
createBohrRadius,
createBoltzmann,
createClassicalElectronRadius,
createConductanceQuantum,
createCoulomb,
createDeuteronMass,
createEfimovFactor,
createElectricConstant,
createElectronMass,
createElementaryCharge,
createFaraday,
createFermiCoupling,
createFineStructure,
createFirstRadiation,
createGasConstant,
createGravitationConstant,
createGravity,
createHartreeEnergy,
createInverseConductanceQuantum,
createKlitzing,
createLoschmidt,
createMagneticConstant,
createMagneticFluxQuantum,
createMolarMass,
createMolarMassC12,
createMolarPlanckConstant,
createMolarVolume,
createNeutronMass,
createNuclearMagneton,
createPlanckCharge,
createPlanckConstant,
createPlanckLength,
createPlanckMass,
createPlanckTemperature,
createPlanckTime,
createProtonMass,
createQuantumOfCirculation,
createReducedPlanckConstant,
createRydberg,
createSackurTetrode,
createSecondRadiation,
createSpeedOfLight,
createStefanBoltzmann,
createThomsonCrossSection,
createVacuumImpedance,
createWeakMixingAngle,
createWienDisplacement
} from './type/unit/physicalConstants'
export { createApplyTransform } from './expression/transform/apply.transform'
export { createColumnTransform } from './expression/transform/column.transform'
export { createFilterTransform } from './expression/transform/filter.transform'
export { createForEachTransform } from './expression/transform/forEach.transform'
export { createIndexTransform } from './expression/transform/index.transform'
export { createMapTransform } from './expression/transform/map.transform'
export { createMaxTransform } from './expression/transform/max.transform'
export { createMeanTransform } from './expression/transform/mean.transform'
export { createMinTransform } from './expression/transform/min.transform'
export { createRangeTransform } from './expression/transform/range.transform'
export { createRowTransform } from './expression/transform/row.transform'
export { createSubsetTransform } from './expression/transform/subset.transform'
export { createConcatTransform } from './expression/transform/concat.transform'
export { createDiffTransform } from './expression/transform/diff.transform'
export { createStdTransform } from './expression/transform/std.transform'
export { createSumTransform } from './expression/transform/sum.transform'
export { createVarianceTransform } from './expression/transform/variance.transform'