math
math copied to clipboard
hypergeometric2F1(-3.0,-1.0,-2.0,1.0) should return -0.5
The following example should return -0.5:
console.log(hypergeometric2F1(-3.0,-1.0,-2.0,1.0));
The following example should return appro: 5.513090059384266E23
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