Skip to content

Commit 345f872

Browse files
manvith2003kgryte
andauthored
chore: add structured package data for math/base/special/log1pexp
PR-URL: #8430 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 436565a commit 345f872

File tree

1 file changed

+79
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/log1pexp

1 file changed

+79
-1
lines changed

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

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,83 @@
6666
"logarithm",
6767
"log",
6868
"function"
69-
]
69+
],
70+
"__stdlib__": {
71+
"scaffold": {
72+
"$schema": "math/base@v1.0",
73+
"base_alias": "log1pexp",
74+
"alias": "log1pexp",
75+
"pkg_desc": "evaluate the natural logarithm of 1+exp(x)",
76+
"desc": "evaluate the natural logarithm of 1+exp(x)",
77+
"short_desc": "natural logarithm of 1+exp(x)",
78+
"parameters": [
79+
{
80+
"name": "x",
81+
"desc": "input value",
82+
"type": {
83+
"javascript": "number",
84+
"jsdoc": "number",
85+
"c": "double",
86+
"dtype": "float64"
87+
},
88+
"domain": [
89+
{
90+
"min": "-infinity",
91+
"max": "infinity"
92+
}
93+
],
94+
"rand": {
95+
"prng": "random/base/uniform",
96+
"parameters": [
97+
-100,
98+
100
99+
]
100+
},
101+
"example_values": [
102+
-100,
103+
4,
104+
5,
105+
10,
106+
-10,
107+
-5,
108+
3,
109+
20,
110+
50,
111+
-2,
112+
-1,
113+
90,
114+
99,
115+
-0.5,
116+
0,
117+
0.5,
118+
1,
119+
2,
120+
-75,
121+
100
122+
]
123+
}
124+
],
125+
"output_policy": "real_floating_point_and_generic",
126+
"returns": {
127+
"desc": "natural logarithm of 1+exp(x)",
128+
"type": {
129+
"javascript": "number",
130+
"jsdoc": "number",
131+
"c": "double",
132+
"dtype": "float64"
133+
}
134+
},
135+
"keywords": [
136+
"ln",
137+
"log1pexp",
138+
"natural",
139+
"logarithm",
140+
"log"
141+
],
142+
"extra_keywords": [
143+
"math.log",
144+
"math.log1p"
145+
]
146+
}
147+
}
70148
}

0 commit comments

Comments
 (0)