Skip to content

Commit 528e1aa

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 ee69837 commit 528e1aa

1 file changed

Lines changed: 372 additions & 5 deletions

File tree

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

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

Lines changed: 372 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9501,8 +9501,154 @@
95019501
"@stdlib/math/base/special/inv": {},
95029502
"@stdlib/math/base/special/cinvf": {},
95039503
"@stdlib/math/base/special/cinv": {},
9504-
"@stdlib/math/base/special/lnf": {},
9505-
"@stdlib/math/base/special/ln": {},
9504+
"@stdlib/math/base/special/lnf": {
9505+
"$schema": "math/base@v1.0",
9506+
"base_alias": "ln",
9507+
"alias": "lnf",
9508+
"pkg_desc": "evaluate the natural logarithm of a single-precision floating-point number",
9509+
"desc": "evaluates the natural logarithm of a single-precision floating-point number",
9510+
"short_desc": "natural logarithm",
9511+
"parameters": [
9512+
{
9513+
"name": "x",
9514+
"desc": "input value",
9515+
"type": {
9516+
"javascript": "number",
9517+
"jsdoc": "number",
9518+
"c": "float",
9519+
"dtype": "float32"
9520+
},
9521+
"domain": [
9522+
{
9523+
"min": 0,
9524+
"max": "infinity"
9525+
}
9526+
],
9527+
"rand": {
9528+
"prng": "random/base/uniform",
9529+
"parameters": [
9530+
0,
9531+
100
9532+
]
9533+
},
9534+
"example_values": [
9535+
0,
9536+
0.01,
9537+
0.25,
9538+
0.5,
9539+
1,
9540+
2,
9541+
3,
9542+
4,
9543+
9,
9544+
16,
9545+
25,
9546+
36,
9547+
49,
9548+
64,
9549+
81,
9550+
100,
9551+
0.1,
9552+
10,
9553+
50,
9554+
99.99
9555+
]
9556+
}
9557+
],
9558+
"output_policy": "real_floating_point_and_generic",
9559+
"returns": {
9560+
"desc": "natural logarithm",
9561+
"type": {
9562+
"javascript": "number",
9563+
"jsdoc": "number",
9564+
"c": "float",
9565+
"dtype": "float32"
9566+
}
9567+
},
9568+
"keywords": [
9569+
"ln",
9570+
"natural",
9571+
"logarithm",
9572+
"log"
9573+
],
9574+
"extra_keywords": [
9575+
"math.log"
9576+
]
9577+
},
9578+
"@stdlib/math/base/special/ln": {
9579+
"$schema": "math/base@v1.0",
9580+
"base_alias": "ln",
9581+
"alias": "ln",
9582+
"pkg_desc": "evaluate the natural logarithm of a double-precision floating-point number",
9583+
"desc": "evaluates the natural logarithm of a double-precision floating-point number",
9584+
"short_desc": "natural logarithm",
9585+
"parameters": [
9586+
{
9587+
"name": "x",
9588+
"desc": "input value",
9589+
"type": {
9590+
"javascript": "number",
9591+
"jsdoc": "number",
9592+
"c": "double",
9593+
"dtype": "float64"
9594+
},
9595+
"domain": [
9596+
{
9597+
"min": 0,
9598+
"max": "infinity"
9599+
}
9600+
],
9601+
"rand": {
9602+
"prng": "random/base/uniform",
9603+
"parameters": [
9604+
0,
9605+
100
9606+
]
9607+
},
9608+
"example_values": [
9609+
0,
9610+
0.01,
9611+
0.25,
9612+
0.5,
9613+
1,
9614+
2,
9615+
3,
9616+
4,
9617+
9,
9618+
16,
9619+
25,
9620+
36,
9621+
49,
9622+
64,
9623+
81,
9624+
100,
9625+
0.1,
9626+
10,
9627+
50,
9628+
99.99
9629+
]
9630+
}
9631+
],
9632+
"output_policy": "real_floating_point_and_generic",
9633+
"returns": {
9634+
"desc": "natural logarithm",
9635+
"type": {
9636+
"javascript": "number",
9637+
"jsdoc": "number",
9638+
"c": "double",
9639+
"dtype": "float64"
9640+
}
9641+
},
9642+
"keywords": [
9643+
"ln",
9644+
"natural",
9645+
"logarithm",
9646+
"log"
9647+
],
9648+
"extra_keywords": [
9649+
"math.log"
9650+
]
9651+
},
95069652
"@stdlib/math/base/special/log10": {},
95079653
"@stdlib/math/base/special/log1mexp": {},
95089654
"@stdlib/math/base/special/log1p": {},
@@ -9600,7 +9746,78 @@
96009746
"@stdlib/math/base/special/rcbrtf": {},
96019747
"@stdlib/math/base/special/rcbrt": {},
96029748
"@stdlib/math/base/special/riemann-zeta": {},
9603-
"@stdlib/math/base/special/roundf": {},
9749+
"@stdlib/math/base/special/roundf": {
9750+
"$schema": "math/base@v1.0",
9751+
"base_alias": "round",
9752+
"alias": "roundf",
9753+
"pkg_desc": "round a single-precision floating-point number to the nearest integer",
9754+
"desc": "rounds a single-precision floating-point number to the nearest integer",
9755+
"short_desc": "",
9756+
"parameters": [
9757+
{
9758+
"name": "x",
9759+
"desc": "input value",
9760+
"type": {
9761+
"javascript": "number",
9762+
"jsdoc": "number",
9763+
"c": "float",
9764+
"dtype": "float32"
9765+
},
9766+
"domain": [
9767+
{
9768+
"min": "-infinity",
9769+
"max": "infinity"
9770+
}
9771+
],
9772+
"rand": {
9773+
"prng": "random/base/uniform",
9774+
"parameters": [
9775+
-10,
9776+
10
9777+
]
9778+
},
9779+
"example_values": [
9780+
-10.2,
9781+
11.3,
9782+
-12.4,
9783+
3.5,
9784+
-1.6,
9785+
64,
9786+
27.2,
9787+
0,
9788+
0.1,
9789+
-9,
9790+
8.1,
9791+
-1,
9792+
125,
9793+
15.7,
9794+
-16.5,
9795+
17.9,
9796+
-188.7,
9797+
19.11,
9798+
-200.1,
9799+
21.15
9800+
]
9801+
}
9802+
],
9803+
"returns": {
9804+
"desc": "function value",
9805+
"type": {
9806+
"javascript": "number",
9807+
"jsdoc": "number",
9808+
"c": "float",
9809+
"dtype": "float32"
9810+
}
9811+
},
9812+
"keywords": [
9813+
"round",
9814+
"integer",
9815+
"nearest"
9816+
],
9817+
"extra_keywords": [
9818+
"math.round"
9819+
]
9820+
},
96049821
"@stdlib/math/base/special/round": {
96059822
"$schema": "math/base@v1.0",
96069823
"base_alias": "round",
@@ -9828,8 +10045,158 @@
982810045
"math.round"
982910046
]
983010047
},
9831-
"@stdlib/math/base/special/rsqrtf": {},
9832-
"@stdlib/math/base/special/rsqrt": {},
10048+
"@stdlib/math/base/special/rsqrtf": {
10049+
"$schema": "math/base@v1.0",
10050+
"base_alias": "rsqrt",
10051+
"alias": "rsqrtf",
10052+
"pkg_desc": "compute the reciprocal square root of a single-precision floating-point number",
10053+
"desc": "computes the reciprocal square root of a single-precision floating-point number",
10054+
"short_desc": "reciprocal square root",
10055+
"parameters": [
10056+
{
10057+
"name": "x",
10058+
"desc": "input value",
10059+
"type": {
10060+
"javascript": "number",
10061+
"jsdoc": "number",
10062+
"c": "float",
10063+
"dtype": "float32"
10064+
},
10065+
"domain": [
10066+
{
10067+
"min": 0,
10068+
"max": "infinity"
10069+
}
10070+
],
10071+
"rand": {
10072+
"prng": "random/base/uniform",
10073+
"parameters": [
10074+
0.1,
10075+
100
10076+
]
10077+
},
10078+
"example_values": [
10079+
0.251,
10080+
0.01,
10081+
0.25,
10082+
0.5,
10083+
1,
10084+
2,
10085+
3,
10086+
4,
10087+
9,
10088+
16,
10089+
25,
10090+
36,
10091+
49,
10092+
64,
10093+
81,
10094+
100,
10095+
0.1,
10096+
10,
10097+
50,
10098+
99.99
10099+
]
10100+
}
10101+
],
10102+
"output_policy": "real_floating_point_and_generic",
10103+
"returns": {
10104+
"desc": "reciprocal square root",
10105+
"type": {
10106+
"javascript": "number",
10107+
"jsdoc": "number",
10108+
"c": "float",
10109+
"dtype": "float32"
10110+
}
10111+
},
10112+
"keywords": [
10113+
"sqrt",
10114+
"principal",
10115+
"square",
10116+
"root",
10117+
"reciprocal",
10118+
"inverse"
10119+
],
10120+
"extra_keywords": [
10121+
"math.sqrt"
10122+
]
10123+
},
10124+
"@stdlib/math/base/special/rsqrt": {
10125+
"$schema": "math/base@v1.0",
10126+
"base_alias": "rsqrt",
10127+
"alias": "rsqrt",
10128+
"pkg_desc": "compute the reciprocal square root of a double-precision floating-point number",
10129+
"desc": "computes the reciprocal square root of a double-precision floating-point number",
10130+
"short_desc": "reciprocal square root",
10131+
"parameters": [
10132+
{
10133+
"name": "x",
10134+
"desc": "input value",
10135+
"type": {
10136+
"javascript": "number",
10137+
"jsdoc": "number",
10138+
"c": "double",
10139+
"dtype": "float64"
10140+
},
10141+
"domain": [
10142+
{
10143+
"min": 0,
10144+
"max": "infinity"
10145+
}
10146+
],
10147+
"rand": {
10148+
"prng": "random/base/uniform",
10149+
"parameters": [
10150+
0.1,
10151+
100
10152+
]
10153+
},
10154+
"example_values": [
10155+
0.025,
10156+
0.01,
10157+
0.25,
10158+
0.5,
10159+
1,
10160+
2,
10161+
3,
10162+
4,
10163+
9,
10164+
16,
10165+
25,
10166+
36,
10167+
49,
10168+
64,
10169+
81,
10170+
100,
10171+
0.1,
10172+
10,
10173+
50,
10174+
99.99
10175+
]
10176+
}
10177+
],
10178+
"output_policy": "real_floating_point_and_generic",
10179+
"returns": {
10180+
"desc": "reciprocal square root",
10181+
"type": {
10182+
"javascript": "number",
10183+
"jsdoc": "number",
10184+
"c": "double",
10185+
"dtype": "float64"
10186+
}
10187+
},
10188+
"keywords": [
10189+
"sqrt",
10190+
"principal",
10191+
"square",
10192+
"root",
10193+
"reciprocal",
10194+
"inverse"
10195+
],
10196+
"extra_keywords": [
10197+
"math.sqrt"
10198+
]
10199+
},
983310200
"@stdlib/math/base/special/secf": {
983410201
"$schema": "math/base@v1.0",
983510202
"base_alias": "sec",

0 commit comments

Comments
 (0)