Skip to content

Commit b9b7b8f

Browse files
committed
chore : add structured package data for math/base/special/csignum
1 parent d18d1e8 commit b9b7b8f

File tree

1 file changed

+72
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/csignum

1 file changed

+72
-1
lines changed

lib/node_modules/@stdlib/math/base/special/csignum/package.json

Lines changed: 72 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,76 @@
6060
"complex",
6161
"cmplx",
6262
"number"
63-
]
63+
],
64+
"__stdlib__": {
65+
"scaffold": {
66+
"$schema": "math/base@v1.0",
67+
"base_alias": "csignum",
68+
"alias": "csignum",
69+
"pkg_desc": "evaluate the signum function of a double-precision complex floating-point number",
70+
"desc": "evaluates the signum function of a double-precision complex floating-point number",
71+
"short_desc": "signum function of a complex number",
72+
"parameters": [
73+
{
74+
"name": "z",
75+
"desc": "complex number",
76+
"type": {
77+
"javascript": "Complex128",
78+
"jsdoc": "Complex128",
79+
"c": "stdlib_complex128_t",
80+
"dtype": "complex128"
81+
},
82+
"domain": [
83+
{
84+
"min": "-infinity",
85+
"max": "infinity"
86+
}
87+
],
88+
"rand": {
89+
"prng": "random/base/box-muller",
90+
"parameters": []
91+
},
92+
"example_values": [
93+
5.0,
94+
3.0,
95+
-5.0,
96+
2.0,
97+
-2.0,
98+
1.0,
99+
-1.0,
100+
4.0,
101+
-4.0,
102+
6.0,
103+
-6.0,
104+
7.0,
105+
-7.0,
106+
8.0,
107+
-8.0,
108+
9.0,
109+
-9.0,
110+
10.0,
111+
-10.0,
112+
11.0
113+
]
114+
}
115+
],
116+
"returns": {
117+
"desc": "result",
118+
"type": {
119+
"javascript": "Complex128",
120+
"jsdoc": "Complex128",
121+
"c": "stdlib_complex128_t",
122+
"dtype": "complex128"
123+
}
124+
},
125+
"keywords": [
126+
"signum",
127+
"sign",
128+
"sgn",
129+
"complex",
130+
"cmplx"
131+
],
132+
"extra_keywords": []
133+
}
134+
}
64135
}

0 commit comments

Comments
 (0)