Skip to content
Merged
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 @@ -28,6 +28,10 @@ var addon = require( './../src/addon.node' );
/**
* Simultaneously sorts two double-precision floating-point strided arrays based on the sort order of the first array using heapsort.
*
* ## Notes
*
* - This implementation uses an in-place algorithm derived from the work of Floyd (1964).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float64Array} x - first input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ var addon = require( './dsort2hp.native.js' );
/**
* Simultaneously sorts two double-precision floating-point strided arrays based on the sort order of the first array using heapsort.
*
* ## Notes
*
* - This implementation uses an in-place algorithm derived from the work of Floyd (1964).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float64Array} x - first input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ var addon = require( './../src/addon.node' );
/**
* Simultaneously sorts two double-precision floating-point strided arrays based on the sort order of the first array using Shellsort.
*
* ## Notes
*
* - This implementation uses the gap sequence proposed by Ciura (2001).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float64Array} x - first input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ var addon = require( './dsort2sh.native.js' );
/**
* Simultaneously sorts two double-precision floating-point strided arrays based on the sort order of the first array using Shellsort.
*
* ## Notes
*
* - This implementation uses the gap sequence proposed by Ciura (2001).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float64Array} x - first input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ var addon = require( './../src/addon.node' );
/**
* Sorts a double-precision floating-point strided array using heapsort.
*
* ## Notes
*
* - This implementation uses an in-place algorithm derived from the work of Floyd (1964).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float64Array} x - input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ var addon = require( './../src/addon.node' );
/**
* Sorts a double-precision floating-point strided array using heapsort.
*
* ## Notes
*
* - This implementation uses an in-place algorithm derived from the work of Floyd (1964).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float64Array} x - input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ var addon = require( './../src/addon.node' );
/**
* Sorts a double-precision floating-point strided array using Shellsort.
*
* ## Notes
*
* - This implementation uses the gap sequence proposed by Ciura (2001).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float64Array} x - input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ var addon = require( './dsortsh.native.js' );
/**
* Sorts a double-precision floating-point strided array using Shellsort.
*
* ## Notes
*
* - This implementation uses the gap sequence proposed by Ciura (2001).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float64Array} x - input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ var addon = require( './ssort2hp.native.js' );
/**
* Simultaneously sorts two single-precision floating-point strided arrays based on the sort order of the first array using heapsort.
*
* ## Notes
*
* - This implementation uses an in-place algorithm derived from the work of Floyd (1964).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float32Array} x - first input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ var addon = require( './../src/addon.node' );
/**
* Simultaneously sorts two single-precision floating-point strided arrays based on the sort order of the first array using heapsort.
*
* ## Notes
*
* - This implementation uses an in-place algorithm derived from the work of Floyd (1964).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float32Array} x - first input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ var addon = require( './ssort2sh.native.js' );
/**
* Simultaneously sorts two single-precision floating-point strided arrays based on the sort order of the first array using Shellsort.
*
* ## Notes
*
* - This implementation uses the gap sequence proposed by Ciura (2001).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float32Array} x - first input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ var addon = require( './../src/addon.node' );
/**
* Simultaneously sorts two single-precision floating-point strided arrays based on the sort order of the first array using Shellsort.
*
* ## Notes
*
* - This implementation uses the gap sequence proposed by Ciura (2001).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float32Array} x - first input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ var addon = require( './../src/addon.node' );
/**
* Sorts a single-precision floating-point strided array using heapsort.
*
* ## Notes
*
* - This implementation uses an in-place algorithm derived from the work of Floyd (1964).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float32Array} x - input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ var addon = require( './../src/addon.node' );
/**
* Sorts a single-precision floating-point strided array using heapsort.
*
* ## Notes
*
* - This implementation uses an in-place algorithm derived from the work of Floyd (1964).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float32Array} x - input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ var addon = require( './ssortsh.native.js' );
/**
* Sorts a single-precision floating-point strided array using Shellsort.
*
* ## Notes
*
* - This implementation uses the gap sequence proposed by Ciura (2001).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float32Array} x - input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ var addon = require( './../src/addon.node' );
/**
* Sorts a single-precision floating-point strided array using Shellsort.
*
* ## Notes
*
* - This implementation uses the gap sequence proposed by Ciura (2001).
*
* @param {PositiveInteger} N - number of indexed elements
* @param {number} order - sort order
* @param {Float32Array} x - input array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ var addon = require( './../src/addon.node' );
/**
* Returns the index of the last falsy element in a double-precision complex floating-point strided array using alternative indexing semantics.
*
* ## Notes
*
* - A complex number is falsy when both its real and imaginary components are falsy.
* - If unable to find a falsy element, the function returns `-1`.
* - The function explicitly treats `NaN` values as falsy.
*
* @param {PositiveInteger} N - number of indexed elements
* @param {Complex128Array} x - input array
* @param {integer} strideX - stride length
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ var addon = require( './../src/addon.node' );
/**
* Returns the index of the last falsy element in a double-precision complex floating-point strided array.
*
* ## Notes
*
* - A complex number is falsy when both its real and imaginary components are falsy.
* - If unable to find a falsy element, the function returns `-1`.
* - The function explicitly treats `NaN` values as falsy.
*
* @param {PositiveInteger} N - number of indexed elements
* @param {Complex128Array} x - input array
* @param {integer} strideX - stride length
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ int main( void ) {

print_version();
for ( i = 0; i < REPEATS; i++ ) {
printf( "# c::native::%s\n", NAME );
printf( "# c::%s\n", NAME );
elapsed = benchmark();
print_results( elapsed );
printf( "ok %d benchmark finished\n", i+1 );
Expand Down
Loading
Loading