Skip to content

Commit e57b9ae

Browse files
stdlib-botPlaneshifter
authored andcommitted
fix: remove unused dependencies from planck/mode
--- 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: na - 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: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - 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 fd0b871 commit e57b9ae

File tree

8 files changed

+12
-52
lines changed

8 files changed

+12
-52
lines changed

lib/node_modules/@stdlib/blas/ext/base/sapxsumkbn/README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -161,15 +161,6 @@ console.log( v );
161161

162162
<section class="related">
163163

164-
* * *
165-
166-
## See Also
167-
168-
- <span class="package-name">[`@stdlib/blas/ext/base/dapxsumkbn`][@stdlib/blas/ext/base/dapxsumkbn]</span><span class="delimiter">: </span><span class="description">add a constant to each double-precision floating-point strided array element and compute the sum using an improved Kahan–Babuška algorithm.</span>
169-
- <span class="package-name">[`@stdlib/blas/ext/base/gapxsumkbn`][@stdlib/blas/ext/base/gapxsumkbn]</span><span class="delimiter">: </span><span class="description">add a scalar constant to each strided array element and compute the sum using an improved Kahan–Babuška algorithm.</span>
170-
- <span class="package-name">[`@stdlib/blas/ext/base/sapxsum`][@stdlib/blas/ext/base/sapxsum]</span><span class="delimiter">: </span><span class="description">add a constant to each single-precision floating-point strided array element and compute the sum.</span>
171-
- <span class="package-name">[`@stdlib/blas/ext/base/ssumkbn`][@stdlib/blas/ext/base/ssumkbn]</span><span class="delimiter">: </span><span class="description">calculate the sum of single-precision floating-point strided array elements using an improved Kahan–Babuška algorithm.</span>
172-
173164
</section>
174165

175166
<!-- /.related -->
@@ -186,14 +177,6 @@ console.log( v );
186177

187178
<!-- <related-links> -->
188179

