Skip to content

Commit b029643

Browse files
committed
chore: add structured package data for math/base/special/tan
--- 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 0e4ba2c commit b029643

File tree

1 file changed

+71
-1
lines changed

1 file changed

+71
-1
lines changed

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

Lines changed: 71 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,75 @@
6767
"trigonometry",
6868
"value",
6969
"number"
70-
]
70+
],
71+
"__stdlib__": {
72+
"scaffold": {
73+
"$schema": "math/[email protected]",
74+
"base_alias": "tan",
75+
"alias": "tan",
76+
"pkg_desc": "Evaluate the tangent",
77+
"desc": "Evaluate the tangent",
78+
"short_desc": "tangent",
79+
"parameters": [
80+
{
81+
"name": "x",
82+
"desc": "input value (in radians)",
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+
-10,
99+
10
100+
]
101+
},
102+
"example_values": [
103+
0,
104+
0.5236,
105+
0.7854,
106+
1.0472,
107+
1.5708,
108+
3.1416,
109+
4.7124,
110+
6.2832,
111+
-0.7854,
112+
-1.5708,
113+
-3.1416,
114+
5,
115+
-2
116+
]
117+
}
118+
],
119+
"output_policy": "real_floating_point_and_generic",
120+
"returns": {
121+
"desc": "tangent",
122+
"type": {
123+
"javascript": "number",
124+
"jsdoc": "number",
125+
"c": "double",
126+
"dtype": "float64"
127+
}
128+
},
129+
"keywords": [
130+
"tan",
131+
"tangent",
132+
"trig",
133+
"trigonometry",
134+
"radians"
135+
],
136+
"extra_keywords": [
137+
"math.cos"
138+
]
139+
}
140+
}
71141
}

0 commit comments

Comments
 (0)