Skip to content

Commit 249e9b0

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 1c4f3ca commit 249e9b0

1 file changed

Lines changed: 298 additions & 4 deletions

File tree

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

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

Lines changed: 298 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9305,10 +9305,304 @@
93059305
"math.cos"
93069306
]
93079307
},
9308-
"@stdlib/math/base/special/secd": {},
9309-
"@stdlib/math/base/special/sech": {},
9310-
"@stdlib/math/base/special/signumf": {},
9311-
"@stdlib/math/base/special/signum": {},
9308+
"@stdlib/math/base/special/secd": {
9309+
"$schema": "math/base@v1.0",
9310+
"base_alias": "secd",
9311+
"alias": "secd",
9312+
"pkg_desc": "compute the secant of an angle measured in degrees",
9313+
"desc": "computes the secant of an angle measured in degrees",
9314+
"short_desc": "secant",
9315+
"parameters": [
9316+
{
9317+
"name": "x",
9318+
"desc": "input value (in degrees)",
9319+
"type": {
9320+
"javascript": "number",
9321+
"jsdoc": "number",
9322+
"c": "double",
9323+
"dtype": "float64"
9324+
},
9325+
"domain": [
9326+
{
9327+
"min": "-infinity",
9328+
"max": "infinity"
9329+
}
9330+
],
9331+
"rand": {
9332+
"prng": "random/base/uniform",
9333+
"parameters": [
9334+
-180,
9335+
180
9336+
]
9337+
},
9338+
"example_values": [
9339+
0,
9340+
30,
9341+
45,
9342+
60,
9343+
90,
9344+
120,
9345+
135,
9346+
150,
9347+
180,
9348+
-30,
9349+
-45,
9350+
-60,
9351+
-90,
9352+
-120,
9353+
-135,
9354+
-150,
9355+
-180
9356+
]
9357+
}
9358+
],
9359+
"output_policy": "real_floating_point_and_generic",
9360+
"returns": {
9361+
"desc": "secant",
9362+
"type": {
9363+
"javascript": "number",
9364+
"jsdoc": "number",
9365+
"c": "double",
9366+
"dtype": "float64"
9367+
}
9368+
},
9369+
"keywords": [
9370+
"secant",
9371+
"sine",
9372+
"inverse",
9373+
"trig",
9374+
"trigonometry",
9375+
"angle",
9376+
"degree"
9377+
],
9378+
"extra_keywords": [
9379+
"math.sec"
9380+
]
9381+
},
9382+
"@stdlib/math/base/special/sech": {
9383+
"$schema": "math/base@v1.0",
9384+
"base_alias": "sech",
9385+
"alias": "sech",
9386+
"pkg_desc": "compute the hyperbolic secant of a double-precision floating-point number",
9387+
"desc": "computes the hyperbolic secant of a double-precision floating-point number",
9388+
"short_desc": "hyperbolic secant",
9389+
"parameters": [
9390+
{
9391+
"name": "x",
9392+
"desc": "input value (in radians)",
9393+
"type": {
9394+
"javascript": "number",
9395+
"jsdoc": "number",
9396+
"c": "double",
9397+
"dtype": "float64"
9398+
},
9399+
"domain": [
9400+
{
9401+
"min": "-infinity",
9402+
"max": "infinity"
9403+
}
9404+
],
9405+
"rand": {
9406+
"prng": "random/base/uniform",
9407+
"parameters": [
9408+
-10,
9409+
10
9410+
]
9411+
},
9412+
"example_values": [
9413+
0,
9414+
0.5236,
9415+
0.7854,
9416+
1.5708,
9417+
1.0472,
9418+
2.3562,
9419+
3.1416,
9420+
4.7124,
9421+
6.2832,
9422+
-0.5236,
9423+
-0.7854,
9424+
-1.0472,
9425+
-1.5708,
9426+
-2.3562,
9427+
-3.1416,
9428+
7.854,
9429+
-7.854,
9430+
0.1,
9431+
-0.1,
9432+
3.5
9433+
]
9434+
}
9435+
],
9436+
"output_policy": "real_floating_point_and_generic",
9437+
"returns": {
9438+
"desc": "hyperbolic secant",
9439+
"type": {
9440+
"javascript": "number",
9441+
"jsdoc": "number",
9442+
"c": "double",
9443+
"dtype": "float64"
9444+
}
9445+
},
9446+
"keywords": [
9447+
"sec",
9448+
"sech",
9449+
"secant",
9450+
"cos",
9451+
"cosine",
9452+
"hyperbolic",
9453+
"trig",
9454+
"trigonometry",
9455+
"radians",
9456+
"angle"
9457+
],
9458+
"extra_keywords": [
9459+
"math.sech"
9460+
]
9461+
},
9462+
"@stdlib/math/base/special/signumf": {
9463+
"$schema": "math/base@v1.0",
9464+
"base_alias": "signum",
9465+
"alias": "signumf",
9466+
"pkg_desc": "evaluate the signum function for a single-precision floating-point number",
9467+
"desc": "evaluates the signum function for a single-precision floating-point number",
9468+
"short_desc": "signum",
9469+
"parameters": [
9470+
{
9471+
"name": "x",
9472+
"desc": "input value",
9473+
"type": {
9474+
"javascript": "number",
9475+
"jsdoc": "number",
9476+
"c": "float",
9477+
"dtype": "float32"
9478+
},
9479+
"domain": [
9480+
{
9481+
"min": "-infinity",
9482+
"max": "infinity"
9483+
}
9484+
],
9485+
"rand": {
9486+
"prng": "random/base/uniform",
9487+
"parameters": [
9488+
-100,
9489+
100
9490+
]
9491+
},
9492+
"example_values": [
9493+
-100,
9494+
0.1,
9495+
0.5,
9496+
1,
9497+
-50,
9498+
-10,
9499+
10,
9500+
25,
9501+
-5,
9502+
-3.5,
9503+
-1,
9504+
-0.5,
9505+
-0.1,
9506+
0,
9507+
3.5,
9508+
5,
9509+
50,
9510+
75,
9511+
100,
9512+
-75
9513+
]
9514+
}
9515+
],
9516+
"output_policy": "real_floating_point_and_generic",
9517+
"returns": {
9518+
"desc": "signum",
9519+
"type": {
9520+
"javascript": "number",
9521+
"jsdoc": "number",
9522+
"c": "float",
9523+
"dtype": "float32"
9524+
}
9525+
},
9526+
"keywords": [
9527+
"signum",
9528+
"sign"
9529+
],
9530+
"extra_keywords": [
9531+
"math.sign"
9532+
]
9533+
},
9534+
"@stdlib/math/base/special/signum": {
9535+
"$schema": "math/base@v1.0",
9536+
"base_alias": "signum",
9537+
"alias": "signum",
9538+
"pkg_desc": "evaluate the signum function for a double-precision floating-point number",
9539+
"desc": "evaluates the signum function for a double-precision floating-point number",
9540+
"short_desc": "signum",
9541+
"parameters": [
9542+
{
9543+
"name": "x",
9544+
"desc": "input value",
9545+
"type": {
9546+
"javascript": "number",
9547+
"jsdoc": "number",
9548+
"c": "double",
9549+
"dtype": "float64"
9550+
},
9551+
"domain": [
9552+
{
9553+
"min": "-infinity",
9554+
"max": "infinity"
9555+
}
9556+
],
9557+
"rand": {
9558+
"prng": "random/base/uniform",
9559+
"parameters": [
9560+
-100,
9561+
100
9562+
]
9563+
},
9564+
"example_values": [
9565+
-100,
9566+
0.1,
9567+
0.5,
9568+
-50,
9569+
-10,
9570+
10,
9571+
25,
9572+
-5,
9573+
-3.5,
9574+
-1,
9575+
-0.5,
9576+
-0.1,
9577+
0,
9578+
1,
9579+
3.5,
9580+
5,
9581+
50,
9582+
75,
9583+
100,
9584+
-75
9585+
]
9586+
}
9587+
],
9588+
"output_policy": "real_floating_point_and_generic",
9589+
"returns": {
9590+
"desc": "signum",
9591+
"type": {
9592+
"javascript": "number",
9593+
"jsdoc": "number",
9594+
"c": "double",
9595+
"dtype": "float64"
9596+
}
9597+
},
9598+
"keywords": [
9599+
"signum",
9600+
"sign"
9601+
],
9602+
"extra_keywords": [
9603+
"math.sign"
9604+
]
9605+
},
93129606
"@stdlib/math/base/special/csignumf": {},
93139607
"@stdlib/math/base/special/csignum": {},
93149608
"@stdlib/math/base/special/sinf": {

0 commit comments

Comments
 (0)