Skip to content

Commit afb32f2

Browse files
committed
Auto-generated commit
1 parent 3756180 commit afb32f2

2 files changed

Lines changed: 84 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,7 @@ A total of 46 issues were closed in this release:
509509

510510
<details>
511511

512+
- [`ab27369`](https://github.com/stdlib-js/stdlib/commit/ab2736902880d499fd3137db0a6c55048ec46dae) - **chore:** add structured package data for `math/base/special/havercos` _(by Karan Anand)_
512513
- [`49719be`](https://github.com/stdlib-js/stdlib/commit/49719bea9113d4c4bde2c5b09938992fa0fb37b2) - **chore:** add structured package data for `math/base/special/havercosf` _(by Karan Anand)_
513514
- [`ca3dd82`](https://github.com/stdlib-js/stdlib/commit/ca3dd825f0d8fa080b9e48cc3dc667249c1fb2a1) - **feat:** add `math/base/special/havercosf` [(#7377)](https://github.com/stdlib-js/stdlib/pull/7377) _(by Karan Anand)_
514515
- [`7496a50`](https://github.com/stdlib-js/stdlib/commit/7496a509575e6c8a5db40ba0773ccb84e368a193) - **docs:** fix function return value _(by Karan Anand)_

base/special/havercos/package.json

Lines changed: 83 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,87 @@
7070
"trigonometry",
7171
"radians",
7272
"angle"
73-
]
73+
],
74+
"__stdlib__": {
75+
"scaffold": {
76+
"$schema": "math/base@v1.0",
77+
"base_alias": "havercos",
78+
"alias": "havercos",
79+
"pkg_desc": "compute the half-value versed cosine",
80+
"desc": "computes the half-value versed cosine",
81+
"short_desc": "half-value versed cosine",
82+
"parameters": [
83+
{
84+
"name": "x",
85+
"desc": "input value (in radians)",
86+
"type": {
87+
"javascript": "number",
88+
"jsdoc": "number",
89+
"c": "double",
90+
"dtype": "float64"
91+
},
92+
"domain": [
93+
{
94+
"min": "-infinity",
95+
"max": "infinity"
96+
}
97+
],
98+
"rand": {
99+
"prng": "random/base/uniform",
100+
"parameters": [
101+
-10,
102+
10
103+
]
104+
},
105+
"example_values": [
106+
64,
107+
27,
108+
0,
109+
0.1,
110+
-9,
111+
8,
112+
-1,
113+
125,
114+
-10.2,
115+
11.3,
116+
-12.4,
117+
3.5,
118+
-1.6,
119+
15.7,
120+
-16,
121+
17.9,
122+
-188,
123+
19.11,
124+
-200,
125+
21.15
126+
]
127+
}
128+
],
129+
"output_policy": "real_floating_point_and_generic",
130+
"returns": {
131+
"desc": "half-value versed cosine",
132+
"type": {
133+
"javascript": "number",
134+
"jsdoc": "number",
135+
"c": "double",
136+
"dtype": "float64"
137+
}
138+
},
139+
"keywords": [
140+
"havercos",
141+
"havercosin",
142+
"havercosine",
143+
"haversed",
144+
"hac",
145+
"hvc",
146+
"cosine",
147+
"cos",
148+
"trig",
149+
"trigonometry",
150+
"radians",
151+
"angle"
152+
],
153+
"extra_keywords": []
154+
}
155+
}
74156
}

0 commit comments

Comments
 (0)