Skip to content

Commit 0131e1e

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 78dbf84 commit 0131e1e

1 file changed

Lines changed: 226 additions & 3 deletions

File tree

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

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

Lines changed: 226 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9502,7 +9502,80 @@
95029502
"@stdlib/math/base/special/cinvf": {},
95039503
"@stdlib/math/base/special/cinv": {},
95049504
"@stdlib/math/base/special/lnf": {},
9505-
"@stdlib/math/base/special/ln": {},
9505+
"@stdlib/math/base/special/ln": {
9506+
"$schema": "math/base@v1.0",
9507+
"base_alias": "ln",
9508+
"alias": "ln",
9509+
"pkg_desc": "evaluate the natural logarithm of a double-precision floating-point number",
9510+
"desc": "evaluates the natural logarithm of a double-precision floating-point number",
9511+
"short_desc": "natural logarithm",
9512+
"parameters": [
9513+
{
9514+
"name": "x",
9515+
"desc": "input value",
9516+
"type": {
9517+
"javascript": "number",
9518+
"jsdoc": "number",
9519+
"c": "double",
9520+
"dtype": "float64"
9521+
},
9522+
"domain": [
9523+
{
9524+
"min": 0,
9525+
"max": "infinity"
9526+
}
9527+
],
9528+
"rand": {
9529+
"prng": "random/base/uniform",
9530+
"parameters": [
9531+
0,
9532+
100
9533+
]
9534+
},
9535+
"example_values": [
9536+
0,
9537+
0.01,
9538+
0.25,
9539+
0.5,
9540+
1,
9541+
2,
9542+
3,
9543+
4,
9544+
9,
9545+
16,
9546+
25,
9547+
36,
9548+
49,
9549+
64,
9550+
81,
9551+
100,
9552+
0.1,
9553+
10,
9554+
50,
9555+
99.99
9556+
]
9557+
}
9558+
],
9559+
"output_policy": "real_floating_point_and_generic",
9560+
"returns": {
9561+
"desc": "natural logarithm",
9562+
"type": {
9563+
"javascript": "number",
9564+
"jsdoc": "number",
9565+
"c": "double",
9566+
"dtype": "float64"
9567+
}
9568+
},
9569+
"keywords": [
9570+
"ln",
9571+
"natural",
9572+
"logarithm",
9573+
"log"
9574+
],
9575+
"extra_keywords": [
9576+
"math.log"
9577+
]
9578+
},
95069579
"@stdlib/math/base/special/log10": {},
95079580
"@stdlib/math/base/special/log1mexp": {},
95089581
"@stdlib/math/base/special/log1p": {},
@@ -9828,8 +9901,158 @@
98289901
"math.round"
98299902
]
98309903
},
9831-
"@stdlib/math/base/special/rsqrtf": {},
9832-
"@stdlib/math/base/special/rsqrt": {},
9904+
"@stdlib/math/base/special/rsqrtf": {
9905+
"$schema": "math/base@v1.0",
9906+
"base_alias": "rsqrt",
9907+
"alias": "rsqrtf",
9908+
"pkg_desc": "compute the reciprocal square root of a single-precision floating-point number",
9909+
"desc": "computes the reciprocal square root of a single-precision floating-point number",
9910+
"short_desc": "reciprocal square root",
9911+
"parameters": [
9912+
{
9913+
"name": "x",
9914+
"desc": "input value",
9915+
"type": {
9916+
"javascript": "number",
9917+
"jsdoc": "number",
9918+
"c": "float",
9919+
"dtype": "float32"
9920+
},
9921+
"domain": [
9922+
{
9923+
"min": 0,
9924+
"max": "infinity"
9925+
}
9926+
],
9927+
"rand": {
9928+
"prng": "random/base/uniform",
9929+
"parameters": [
9930+
0.1,
9931+
100
9932+
]
9933+
},
9934+
"example_values": [
9935+
0.251,
9936+
0.01,
9937+
0.25,
9938+
0.5,
9939+
1,
9940+
2,
9941+
3,
9942+
4,
9943+
9,
9944+
16,
9945+
25,
9946+
36,
9947+
49,
9948+
64,
9949+
81,
9950+
100,
9951+
0.1,
9952+
10,
9953+
50,
9954+
99.99
9955+
]
9956+
}
9957+
],
9958+
"output_policy": "real_floating_point_and_generic",
9959+
"returns": {
9960+
"desc": "reciprocal square root",
9961+
"type": {
9962+
"javascript": "number",
9963+
"jsdoc": "number",
9964+
"c": "float",
9965+
"dtype": "float32"
9966+
}
9967+
},
9968+
"keywords": [
9969+
"sqrt",
9970+
"principal",
9971+
"square",
9972+
"root",
9973+
"reciprocal",
9974+
"inverse"
9975+
],
9976+
"extra_keywords": [
9977+
"math.sqrt"
9978+
]
9979+
},
9980+
"@stdlib/math/base/special/rsqrt": {
9981+
"$schema": "math/base@v1.0",
9982+
"base_alias": "rsqrt",
9983+
"alias": "rsqrt",
9984+
"pkg_desc": "compute the reciprocal square root of a double-precision floating-point number",
9985+
"desc": "computes the reciprocal square root of a double-precision floating-point number",
9986+
"short_desc": "reciprocal square root",
9987+
"parameters": [
9988+
{
9989+
"name": "x",
9990+
"desc": "input value",
9991+
"type": {
9992+
"javascript": "number",
9993+
"jsdoc": "number",
9994+
"c": "double",
9995+
"dtype": "float64"
9996+
},
9997+
"domain": [
9998+
{
9999+
"min": 0,
10000+
"max": "infinity"
10001+
}
10002+
],
10003+
"rand": {
10004+
"prng": "random/base/uniform",
10005+
"parameters": [
10006+
0.1,
10007+
100
10008+
]
10009+
},
10010+
"example_values": [
10011+
0.025,
10012+
0.01,
10013+
0.25,
10014+
0.5,
10015+
1,
10016+
2,
10017+
3,
10018+
4,
10019+
9,
10020+
16,
10021+
25,
10022+
36,
10023+
49,
10024+
64,
10025+
81,
10026+
100,
10027+
0.1,
10028+
10,
10029+
50,
10030+
99.99
10031+
]
10032+
}
10033+
],
10034+
"output_policy": "real_floating_point_and_generic",
10035+
"returns": {
10036+
"desc": "reciprocal square root",
10037+
"type": {
10038+
"javascript": "number",
10039+
"jsdoc": "number",
10040+
"c": "double",
10041+
"dtype": "float64"
10042+
}
10043+
},
10044+
"keywords": [
10045+
"sqrt",
10046+
"principal",
10047+
"square",
10048+
"root",
10049+
"reciprocal",
10050+
"inverse"
10051+
],
10052+
"extra_keywords": [
10053+
"math.sqrt"
10054+
]
10055+
},
983310056
"@stdlib/math/base/special/secf": {
983410057
"$schema": "math/base@v1.0",
983510058
"base_alias": "sec",

0 commit comments

Comments
 (0)