math icon indicating copy to clipboard operation
math copied to clipboard

Complex special functions and common mathematical operations in JavaScript

Results 3 math issues
Sort by recently updated
recently updated
newest added

Sorry I somehow missed #18. Can the formula: `HarmonicNumber(n) == EulerGamma + PolyGamma(0, 1 + n) ` be used in `harmonic` for non-integer arguments? https://github.com/paulmasson/math/blob/e8a5603a3157d0ff044b8126f3bca0d3c5bcad26/build/math.js#L4464 Also for 2 arguments: `HarmonicNumber(n,...

The following example should return `-0.5`: ```javascript console.log(hypergeometric2F1(-3.0,-1.0,-2.0,1.0)); ``` The following example should return appro: `5.513090059384266E23` ```javascript console.log(hypergeometric2F1(2,2,3.01,0.95)); ``` See tests: - https://github.com/kspalaiologos/Maja/blob/19381abbcfb4aca44871f050a9cac79d6f2a14f4/src/test/java/TestHypergeometric.java#L19C20-L19C36

Hi Paul, the zeta function returns NaN for complex numbers with Im>80. It seems that the factorial product overflows. Would this algorithm be suitable for Imaginary numbers > 80? This...