Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,8 @@ var idx = gfirstIndexLessThan( 2, x1, 1, y1, 1 );
// returns 1
```

<!-- lint disable maximum-heading-length -->

#### gfirstIndexLessThan.ndarray( N, x, strideX, offsetX, y, strideY, offsetY )

<!-- lint enable maximum-heading-length -->

Returns the index of the first element in a strided array which is less than a corresponding element in another strided array using alternative indexing semantics.

```javascript
Expand All @@ -121,8 +117,6 @@ The function has the following additional parameters:

While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameters support indexing semantics based on starting indices. For example, to access only the last three elements of each strided array:

<!-- eslint-disable max-len -->

```javascript
var x = [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ];
var y = [ 9.0, 9.0, 9.0, 0.0, 9.0, 9.0 ];
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/fft/base/fftpack/sinti/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ var sineTable = workspace.slice( 0, floor( N/2 ) );
var twiddleFactors = workspace.slice( floor( 3*N/2 ) + 1, floor( 5*N/2 ) + 2 );
// returns <Float64Array>[ ~0.707, ~0.707, 0, 0, 0, 0, 0, 0 ]

var factors = workspace.slice( floor( 5*N/2 ) + 2, floor(5*N/2) + 2 + 4 );
var factors = workspace.slice( floor( 5*N/2 ) + 2, floor( 5*N/2 ) + 2 + 4 );
// returns <Float64Array>[ 8, 2, 2, 4 ]
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import { Collection } from '@stdlib/types/array';
* var twiddleFactors = workspace.slice( floor( 3*N/2 ) + 1, floor( 5*N/2 ) + 2 );
* // returns <Float64Array>[ ~0.707, ~0.707, 0, 0, 0, 0, 0, 0 ]
*
* var factors = workspace.slice( floor( 5*N/2 ) + 2, floor(5*N/2) + 2 + 4 );
* var factors = workspace.slice( floor( 5*N/2 ) + 2, floor( 5*N/2 ) + 2 + 4 );
* // returns <Float64Array>[ 8, 2, 2, 4 ]
*/
declare function sinti<T extends Collection<number>>( N: number, workspace: T, strideW: number, offsetW: number ): T;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* var twiddleFactors = workspace.slice( floor( 3*N/2 ) + 1, floor( 5*N/2 ) + 2 );
* // returns <Float64Array>[ ~0.707, ~0.707, 0, 0, 0, 0, 0, 0 ]
*
* var factors = workspace.slice( floor( 5*N/2 ) + 2, floor(5*N/2) + 2 + 4 );
* var factors = workspace.slice( floor( 5*N/2 ) + 2, floor( 5*N/2 ) + 2 + 4 );
* // returns <Float64Array>[ 8, 2, 2, 4 ]
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ var rffti = require( '@stdlib/fft/base/fftpack/rffti' );
* var twiddleFactors = workspace.slice( floor( 3*N/2 ) + 1, floor( 5*N/2 ) + 2 );
* // returns <Float64Array>[ ~0.707, ~0.707, 0, 0, 0, 0, 0, 0 ]
*
* var factors = workspace.slice( floor( 5*N/2 ) + 2, floor(5*N/2) + 2 + 4 );
* var factors = workspace.slice( floor( 5*N/2 ) + 2, floor( 5*N/2 ) + 2 + 4 );
* // returns <Float64Array>[ 8, 2, 2, 4 ]
*/
function sinti( N, workspace, strideW, offsetW ) {
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/stats/incr/nancv/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var incrcv = require( '@stdlib/stats/incr/cv' );
* Returns an accumulator function which incrementally computes the coefficient of variation (CV), ignoring `NaN` values.
*
* @param {number} [mean] - mean value
* @throws {TypeError} must provide a number
* @throws {TypeError} must provide a number primitive
* @returns {Function} accumulator function
*
* @example
Expand Down