189-
[@stdlib/blas/ext/base/dapxsumkbn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/dapxsumkbn
190-
191-
[@stdlib/blas/ext/base/gapxsumkbn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/gapxsumkbn
192-
193-
[@stdlib/blas/ext/base/sapxsum]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/sapxsum
194-
195-
[@stdlib/blas/ext/base/ssumkbn]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/blas/ext/base/ssumkbn
196-
197180
<!-- </related-links> -->
198181

199182
</section>

lib/node_modules/@stdlib/constants/float32/pi/README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,6 @@ Macro for the mathematical constant [π][pi].
108108

109109
<section class="related">
110110

111-
* * *
112-
113-
## See Also
114-
115-
- <span class="package-name">[`@stdlib/constants/float32/fourth-pi`][@stdlib/constants/float32/fourth-pi]</span><span class="delimiter">: </span><span class="description">1/4 times π.</span>
116-
- <span class="package-name">[`@stdlib/constants/float32/half-pi`][@stdlib/constants/float32/half-pi]</span><span class="delimiter">: </span><span class="description">1/2 times π.</span>
117-
- <span class="package-name">[`@stdlib/constants/float32/two-pi`][@stdlib/constants/float32/two-pi]</span><span class="delimiter">: </span><span class="description">2π.</span>
118-
119111
</section>
120112

121113
<!-- /.related -->
@@ -128,12 +120,6 @@ Macro for the mathematical constant [π][pi].
128120

129121
<!-- <related-links> -->
130122

131-
[@stdlib/constants/float32/fourth-pi]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/fourth-pi
132-
133-
[@stdlib/constants/float32/half-pi]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/half-pi
134-
135-
[@stdlib/constants/float32/two-pi]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32/two-pi
136-
137123
<!-- </related-links> -->
138124

139125
</section>

lib/node_modules/@stdlib/stats/base/dists/planck/mode/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* distributed under the License is distributed on an "AS IS" BASIS,
1414
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515
* See the License for the specific language governing permissions and
16-
* limitations under the License .
16+
* limitations under the License.
1717
*/
1818

1919
'use strict';
@@ -39,7 +39,7 @@ bench( pkg, function benchmark( b ) {
3939
len = 100;
4040
lambda = new Float64Array( len );
4141
for ( i = 0; i < len; i++ ) {
42-
lambda[ i ] = uniform(0.1, 11);
42+
lambda[ i ] = uniform( 0.1, 11 );
4343
}
4444

4545
b.tic();

lib/node_modules/@stdlib/stats/base/dists/planck/mode/benchmark/benchmark.native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* distributed under the License is distributed on an "AS IS" BASIS,
1414
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515
* See the License for the specific language governing permissions and
16-
* limitations under the License .
16+
* limitations under the License.
1717
*/
1818

1919
'use strict';
@@ -48,7 +48,7 @@ bench( pkg+'::native', opts, function benchmark( b ) {
4848
len = 100;
4949
lambda = new Float64Array( len );
5050
for ( i = 0; i < len; i++ ) {
51-
lambda[ i ] = uniform(0.1, 11);
51+
lambda[ i ] = uniform( 0.1, 11 );
5252
}
5353

5454
b.tic();

lib/node_modules/@stdlib/stats/base/dists/planck/mode/include/stdlib/stats/base/dists/planck/mode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern "C" {
2727
#endif
2828

2929
/**
30-
* Evaluates the mode for planck distribution.
30+
* Returns the mode for a Planck distribution.
3131
*/
3232
double stdlib_base_dists_planck_mode( const double lambda );
3333

lib/node_modules/@stdlib/stats/base/dists/planck/mode/manifest.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@
3939
"libpath": [],
4040
"dependencies": [
4141
"@stdlib/math/base/napi/unary",
42-
"@stdlib/math/base/assert/is-nan",
43-
"@stdlib/math/base/special/asin",
44-
"@stdlib/math/base/special/sqrt",
45-
"@stdlib/constants/float64/pi"
42+
"@stdlib/math/base/assert/is-nan"
4643
]
4744
},
4845
{
@@ -57,10 +54,7 @@
5754
"libraries": [],
5855
"libpath": [],
5956
"dependencies": [
60-
"@stdlib/math/base/assert/is-nan",
61-
"@stdlib/math/base/special/asin",
62-
"@stdlib/math/base/special/sqrt",
63-
"@stdlib/constants/float64/pi"
57+
"@stdlib/math/base/assert/is-nan"
6458
]
6559
},
6660
{
@@ -75,10 +69,7 @@
7569
"libraries": [],
7670
"libpath": [],
7771
"dependencies": [
78-
"@stdlib/math/base/assert/is-nan",
79-
"@stdlib/math/base/special/asin",
80-
"@stdlib/math/base/special/sqrt",
81-
"@stdlib/constants/float64/pi"
72+
"@stdlib/math/base/assert/is-nan"
8273
]
8374
}
8475
]

lib/node_modules/@stdlib/stats/base/dists/planck/mode/src/addon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
#include "stdlib/math/base/napi/unary.h"
2121

2222
// cppcheck-suppress shadowFunction
23-
STDLIB_MATH_BASE_NAPI_MODULE_D_D( stdlib_base_dists_planck_mode)
23+
STDLIB_MATH_BASE_NAPI_MODULE_D_D( stdlib_base_dists_planck_mode )

lib/node_modules/@stdlib/stats/base/dists/planck/mode/test/test.native.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var opts = {
3737

3838
// TESTS //
3939

40-
tape( 'main export is a function', opts , function test( t ) {
40+
tape( 'main export is a function', opts, function test( t ) {
4141
t.ok( true, __filename );
4242
t.strictEqual( typeof mode, 'function', 'main export is a function' );
4343
t.end();
@@ -50,7 +50,7 @@ tape( 'if provided `NaN` for `lambda`, the function returns `NaN`', opts, functi
5050
t.end();
5151
});
5252

53-
tape( 'if provided a shape parameter `lambda` which is nonpositive, the function returns `NaN`', opts , function test( t ) {
53+
tape( 'if provided a shape parameter `lambda` which is nonpositive, the function returns `NaN`', opts, function test( t ) {
5454
var v;
5555

5656
v = mode( 0.0 );
@@ -62,7 +62,7 @@ tape( 'if provided a shape parameter `lambda` which is nonpositive, the function
6262
t.end();
6363
});
6464

65-
tape( 'the function returns `0.0` as the mode of a Planck distribution', opts , function test( t ) {
65+
tape( 'the function returns `0.0` as the mode of a Planck distribution', opts, function test( t ) {
6666
var lambda;
6767
var i;
6868
var y;

0 commit comments

Comments
 (0)