Skip to content

Commit e973ff3

Browse files
committed
chore: add structured package data for math/base/special/sin
--- 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 e973ff3

File tree

1 file changed

+78
-1
lines changed

1 file changed

+78
-1
lines changed

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

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,82 @@
6363
"trigonometry",
6464
"radians",
6565
"angle"
66-
]
66+
],
67+
"__stdlib__": {
68+
"scaffold": {
69+
"$schema": "math/[email protected]",
70+
"base_alias": "sin",
71+
"alias": "sin",
72+
"pkg_desc": "Compute the sine",
73+
"desc": "computes the sine",
74+
"short_desc": "sine",
75+
"parameters": [
76+
{
77+
"name": "x",
78+
"desc": "input value (in radians)",
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+
-10,
95+
10
96+
]
97+
},
98+
"example_values": [
99+
0,
100+
0.5236,
101+
0.7854,
102+
1.0472,
103+
2.3562,
104+
3.1416,
105+
-0.7854,
106+
-1.0472,
107+
-2.3562,
108+
-3.1416,
109+
5,
110+
-2,
111+
0.1,
112+
-0.1,
113+
6.0,
114+
-6.0,
115+
7.0,
116+
-7.0,
117+
10.0,
118+
-10.0
119+
]
120+
}
121+
],
122+
"output_policy": "real_floating_point_and_generic",
123+
"returns": {
124+
"desc": "sine",
125+
"type": {
126+
"javascript": "number",
127+
"jsdoc": "number",
128+
"c": "double",
129+
"dtype": "float64"
130+
}
131+
},
132+
"keywords": [
133+
"sin",
134+
"sine",
135+
"trig",
136+
"trigonometry",
137+
"radians"
138+
],
139+
"extra_keywords": [
140+
"math.sin"
141+
]
142+
}
143+
}
67144
}

0 commit comments

Comments
 (0)