Skip to content

Commit 14bdba3

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 fce0ac6 commit 14bdba3

1 file changed

Lines changed: 224 additions & 3 deletions

File tree

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

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

Lines changed: 224 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9306,9 +9306,230 @@
93069306
]
93079307
},
93089308
"@stdlib/math/base/special/secd": {},
9309-
"@stdlib/math/base/special/sech": {},
9310-
"@stdlib/math/base/special/signumf": {},
9311-
"@stdlib/math/base/special/signum": {},
9309+
"@stdlib/math/base/special/sech": {
9310+
"$schema": "math/base@v1.0",
9311+
"base_alias": "sech",
9312+
"alias": "sech",
9313+
"pkg_desc": "compute the hyperbolic secant of a double-precision floating-point number",
9314+
"desc": "computes the hyperbolic secant of a double-precision floating-point number",
9315+
"short_desc": "hyperbolic secant",
9316+
"parameters": [
9317+
{
9318+
"name": "x",
9319+
"desc": "input value (in radians)",
9320+
"type": {
9321+
"javascript": "number",
9322+
"jsdoc": "number",
9323+
"c": "double",
9324+
"dtype": "float64"
9325+
},
9326+
"domain": [
9327+
{
9328+
"min": "-infinity",
9329+
"max": "infinity"
9330+
}
9331+
],
9332+
"rand": {
9333+
"prng": "random/base/uniform",
9334+
"parameters": [
9335+
-10,
9336+
10
9337+
]
9338+
},
9339+
"example_values": [
9340+
0,
9341+
0.5236,
9342+
0.7854,
9343+
1.5708,
9344+
1.0472,
9345+
2.3562,
9346+
3.1416,
9347+
4.7124,
9348+
6.2832,
9349+
-0.5236,
9350+
-0.7854,
9351+
-1.0472,
9352+
-1.5708,
9353+
-2.3562,
9354+
-3.1416,
9355+
7.854,
9356+
-7.854,
9357+
0.1,
9358+
-0.1,
9359+
3.5
9360+
]
9361+
}
9362+
],
9363+
"output_policy": "real_floating_point_and_generic",
9364+
"returns": {
9365+
"desc": "hyperbolic secant",
9366+
"type": {
9367+
"javascript": "number",
9368+
"jsdoc": "number",
9369+
"c": "double",
9370+
"dtype": "float64"
9371+
}
9372+
},
9373+
"keywords": [
9374+
"sec",
9375+
"sech",
9376+
"secant",
9377+
"cos",
9378+
"cosine",
9379+
"hyperbolic",
9380+
"trig",
9381+
"trigonometry",
9382+
"radians",
9383+
"angle"
9384+
],
9385+
"extra_keywords": [
9386+
"math.sech"
9387+
]
9388+
},
9389+
"@stdlib/math/base/special/signumf": {
9390+
"$schema": "math/base@v1.0",
9391+
"base_alias": "signum",
9392+
"alias": "signumf",
9393+
"pkg_desc": "evaluate the signum function for a single-precision floating-point number",
9394+
"desc": "evaluates the signum function for a single-precision floating-point number",
9395+
"short_desc": "signum",
9396+
"parameters": [
9397+
{
9398+
"name": "x",
9399+
"desc": "input value",
9400+
"type": {
9401+
"javascript": "number",
9402+
"jsdoc": "number",
9403+
"c": "float",
9404+
"dtype": "float32"
9405+
},
9406+
"domain": [
9407+
{
9408+
"min": "-infinity",
9409+
"max": "infinity"
9410+
}
9411+
],
9412+
"rand": {
9413+
"prng": "random/base/uniform",
9414+
"parameters": [
9415+
-100,
9416+
100
9417+
]
9418+
},
9419+
"example_values": [
9420+
-100,
9421+
0.1,
9422+
0.5,
9423+
1,
9424+
-50,
9425+
-10,
9426+
10,
9427+
25,
9428+
-5,
9429+
-3.5,
9430+
-1,
9431+
-0.5,
9432+
-0.1,
9433+
0,
9434+
3.5,
9435+
5,
9436+
50,
9437+
75,
9438+
100,
9439+
-75
9440+
]
9441+
}
9442+
],
9443+
"output_policy": "real_floating_point_and_generic",
9444+
"returns": {
9445+
"desc": "signum",
9446+
"type": {
9447+
"javascript": "number",
9448+
"jsdoc": "number",
9449+
"c": "float",
9450+
"dtype": "float32"
9451+
}
9452+
},
9453+
"keywords": [
9454+
"signum",
9455+
"sign"
9456+
],
9457+
"extra_keywords": [
9458+
"math.sign"
9459+
]
9460+
},
9461+
"@stdlib/math/base/special/signum": {
9462+
"$schema": "math/base@v1.0",
9463+
"base_alias": "signum",
9464+
"alias": "signum",
9465+
"pkg_desc": "evaluate the signum function for a double-precision floating-point number",
9466+
"desc": "evaluates the signum function for a double-precision floating-point number",
9467+
"short_desc": "signum",
9468+
"parameters": [
9469+
{
9470+
"name": "x",
9471+
"desc": "input value",
9472+
"type": {
9473+
"javascript": "number",
9474+
"jsdoc": "number",
9475+
"c": "double",
9476+
"dtype": "float64"
9477+
},
9478+
"domain": [
9479+
{
9480+
"min": "-infinity",
9481+
"max": "infinity"
9482+
}
9483+
],
9484+
"rand": {
9485+
"prng": "random/base/uniform",
9486+
"parameters": [
9487+
-100,
9488+
100
9489+
]
9490+
},
9491+
"example_values": [
9492+
-100,
9493+
0.1,
9494+
0.5,
9495+
-50,
9496+
-10,
9497+
10,
9498+
25,
9499+
-5,
9500+
-3.5,
9501+
-1,
9502+
-0.5,
9503+
-0.1,
9504+
0,
9505+
1,
9506+
3.5,
9507+
5,
9508+
50,
9509+
75,
9510+
100,
9511+
-75
9512+
]
9513+
}
9514+
],
9515+
"output_policy": "real_floating_point_and_generic",
9516+
"returns": {
9517+
"desc": "signum",
9518+
"type": {
9519+
"javascript": "number",
9520+
"jsdoc": "number",
9521+
"c": "double",
9522+
"dtype": "float64"
9523+
}
9524+
},
9525+
"keywords": [
9526+
"signum",
9527+
"sign"
9528+
],
9529+
"extra_keywords": [
9530+
"math.sign"
9531+
]
9532+
},
93129533
"@stdlib/math/base/special/csignumf": {},
93139534
"@stdlib/math/base/special/csignum": {},
93149535
"@stdlib/math/base/special/sinf": {

0 commit comments

Comments
 (0)