Skip to content

Commit 865bcd5

Browse files
chore: add structured package data for math/base/special/cosd
--- 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 be54164 commit 865bcd5

File tree

1 file changed

+79
-1
lines changed

1 file changed

+79
-1
lines changed

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

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

0 commit comments

Comments
 (0)