(x, n = 15)
| 126 | return result.length == 1 ? result[0] : result |
| 127 | } |
| 128 | sigmoid(x, n = 15) { |
| 129 | return new BigNumber(new BigNumber(1).div(this.pow(this.c("e", n), x).plus(1)).toFixed(n)) |
| 130 | } |
| 131 | sqrt(n) { |
| 132 | if (typeof n != 'object' || BigNumber.isBigNumber(n)) { |
| 133 | n = [n] |