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
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/blas/ext/base/ccopy-within/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ Performs an in-place copy of elements within a single-precision complex floating
```c
#include "stdlib/complex/float32/ctor.h"

float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 };
float x[] = { 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f };
float w[ 8 ];

stdlib_strided_ccopy_within( 4, 2, 0, 2, (stdlib_complex64_t *)x, 1, (stdlib_complex64_t *)w, 1 );
Expand Down Expand Up @@ -237,7 +237,7 @@ Performs an in-place copy of elements within a single-precision complex floating
```c
#include "stdlib/complex/float32/ctor.h"

float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 };
float x[] = { 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f };
float w[ 8 ];

stdlib_strided_ccopy_within_ndarray( 3, 2, 0, 2, (stdlib_complex64_t *)x, 1, 1, (stdlib_complex64_t *)w, 1, 0 );
Expand Down Expand Up @@ -285,7 +285,7 @@ void stdlib_strided_ccopy_within_ndarray( const CBLAS_INT N, const CBLAS_INT tar

int main( void ) {
// Create a strided array:
float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 };
float x[] = { 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f };

// Create a workspace array:
float w[ 8 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

int main( void ) {
// Create a strided array:
float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 };
float x[] = { 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f };

// Create a workspace array:
float w[ 8 ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function createBenchmark( len ) {
}
b.toc();
if ( isnanf( realf( out.get( i%len, i%len ) ) ) ) {
b.fail( 'should return an ndarray' );
b.fail( 'should not return NaN' );
}
b.pass( 'benchmark finished' );
b.end();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import { complex64ndarray, typedndarray } from '@stdlib/types/ndarray';
* var B = new Complex64Matrix( [ [ 0.0, 0.0, 0.0, 0.0 ], [ 0.0, 0.0, 0.0, 0.0 ] ] );
*
* var k = scalar2ndarray( 0, {
* 'dtype': 'generic'
* 'dtype': 'generic'
* });
*
* var out = ctriu( [ A, B, k ] );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import { typedndarray } from '@stdlib/types/ndarray';
* var B = matrix( [ [ 0.0, 0.0 ], [ 0.0, 0.0 ] ], 'generic' );
*
* var k = scalar2ndarray( 0, {
* 'dtype': 'generic'
* 'dtype': 'generic'
* });
*
* var out = gtriu( [ A, B, k ] );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import { float32ndarray, typedndarray } from '@stdlib/types/ndarray';
* var B = new Float32Matrix( [ [ 0.0, 0.0 ], [ 0.0, 0.0 ] ] );
*
* var k = scalar2ndarray( 0, {
* 'dtype': 'generic'
* 'dtype': 'generic'
* });
*
* var out = striu( [ A, B, k ] );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import { complex128ndarray, typedndarray } from '@stdlib/types/ndarray';
* var B = new Complex128Matrix( [ [ 0.0, 0.0, 0.0, 0.0 ], [ 0.0, 0.0, 0.0, 0.0 ] ] );
*
* var k = scalar2ndarray( 0, {
* 'dtype': 'generic'
* 'dtype': 'generic'
* });
*
* var out = ztriu( [ A, B, k ] );
Expand Down