Gathering detailed insights and metrics for @stdlib/assert-is-float64vector-like
Gathering detailed insights and metrics for @stdlib/assert-is-float64vector-like
Gathering detailed insights and metrics for @stdlib/assert-is-float64vector-like
Gathering detailed insights and metrics for @stdlib/assert-is-float64vector-like
npm install @stdlib/assert-is-float64vector-like
Typescript
Module System
Min. Node Version
Node Version
NPM Version
64.1
Supply Chain
77.5
Quality
82.2
Maintenance
100
Vulnerability
87.6
License
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
8,523
Last Day
1
Last Week
4
Last Month
44
Last Year
1,234
Apache-2.0 License
2 Stars
57 Commits
3 Watchers
5 Branches
11 Contributors
Updated on Dec 30, 2024
Latest Version
0.2.2
Package Id
@stdlib/assert-is-float64vector-like@0.2.2
Unpacked Size
27.10 kB
Size
7.53 kB
File Count
11
NPM Version
8.19.4
Node Version
16.20.2
Published on
Jul 28, 2024
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-63.6%
4
Compared to previous week
Last Month
46.7%
44
Compared to previous month
Last Year
-50.8%
1,234
Compared to previous year
1
We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.
The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.
When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.
To join us in bringing numerical computing to the web, get started by checking us out on GitHub, and please consider financially supporting stdlib. We greatly appreciate your continued support!
Test if a value is a 1-dimensional ndarray-like object containing double-precision floating-point numbers.
1npm install @stdlib/assert-is-float64vector-like
1var isFloat64VectorLike = require( '@stdlib/assert-is-float64vector-like' );
Tests if a value is a 1-dimensional ndarray-like object whose underlying data type is float64
.
1var Float64Array = require( '@stdlib/array-float64' ); 2var ndarray = require( '@stdlib/ndarray-ctor' ); 3 4var arr = ndarray( 'float64', new Float64Array( [ 0, 0, 0, 0 ] ), [ 4 ], [ 1 ], 0, 'row-major' ); 5 6var bool = isFloat64VectorLike( arr ); 7// returns true
1var ndarray = require( '@stdlib/ndarray-ctor' ); 2var Float64Array = require( '@stdlib/array-float64' ); 3var isFloat64VectorLike = require( '@stdlib/assert-is-float64vector-like' ); 4 5var buffer = new Float64Array( [ 0, 0, 0, 0 ] ); 6var arr = ndarray( 'float64', buffer, [ 4 ], [ 1 ], 0, 'row-major' ); 7 8var out = isFloat64VectorLike( arr ); 9// returns true 10 11out = isFloat64VectorLike( [ 1, 2, 3, 4 ] ); 12// returns false 13 14out = isFloat64VectorLike( {} ); 15// returns false 16 17out = isFloat64VectorLike( null ); 18// returns false
@stdlib/assert-is-float32vector-like
: test if a value is a 1-dimensional ndarray-like object containing single-precision floating-point numbers.@stdlib/assert-is-ndarray-like
: test if a value is ndarray-like.@stdlib/assert-is-vector-like
: test if a value is a 1-dimensional ndarray-like object.This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
See LICENSE.
Copyright © 2016-2024. The Stdlib Authors.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
no SAST tool detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Score
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More