Skip to content

Commit 3c7aebe

Browse files
author
linzhijun
committed
fix
1 parent d84f73e commit 3c7aebe

35 files changed

Lines changed: 74 additions & 74 deletions

‎JavaScript/dist/toolgood.algorithm.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎JavaScript/src/Internals/Functions/MathSum/Function_BETADIST.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Function_BETADIST extends Function_3 {
2828
if (alpha < 0.0 || beta < 0.0) {
2929
return this.functionError();
3030
}
31-
return Operand.Create(ExcelFunctions.BetaDist(x, alpha, beta));
31+
return Operand.Create(ExcelFunctions.betaDist(x, alpha, beta));
3232
}
3333
}
3434

‎JavaScript/src/Internals/Functions/MathSum/Function_BETAINV.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Function_BETAINV extends Function_3 {
2727
if (alpha < 0.0 || beta < 0.0 || p < 0.0 || p > 1.0) {
2828
return this.functionError();
2929
}
30-
return Operand.Create(ExcelFunctions.BetaInv(p, alpha, beta));
30+
return Operand.Create(ExcelFunctions.betaInv(p, alpha, beta));
3131
}
3232
}
3333

‎JavaScript/src/Internals/Functions/MathSum/Function_BINOMDIST.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Function_BINOMDIST extends Function_4 {
2929
if (!(n3 >= 0.0 && n3 <= 1.0 && n2 >= 0)) {
3030
return this.functionError();
3131
}
32-
return Operand.Create(ExcelFunctions.BinomDist(args1.IntValue, n2, n3, args4.BooleanValue));
32+
return Operand.Create(ExcelFunctions.binomDist(args1.IntValue, n2, n3, args4.BooleanValue));
3333
}
3434
}
3535

‎JavaScript/src/Internals/Functions/MathSum/Function_EXPONDIST.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Function_EXPONDIST extends Function_3 {
2525
if (n1 < 0.0) {
2626
return this.functionError();
2727
}
28-
return Operand.Create(ExcelFunctions.ExponDist(n1, args2.DoubleValue, args3.BooleanValue));
28+
return Operand.Create(ExcelFunctions.exponDist(n1, args2.DoubleValue, args3.BooleanValue));
2929
}
3030
}
3131

‎JavaScript/src/Internals/Functions/MathSum/Function_FDIST.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Function_FDIST extends Function_3 {
2727
if (degreesFreedom <= 0.0 || degreesFreedom2 <= 0.0) {
2828
return this.functionError();
2929
}
30-
return Operand.Create(ExcelFunctions.FDist(x, degreesFreedom, degreesFreedom2));
30+
return Operand.Create(ExcelFunctions.fDist(x, degreesFreedom, degreesFreedom2));
3131
}
3232
}
3333

‎JavaScript/src/Internals/Functions/MathSum/Function_FINV.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Function_FINV extends Function_3 {
2727
if (degreesFreedom <= 0.0 || degreesFreedom2 <= 0.0 || p < 0.0 || p > 1.0) {
2828
return this.functionError();
2929
}
30-
return Operand.Create(ExcelFunctions.FInv(p, degreesFreedom, degreesFreedom2));
30+
return Operand.Create(ExcelFunctions.fInv(p, degreesFreedom, degreesFreedom2));
3131
}
3232
}
3333

‎JavaScript/src/Internals/Functions/MathSum/Function_GAMMADIST.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Function_GAMMADIST extends Function_4 {
3131
if (alpha < 0.0 || beta < 0.0) {
3232
return this.functionError();
3333
}
34-
return Operand.Create(ExcelFunctions.GammaDist(x, alpha, beta, cumulative));
34+
return Operand.Create(ExcelFunctions.gammaDist(x, alpha, beta, cumulative));
3535
}
3636
}
3737

‎JavaScript/src/Internals/Functions/MathSum/Function_GAMMAINV.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Function_GAMMAINV extends Function_3 {
2727
if (alpha < 0.0 || beta < 0.0 || probability < 0 || probability > 1.0) {
2828
return this.functionError();
2929
}
30-
return Operand.Create(ExcelFunctions.GammaInv(probability, alpha, beta));
30+
return Operand.Create(ExcelFunctions.gammaInv(probability, alpha, beta));
3131
}
3232
}
3333

‎JavaScript/src/Internals/Functions/MathSum/Function_GAMMALN.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Function_GAMMALN extends Function_1 {
1414
evaluate(engine, tempParameter) {
1515
let args1 = this.getNumber_1(engine, tempParameter);
1616
if (args1.IsError) { return args1; }
17-
return Operand.Create(ExcelFunctions.GAMMALN(args1.DoubleValue));
17+
return Operand.Create(ExcelFunctions.gammaln(args1.DoubleValue));
1818
}
1919
}
2020

0 commit comments

Comments
 (0)