Skip to content

Commit ce28be3

Browse files
committed
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into develop
2 parents f44eb41 + d345bbe commit ce28be3

File tree

84 files changed

+4717
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+4717
-55
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
]
121121
}
122122
],
123-
"output_policy": "real_floating_point_and_generic",
123+
"output_policy": "same",
124124
"returns": {
125125
"desc": "absolute value",
126126
"type": {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
]
124124
}
125125
],
126-
"output_policy": "real_floating_point_and_generic",
126+
"output_policy": "same",
127127
"returns": {
128128
"desc": "squared absolute value",
129129
"type": {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"alias": "abs2f",
7676
"pkg_desc": "compute the squared absolute value of a single-precision floating-point number",
7777
"desc": "computes the squared absolute value of a single-precision floating-point number",
78-
"short_desc": "squared absolute value of a single-precision floating-point number",
78+
"short_desc": "squared absolute value",
7979
"parameters": [
8080
{
8181
"name": "x",
@@ -123,7 +123,7 @@
123123
]
124124
}
125125
],
126-
"output_policy": "real_floating_point_and_generic",
126+
"output_policy": "same",
127127
"returns": {
128128
"desc": "squared absolute value",
129129
"type": {

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

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,82 @@
6767
"float",
6868
"single-precision"
6969
],
70-
"__stdlib__": {}
70+
"__stdlib__": {
71+
"scaffold": {
72+
"$schema": "math/[email protected]",
73+
"base_alias": "abs",
74+
"alias": "absf",
75+
"pkg_desc": "compute the absolute value of a single-precision floating-point number",
76+
"desc": "computes the absolute value of a single-precision floating-point number",
77+
"short_desc": "absolute value",
78+
"parameters": [
79+
{
80+
"name": "x",
81+
"desc": "input value",
82+
"type": {
83+
"javascript": "number",
84+
"jsdoc": "number",
85+
"c": "float",
86+
"dtype": "float32"
87+
},
88+
"domain": [
89+
{
90+
"min": "-infinity",
91+
"max": "infinity"
92+
}
93+
],
94+
"rand": {
95+
"prng": "random/base/uniform",
96+
"parameters": [
97+
-10,
98+
10
99+
]
100+
},
101+
"example_values": [
102+
64,
103+
27,
104+
0,
105+
0.1,
106+
-9,
107+
8,
108+
-1,
109+
125,
110+
-10.2,
111+
11.3,
112+
-12.4,
113+
3.5,
114+
-1.6,
115+
15.7,
116+
-16,
117+
17.9,
118+
-188,
119+
19.11,
120+
-200,
121+
21.15
122+
]
123+
}
124+
],
125+
"output_policy": "same",
126+
"returns": {
127+
"desc": "absolute value",
128+
"type": {
129+
"javascript": "number",
130+
"jsdoc": "number",
131+
"c": "float",
132+
"dtype": "float32"
133+
}
134+
},
135+
"keywords": [
136+
"abs",
137+
"absf",
138+
"fabsf",
139+
"absolute",
140+
"magnitude",
141+
"value"
142+
],
143+
"extra_keywords": [
144+
"math.abs"
145+
]
146+
}
147+
}
71148
}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"alias": "acos",
7575
"pkg_desc": "compute the arccosine (in radians) of a double-precision floating-point number",
7676
"desc": "computes the arccosine (in radians) of a double-precision floating-point number",
77-
"short_desc": "arccosine (in radians) of a double-precision floating-point number",
77+
"short_desc": "arccosine",
7878
"parameters": [
7979
{
8080
"name": "x",
@@ -109,20 +109,20 @@
109109
-0.79,
110110
0.05,
111111
-0.66,
112-
0.90,
112+
0.9,
113113
-0.11,
114114
-0.52,
115115
0.27,
116116
0.33,
117117
-0.74,
118-
0.00,
118+
0,
119119
0.71,
120120
-0.25,
121121
0.58
122122
]
123123
}
124124
],
125-
"output_policy": "real_floating_point_and_generic",
125+
"output_policy": "same",
126126
"returns": {
127127
"desc": "arccosine (in radians)",
128128
"type": {

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"alias": "acosd",
7272
"pkg_desc": "compute the arccosine (in degrees) of a double-precision floating-point number",
7373
"desc": "computes the arccosine (in degrees) of a double-precision floating-point number",
74-
"short_desc": "arccosine (in degrees) of a double-precision floating-point number",
74+
"short_desc": "arccosine",
7575
"parameters": [
7676
{
7777
"name": "x",
@@ -106,20 +106,20 @@
106106
-0.79,
107107
0.05,
108108
-0.66,
109-
0.90,
109+
0.9,
110110
-0.11,
111111
-0.52,
112112
0.27,
113113
0.33,
114114
-0.74,
115-
0.00,
115+
0,
116116
0.71,
117117
-0.25,
118118
0.58
119119
]
120120
}
121121
],
122-
"output_policy": "real_floating_point_and_generic",
122+
"output_policy": "same",
123123
"returns": {
124124
"desc": "arccosine (in degrees)",
125125
"type": {

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

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,83 @@
6363
"trig",
6464
"trigonometry",
6565
"radians"
66-
]
66+
],
67+
"__stdlib__": {
68+
"scaffold": {
69+
"$schema": "math/[email protected]",
70+
"base_alias": "acosd",
71+
"alias": "acosdf",
72+
"pkg_desc": "compute the arccosine (in degrees) of a single-precision floating-point number",
73+
"desc": "computes the arccosine (in degrees) of a single-precision floating-point number",
74+
"short_desc": "arccosine",
75+
"parameters": [
76+
{
77+
"name": "x",
78+
"desc": "input value",
79+
"type": {
80+
"javascript": "number",
81+
"jsdoc": "number",
82+
"c": "float",
83+
"dtype": "float32"
84+
},
85+
"domain": [
86+
{
87+
"min": "-1",
88+
"max": "1"
89+
}
90+
],
91+
"rand": {
92+
"prng": "random/base/uniform",
93+
"parameters": [
94+
-1,
95+
1
96+
]
97+
},
98+
"example_values": [
99+
0.84,
100+
-0.37,
101+
0.12,
102+
-0.93,
103+
0.65,
104+
-0.18,
105+
0.48,
106+
-0.79,
107+
0.05,
108+
-0.66,
109+
0.9,
110+
-0.11,
111+
-0.52,
112+
0.27,
113+
0.33,
114+
-0.74,
115+
0,
116+
0.71,
117+
-0.25,
118+
0.58
119+
]
120+
}
121+
],
122+
"output_policy": "same",
123+
"returns": {
124+
"desc": "arccosine (in degrees)",
125+
"type": {
126+
"javascript": "number",
127+
"jsdoc": "number",
128+
"c": "float",
129+
"dtype": "float32"
130+
}
131+
},
132+
"keywords": [
133+
"arccosine",
134+
"cosine",
135+
"inverse",
136+
"trig",
137+
"trigonometry",
138+
"degrees"
139+
],
140+
"extra_keywords": [
141+
"math.acos"
142+
]
143+
}
144+
}
67145
}

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

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,84 @@
6666
"trigonometry",
6767
"radians",
6868
"angle"
69-
]
69+
],
70+
"__stdlib__": {
71+
"scaffold": {
72+
"$schema": "math/[email protected]",
73+
"base_alias": "acos",
74+
"alias": "acosf",
75+
"pkg_desc": "compute the arccosine (in radians) of a single-precision floating-point number",
76+
"desc": "computes the arccosine (in radians) of a single-precision floating-point number",
77+
"short_desc": "arccosine",
78+
"parameters": [
79+
{
80+
"name": "x",
81+
"desc": "input value",
82+
"type": {
83+
"javascript": "number",
84+
"jsdoc": "number",
85+
"c": "float",
86+
"dtype": "float32"
87+
},
88+
"domain": [
89+
{
90+
"min": "-1",
91+
"max": "1"
92+
}
93+
],
94+
"rand": {
95+
"prng": "random/base/uniform",
96+
"parameters": [
97+
-1,
98+
1
99+
]
100+
},
101+
"example_values": [
102+
0.84,
103+
-0.37,
104+
0.12,
105+
-0.93,
106+
0.65,
107+
-0.18,
108+
0.48,
109+
-0.79,
110+
0.05,
111+
-0.66,
112+
0.9,
113+
-0.11,
114+
-0.52,
115+
0.27,
116+
0.33,
117+
-0.74,
118+
0,
119+
0.71,
120+
-0.25,
121+
0.58
122+
]
123+
}
124+
],
125+
"output_policy": "same",
126+
"returns": {
127+
"desc": "arccosine (in radians)",
128+
"type": {
129+
"javascript": "number",
130+
"jsdoc": "number",
131+
"c": "float",
132+
"dtype": "float32"
133+
}
134+
},
135+
"keywords": [
136+
"acosf",
137+
"arccosine",
138+
"cosine",
139+
"inverse",
140+
"trig",
141+
"trigonometry",
142+
"radians"
143+
],
144+
"extra_keywords": [
145+
"math.acos"
146+
]
147+
}
148+
}
70149
}

0 commit comments

Comments
 (0)