Skip to content

Commit e56d5cb

Browse files
manvith2003kgryte
andauthored
chore: add structured package data for math/base/special/logitf
PR-URL: stdlib-js#8387 Ref: stdlib-js#7924 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]>
1 parent 1270286 commit e56d5cb

File tree

1 file changed

+76
-2
lines changed
  • lib/node_modules/@stdlib/math/base/special/logitf

1 file changed

+76
-2
lines changed

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

Lines changed: 76 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,85 @@
5757
"mathematics",
5858
"math",
5959
"logit",
60-
"logitf",
6160
"proportion",
6261
"log-odds",
6362
"logistic",
6463
"sigmoid",
6564
"special"
66-
]
65+
],
66+
"__stdlib__": {
67+
"scaffold": {
68+
"$schema": "math/[email protected]",
69+
"base_alias": "logit",
70+
"alias": "logitf",
71+
"pkg_desc": "evaluate the logit function for a single-precision floating-point number",
72+
"desc": "evaluates the logit function for a single-precision floating-point number",
73+
"short_desc": "logit",
74+
"parameters": [
75+
{
76+
"name": "x",
77+
"desc": "input value",
78+
"type": {
79+
"javascript": "number",
80+
"jsdoc": "number",
81+
"c": "float",
82+
"dtype": "float32"
83+
},
84+
"domain": [
85+
{
86+
"min": 0,
87+
"max": 1
88+
}
89+
],
90+
"rand": {
91+
"prng": "random/base/uniform",
92+
"parameters": [
93+
0,
94+
1
95+
]
96+
},
97+
"example_values": [
98+
0.001,
99+
0.005,
100+
0.01,
101+
0.025,
102+
0.05,
103+
0.1,
104+
0.2,
105+
0.3,
106+
0.4,
107+
0.45,
108+
0.5,
109+
0.55,
110+
0.6,
111+
0.7,
112+
0.8,
113+
0.9,
114+
0.95,
115+
0.975,
116+
0.99,
117+
0.999
118+
]
119+
}
120+
],
121+
"output_policy": "real_floating_point_and_generic",
122+
"returns": {
123+
"desc": "logit",
124+
"type": {
125+
"javascript": "number",
126+
"jsdoc": "number",
127+
"c": "float",
128+
"dtype": "float32"
129+
}
130+
},
131+
"keywords": [
132+
"logit",
133+
"proportion",
134+
"log-odds",
135+
"logistic",
136+
"sigmoid"
137+
],
138+
"extra_keywords": []
139+
}
140+
}
67141
}

0 commit comments

Comments
 (0)