Skip to content

Commit cfbb007

Browse files
committed
chore: add structured package data for math/base/special/sind
--- 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent af5f5cc commit cfbb007

File tree

1 file changed

+80
-1
lines changed

1 file changed

+80
-1
lines changed

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

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,84 @@
6464
"cosine",
6565
"trig",
6666
"trigonometry"
67-
]
67+
],
68+
"__stdlib__": {
69+
"scaffold": {
70+
"$schema": "math/[email protected]",
71+
"base_alias": "sin",
72+
"alias": "sind",
73+
"pkg_desc": "compute the sine of an angle measured in degrees",
74+
"desc": "computes the sine of an angle measured in degrees",
75+
"short_desc": "sine",
76+
"parameters": [
77+
{
78+
"name": "x",
79+
"desc": "input value (in degrees)",
80+
"type": {
81+
"javascript": "number",
82+
"jsdoc": "number",
83+
"c": "double",
84+
"dtype": "float64"
85+
},
86+
"domain": [
87+
{
88+
"min": "-infinity",
89+
"max": "infinity"
90+
}
91+
],
92+
"rand": {
93+
"prng": "random/base/uniform",
94+
"parameters": [
95+
-360,
96+
360
97+
]
98+
},
99+
"example_values": [
100+
0,
101+
30,
102+
45,
103+
60,
104+
90,
105+
120,
106+
150,
107+
180,
108+
270,
109+
360,
110+
-30,
111+
-45,
112+
-60,
113+
-90,
114+
-180,
115+
-270,
116+
-360,
117+
15,
118+
-15,
119+
75
120+
]
121+
}
122+
],
123+
"output_policy": "real_floating_point_and_generic",
124+
"returns": {
125+
"desc": "sine",
126+
"type": {
127+
"javascript": "number",
128+
"jsdoc": "number",
129+
"c": "double",
130+
"dtype": "float64"
131+
}
132+
},
133+
"keywords": [
134+
"degree",
135+
"sin",
136+
"sine",
137+
"sind",
138+
"cos",
139+
"cosine",
140+
"trig"
141+
],
142+
"extra_keywords": [
143+
"math.sin"
144+
]
145+
}
146+
}
68147
}

0 commit comments

Comments
 (0)