Skip to content

Commit 2e77dc2

Browse files
manvith2003kgryte
andauthored
chore: add structured package data for math/base/special/log1pmx
PR-URL: #8431 Ref: #7924 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent b992e9e commit 2e77dc2

File tree

1 file changed

+78
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/log1pmx

1 file changed

+78
-1
lines changed

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

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

0 commit comments

Comments
 (0)