Skip to content

Commit a703bf1

Browse files
kgrytestdlib-bot
authored andcommitted
feat: update math scaffold databases
Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
1 parent 56fd54f commit a703bf1

File tree

1 file changed

+229
-3
lines changed
  • lib/node_modules/@stdlib/math/special/data

1 file changed

+229
-3
lines changed

lib/node_modules/@stdlib/math/special/data/unary.json

Lines changed: 229 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,81 @@
10081008
],
10091009
"extra_keywords": []
10101010
},
1011-
"@stdlib/math/base/special/gammaln": {},
1011+
"@stdlib/math/base/special/gammaln": {
1012+
"$schema": "math/base@v1.0",
1013+
"base_alias": "gammaln",
1014+
"alias": "gammaln",
1015+
"pkg_desc": "evaluate the natural logarithm of the gamma function",
1016+
"desc": "evaluates the natural logarithm of the gamma function",
1017+
"short_desc": "natural logarithm of the gamma function",
1018+
"parameters": [
1019+
{
1020+
"name": "x",
1021+
"desc": "input value",
1022+
"type": {
1023+
"javascript": "number",
1024+
"jsdoc": "number",
1025+
"c": "double",
1026+
"dtype": "float64"
1027+
},
1028+
"domain": [
1029+
{
1030+
"min": "-infinity",
1031+
"max": "infinity"
1032+
}
1033+
],
1034+
"rand": {
1035+
"prng": "random/base/uniform",
1036+
"parameters": [
1037+
-10,
1038+
10
1039+
]
1040+
},
1041+
"example_values": [
1042+
1,
1043+
3.5,
1044+
4.5,
1045+
-0.5,
1046+
2,
1047+
3,
1048+
-3.5,
1049+
0.1,
1050+
4,
1051+
1.5,
1052+
5,
1053+
0.5,
1054+
2.5,
1055+
-1.5,
1056+
-2.5,
1057+
50,
1058+
100,
1059+
-50.5,
1060+
-100.5,
1061+
2.2
1062+
]
1063+
}
1064+
],
1065+
"output_policy": "real_floating_point_and_generic",
1066+
"returns": {
1067+
"desc": "function value",
1068+
"type": {
1069+
"javascript": "number",
1070+
"jsdoc": "number",
1071+
"c": "double",
1072+
"dtype": "float64"
1073+
}
1074+
},
1075+
"keywords": [
1076+
"gamma",
1077+
"factorial",
1078+
"natural",
1079+
"logarithm",
1080+
"log",
1081+
"ln",
1082+
"lgamma"
1083+
],
1084+
"extra_keywords": []
1085+
},
10121086
"@stdlib/math/base/special/acosf": {
10131087
"$schema": "math/base@v1.0",
10141088
"base_alias": "acos",
@@ -8502,8 +8576,160 @@
85028576
"math.exp"
85038577
]
85048578
},
8505-
"@stdlib/math/base/special/expm1": {},
8506-
"@stdlib/math/base/special/expm1rel": {},
8579+
"@stdlib/math/base/special/expm1": {
8580+
"$schema": "math/base@v1.0",
8581+
"base_alias": "expm1",
8582+
"alias": "expm1",
8583+
"pkg_desc": "compute `exp(x)-1`, where `exp(x)` is the natural exponential function",
8584+
"desc": "computes `exp(x)-1`, where `exp(x)` is the natural exponential function",
8585+
"short_desc": "exp(x)-1",
8586+
"parameters": [
8587+
{
8588+
"name": "x",
8589+
"desc": "input value",
8590+
"type": {
8591+
"javascript": "number",
8592+
"jsdoc": "number",
8593+
"c": "double",
8594+
"dtype": "float64"
8595+
},
8596+
"domain": [
8597+
{
8598+
"min": "-infinity",
8599+
"max": "infinity"
8600+
}
8601+
],
8602+
"rand": {
8603+
"prng": "random/base/uniform",
8604+
"parameters": [
8605+
-10,
8606+
10
8607+
]
8608+
},
8609+
"example_values": [
8610+
-1.2,
8611+
2,
8612+
-3.1,
8613+
-4.7,
8614+
5.5,
8615+
6.7,
8616+
8.9,
8617+
-10.2,
8618+
11.3,
8619+
-12.4,
8620+
13.5,
8621+
14.6,
8622+
-15.7,
8623+
16.8,
8624+
-17.9,
8625+
18.1,
8626+
-19.11,
8627+
20.12,
8628+
-21.15,
8629+
23.78
8630+
]
8631+
}
8632+
],
8633+
"returns": {
8634+
"desc": "function value",
8635+
"type": {
8636+
"javascript": "number",
8637+
"jsdoc": "number",
8638+
"c": "double",
8639+
"dtype": "float64"
8640+
}
8641+
},
8642+
"keywords": [
8643+
"expm1",
8644+
"power",
8645+
"natural",
8646+
"exp",
8647+
"exponential",
8648+
"function",
8649+
"euler"
8650+
],
8651+
"extra_keywords": [
8652+
"math.expm1"
8653+
]
8654+
},
8655+
"@stdlib/math/base/special/expm1rel": {
8656+
"$schema": "math/base@v1.0",
8657+
"base_alias": "expm1rel",
8658+
"alias": "expm1rel",
8659+
"pkg_desc": "compute the relative error exponential",
8660+
"desc": "computes the relative error exponential",
8661+
"short_desc": "relative error exponential",
8662+
"parameters": [
8663+
{
8664+
"name": "x",
8665+
"desc": "input value",
8666+
"type": {
8667+
"javascript": "number",
8668+
"jsdoc": "number",
8669+
"c": "double",
8670+
"dtype": "float64"
8671+
},
8672+
"domain": [
8673+
{
8674+
"min": "-infinity",
8675+
"max": "infinity"
8676+
}
8677+
],
8678+
"rand": {
8679+
"prng": "random/base/uniform",
8680+
"parameters": [
8681+
-10,
8682+
10
8683+
]
8684+
},
8685+
"example_values": [
8686+
-1.2,
8687+
2,
8688+
-3.1,
8689+
-4.7,
8690+
5.5,
8691+
6.7,
8692+
8.9,
8693+
-10.2,
8694+
11.3,
8695+
-12.4,
8696+
13.5,
8697+
14.6,
8698+
-15.7,
8699+
16.8,
8700+
-17.9,
8701+
18.1,
8702+
-19.11,
8703+
20.12,
8704+
-21.15,
8705+
23.78
8706+
]
8707+
}
8708+
],
8709+
"returns": {
8710+
"desc": "function value",
8711+
"type": {
8712+
"javascript": "number",
8713+
"jsdoc": "number",
8714+
"c": "double",
8715+
"dtype": "float64"
8716+
}
8717+
},
8718+
"keywords": [
8719+
"expm1",
8720+
"power",
8721+
"natural",
8722+
"exp",
8723+
"relative",
8724+
"error",
8725+
"err",
8726+
"exponential",
8727+
"euler"
8728+
],
8729+
"extra_keywords": [
8730+
"math.expm1"
8731+
]
8732+
},
85078733
"@stdlib/math/base/special/factorial": {
85088734
"$schema": "math/base@v1.0",
85098735
"base_alias": "factorial",

0 commit comments

Comments
 (0)