Skip to content

Commit eb789a6

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 c803c81 commit eb789a6

1 file changed

Lines changed: 154 additions & 2 deletions

File tree

  • lib/node_modules/@stdlib/math/special/data

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

Lines changed: 154 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8502,8 +8502,160 @@
85028502
"math.exp"
85038503
]
85048504
},
8505-
"@stdlib/math/base/special/expm1": {},
8506-
"@stdlib/math/base/special/expm1rel": {},
8505+
"@stdlib/math/base/special/expm1": {
8506+
"$schema": "math/base@v1.0",
8507+
"base_alias": "expm1",
8508+
"alias": "expm1",
8509+
"pkg_desc": "compute `exp(x)-1`, where `exp(x)` is the natural exponential function",
8510+
"desc": "computes `exp(x)-1`, where `exp(x)` is the natural exponential function",
8511+
"short_desc": "exp(x)-1",
8512+
"parameters": [
8513+
{
8514+
"name": "x",
8515+
"desc": "input value",
8516+
"type": {
8517+
"javascript": "number",
8518+
"jsdoc": "number",
8519+
"c": "double",
8520+
"dtype": "float64"
8521+
},
8522+
"domain": [
8523+
{
8524+
"min": "-infinity",
8525+
"max": "infinity"
8526+
}
8527+
],
8528+
"rand": {
8529+
"prng": "random/base/uniform",
8530+
"parameters": [
8531+
-10,
8532+
10
8533+
]
8534+
},
8535+
"example_values": [
8536+
-1.2,
8537+
2,
8538+
-3.1,
8539+
-4.7,
8540+
5.5,
8541+
6.7,
8542+
8.9,
8543+
-10.2,
8544+
11.3,
8545+
-12.4,
8546+
13.5,
8547+
14.6,
8548+
-15.7,
8549+
16.8,
8550+
-17.9,
8551+
18.1,
8552+
-19.11,
8553+
20.12,
8554+
-21.15,
8555+
23.78
8556+
]
8557+
}
8558+
],
8559+
"returns": {
8560+
"desc": "function value",
8561+
"type": {
8562+
"javascript": "number",
8563+
"jsdoc": "number",
8564+
"c": "double",
8565+
"dtype": "float64"
8566+
}
8567+
},
8568+
"keywords": [
8569+
"expm1",
8570+
"power",
8571+
"natural",
8572+
"exp",
8573+
"exponential",
8574+
"function",
8575+
"euler"
8576+
],
8577+
"extra_keywords": [
8578+
"math.expm1"
8579+
]
8580+
},
8581+
"@stdlib/math/base/special/expm1rel": {
8582+
"$schema": "math/base@v1.0",
8583+
"base_alias": "expm1rel",
8584+
"alias": "expm1rel",
8585+
"pkg_desc": "compute the relative error exponential",
8586+
"desc": "computes the relative error exponential",
8587+
"short_desc": "relative error exponential",
8588+
"parameters": [
8589+
{
8590+
"name": "x",
8591+
"desc": "input value",
8592+
"type": {
8593+
"javascript": "number",
8594+
"jsdoc": "number",
8595+
"c": "double",
8596+
"dtype": "float64"
8597+
},
8598+
"domain": [
8599+
{
8600+
"min": "-infinity",
8601+
"max": "infinity"
8602+
}
8603+
],
8604+
"rand": {
8605+
"prng": "random/base/uniform",
8606+
"parameters": [
8607+
-10,
8608+
10
8609+
]
8610+
},
8611+
"example_values": [
8612+
-1.2,
8613+
2,
8614+
-3.1,
8615+
-4.7,
8616+
5.5,
8617+
6.7,
8618+
8.9,
8619+
-10.2,
8620+
11.3,
8621+
-12.4,
8622+
13.5,
8623+
14.6,
8624+
-15.7,
8625+
16.8,
8626+
-17.9,
8627+
18.1,
8628+
-19.11,
8629+
20.12,
8630+
-21.15,
8631+
23.78
8632+
]
8633+
}
8634+
],
8635+
"returns": {
8636+
"desc": "function value",
8637+
"type": {
8638+
"javascript": "number",
8639+
"jsdoc": "number",
8640+
"c": "double",
8641+
"dtype": "float64"
8642+
}
8643+
},
8644+
"keywords": [
8645+
"expm1",
8646+
"power",
8647+
"natural",
8648+
"exp",
8649+
"relative",
8650+
"error",
8651+
"err",
8652+
"exponential",
8653+
"euler"
8654+
],
8655+
"extra_keywords": [
8656+
"math.expm1"
8657+
]
8658+
},
85078659
"@stdlib/math/base/special/factorial": {
85088660
"$schema": "math/base@v1.0",
85098661
"base_alias": "factorial",

0 commit comments

Comments
 (0)