Skip to content

Commit 176831d

Browse files
committed
chore: add structured package data for math/base/special/sqrt
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: passed - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 3091a38 commit 176831d

File tree

1 file changed

+79
-1
lines changed

1 file changed

+79
-1
lines changed

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

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,83 @@
6363
"root",
6464
"power",
6565
"number"
66-
]
66+
],
67+
"__stdlib__": {
68+
"scaffold": {
69+
"$schema": "math/[email protected]",
70+
"base_alias": "sqrt",
71+
"alias": "sqrt",
72+
"pkg_desc": "compute the principal square root",
73+
"desc": "computes the principal square root",
74+
"short_desc": "square",
75+
"parameters": [
76+
{
77+
"name": "x",
78+
"desc": "input value (in number)",
79+
"type": {
80+
"javascript": "number",
81+
"jsdoc": "number",
82+
"c": "double",
83+
"dtype": "float64"
84+
},
85+
"domain": [
86+
{
87+
"min": "-infinity",
88+
"max": "infinity"
89+
}
90+
],
91+
"rand": {
92+
"prng": "random/base/uniform",
93+
"parameters": [
94+
0,
95+
100
96+
]
97+
},
98+
"example_values": [
99+
0,
100+
0.01,
101+
0.25,
102+
0.5,
103+
1,
104+
2,
105+
3,
106+
4,
107+
9,
108+
16,
109+
25,
110+
36,
111+
49,
112+
64,
113+
81,
114+
100,
115+
0.1,
116+
10,
117+
50,
118+
99.99
119+
]
120+
}
121+
],
122+
"output_policy": "real_floating_point_and_generic",
123+
"returns": {
124+
"desc": "square",
125+
"type": {
126+
"javascript": "number",
127+
"jsdoc": "number",
128+
"c": "double",
129+
"dtype": "float64"
130+
}
131+
},
132+
"keywords": [
133+
"sqrt",
134+
"square",
135+
"stdmath",
136+
"mathematics",
137+
"number",
138+
"math"
139+
],
140+
"extra_keywords": [
141+
"math.sqrt"
142+
]
143+
}
144+
}
67145
}

0 commit comments

Comments
 (0)