diff --git a/lib/node_modules/@stdlib/blas/base/dasum/examples/c/example.c b/lib/node_modules/@stdlib/blas/base/dasum/examples/c/example.c index 69bc65a5e055..490764e3238d 100644 --- a/lib/node_modules/@stdlib/blas/base/dasum/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/base/dasum/examples/c/example.c @@ -21,13 +21,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; + const double x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; // Specify the number of elements: - int N = 8; + const int N = 8; // Specify a stride: - int strideX = 1; + const int strideX = 1; // Compute the sum of absolute values: double sum = c_dasum( N, x, strideX ); diff --git a/lib/node_modules/@stdlib/blas/base/daxpy/examples/c/example.c b/lib/node_modules/@stdlib/blas/base/daxpy/examples/c/example.c index eef66da1fa48..744e5f9a6f84 100644 --- a/lib/node_modules/@stdlib/blas/base/daxpy/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/base/daxpy/examples/c/example.c @@ -21,15 +21,15 @@ int main( void ) { // Create strided arrays: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; double y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }; // Specify the number of elements: - int N = 4; + const int N = 4; // Specify stride lengths: - int strideX = 2; - int strideY = -2; + const int strideX = 2; + const int strideY = -2; // Compute `a*x + y`: c_daxpy( N, 5.0, x, strideX, y, strideY ); diff --git a/lib/node_modules/@stdlib/blas/base/ddot/examples/c/example.c b/lib/node_modules/@stdlib/blas/base/ddot/examples/c/example.c index 5301ee7cc0ea..c205020189c9 100644 --- a/lib/node_modules/@stdlib/blas/base/ddot/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/base/ddot/examples/c/example.c @@ -21,15 +21,15 @@ int main( void ) { // Create strided arrays: - double x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; - double y[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; + const double x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; + const double y[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; // Specify the number of elements: - int N = 8; + const int N = 8; // Specify strides: - int strideX = 1; - int strideY = -1; + const int strideX = 1; + const int strideY = -1; // Compute the dot product: double d = c_ddot( N, x, strideX, y, strideY ); diff --git a/lib/node_modules/@stdlib/blas/base/dnrm2/examples/c/example.c b/lib/node_modules/@stdlib/blas/base/dnrm2/examples/c/example.c index a332fd7523a0..6df2de1d7d27 100644 --- a/lib/node_modules/@stdlib/blas/base/dnrm2/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/base/dnrm2/examples/c/example.c @@ -21,13 +21,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; + const double x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; // Specify the number of elements: - int N = 8; + const int N = 8; // Specify a stride: - int strideX = 1; + const int strideX = 1; // Compute the L2-norm: double l2 = c_dnrm2( N, x, strideX ); diff --git a/lib/node_modules/@stdlib/blas/base/dsdot/examples/c/example.c b/lib/node_modules/@stdlib/blas/base/dsdot/examples/c/example.c index 4a3b5f3d0ac0..e889b2960e9d 100644 --- a/lib/node_modules/@stdlib/blas/base/dsdot/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/base/dsdot/examples/c/example.c @@ -21,15 +21,15 @@ int main( void ) { // Create strided arrays: - float x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; - float y[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; + const float x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; + const float y[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; // Specify the number of elements: - int N = 8; + const int N = 8; // Specify strides: - int strideX = 1; - int strideY = -1; + const int strideX = 1; + const int strideY = -1; // Compute the dot product: double d = c_dsdot( N, x, strideX, y, strideY ); diff --git a/lib/node_modules/@stdlib/blas/base/sasum/examples/c/example.c b/lib/node_modules/@stdlib/blas/base/sasum/examples/c/example.c index c2ae73461662..c1e904d00e56 100644 --- a/lib/node_modules/@stdlib/blas/base/sasum/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/base/sasum/examples/c/example.c @@ -21,13 +21,13 @@ 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 }; + const float x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; // Specify the number of elements: - int N = 8; + const int N = 8; // Specify a stride: - int strideX = 1; + const int strideX = 1; // Compute the sum of absolute values: float sum = c_sasum( N, x, strideX ); diff --git a/lib/node_modules/@stdlib/blas/base/saxpy/examples/c/example.c b/lib/node_modules/@stdlib/blas/base/saxpy/examples/c/example.c index 68981f0d0533..62c4a08cd370 100644 --- a/lib/node_modules/@stdlib/blas/base/saxpy/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/base/saxpy/examples/c/example.c @@ -21,15 +21,15 @@ int main( void ) { // Create strided arrays: - float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; float y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }; // Specify the number of indexed elements: - int N = 4; + const int N = 4; // Specify stride lengths: - int strideX = 2; - int strideY = -2; + const int strideX = 2; + const int strideY = -2; // Compute `a*x + y`: c_saxpy( N, 5.0f, x, strideX, y, strideY ); diff --git a/lib/node_modules/@stdlib/blas/base/sdot/examples/c/example.c b/lib/node_modules/@stdlib/blas/base/sdot/examples/c/example.c index 0361992779be..321efdccc5a0 100644 --- a/lib/node_modules/@stdlib/blas/base/sdot/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/base/sdot/examples/c/example.c @@ -21,15 +21,15 @@ int main( void ) { // Create strided arrays: - float x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; - float y[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; + const float x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; + const float y[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; // Specify the number of indexed elements: - int N = 8; + const int N = 8; // Specify strides: - int strideX = 1; - int strideY = -1; + const int strideX = 1; + const int strideY = -1; // Compute the dot product: float d = c_sdot( N, x, strideX, y, strideY ); diff --git a/lib/node_modules/@stdlib/blas/base/sdsdot/examples/c/example.c b/lib/node_modules/@stdlib/blas/base/sdsdot/examples/c/example.c index 7ddf1328fb49..bd9329bd5433 100644 --- a/lib/node_modules/@stdlib/blas/base/sdsdot/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/base/sdsdot/examples/c/example.c @@ -21,15 +21,15 @@ int main( void ) { // Create strided arrays: - float x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; - float y[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; + const float x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; + const float y[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; // Specify the number of indexed elements: - int N = 8; + const int N = 8; // Specify strides: - int strideX = 1; - int strideY = -1; + const int strideX = 1; + const int strideY = -1; // Compute the dot product: float d = c_sdsdot( N, 0.0f, x, strideX, y, strideY ); diff --git a/lib/node_modules/@stdlib/blas/base/snrm2/examples/c/example.c b/lib/node_modules/@stdlib/blas/base/snrm2/examples/c/example.c index c5cf4294a2eb..9c266995862f 100644 --- a/lib/node_modules/@stdlib/blas/base/snrm2/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/base/snrm2/examples/c/example.c @@ -21,13 +21,13 @@ 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 }; + const float x[] = { 1.0, -2.0, 3.0, -4.0, 5.0, -6.0, 7.0, -8.0 }; // Specify the number of indexed elements: - int N = 8; + const int N = 8; // Specify a stride: - int strideX = 1; + const int strideX = 1; // Compute the L2-norm: float l2 = c_snrm2( N, x, strideX ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dapxsum/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dapxsum/examples/c/example.c index c0d775ce5889..3eef4c55b621 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dapxsum/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dapxsum/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dapxsum( N, 5.0, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dapxsumkbn/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dapxsumkbn/examples/c/example.c index 649393c8ad73..fd9ab81a9010 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dapxsumkbn/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dapxsumkbn/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dapxsumkbn( N, 5.0, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dapxsumkbn2/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dapxsumkbn2/examples/c/example.c index e5a059303f1a..245dc883a84e 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dapxsumkbn2/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dapxsumkbn2/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dapxsumkbn2( N, 5.0, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dapxsumors/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dapxsumors/examples/c/example.c index 3b3344dc151d..60e47f73f152 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dapxsumors/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dapxsumors/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dapxsumors( N, 5.0, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dapxsumpw/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dapxsumpw/examples/c/example.c index d38a36d380cd..efc332d47ba3 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dapxsumpw/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dapxsumpw/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dapxsumpw( N, 5.0, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dasumpw/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dasumpw/examples/c/example.c index 6efce8d0bbd3..efd596d56ef5 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dasumpw/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dasumpw/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { -1.0, 2.0, -3.0, 4.0, -5.0, 6.0, -7.0, 8.0 }; + const double x[] = { -1.0, 2.0, -3.0, 4.0, -5.0, 6.0, -7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dasumpw( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dcusum/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dcusum/examples/c/example.c index ba9bcef2e7b6..a1e6388894e9 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dcusum/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dcusum/examples/c/example.c @@ -23,15 +23,15 @@ int main( void ) { // Create strided arrays: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; double y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify stride lengths: - int64_t strideX = 2; - int64_t strideY = -2; + const int64_t strideX = 2; + const int64_t strideY = -2; // Compute the cumulative sum: stdlib_strided_dcusum( N, 0.0, x, strideX, y, strideY ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dcusumkbn/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dcusumkbn/examples/c/example.c index e604f7b86130..2c14eb21dfb2 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dcusumkbn/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dcusumkbn/examples/c/example.c @@ -23,15 +23,15 @@ int main( void ) { // Create strided arrays: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; double y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify stride lengths: - int64_t strideX = 2; - int64_t strideY = -2; + const int64_t strideX = 2; + const int64_t strideY = -2; // Compute the cumulative sum: stdlib_strided_dcusumkbn( N, 0.0, x, strideX, y, strideY ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dcusumkbn2/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dcusumkbn2/examples/c/example.c index ab16f22a4c78..9e541324fe24 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dcusumkbn2/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dcusumkbn2/examples/c/example.c @@ -23,15 +23,15 @@ int main( void ) { // Create strided arrays: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; double y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify stride lengths: - int64_t strideX = 2; - int64_t strideY = -2; + const int64_t strideX = 2; + const int64_t strideY = -2; // Compute the cumulative sum: stdlib_strided_dcusumkbn2( N, 0.0, x, strideX, y, strideY ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dcusumors/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dcusumors/examples/c/example.c index 6bfdae0e5e94..0e8318dbc562 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dcusumors/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dcusumors/examples/c/example.c @@ -23,15 +23,15 @@ int main( void ) { // Create strided arrays: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; double y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify stride lengths: - int64_t strideX = 2; - int64_t strideY = -2; + const int64_t strideX = 2; + const int64_t strideY = -2; // Compute the cumulative sum: stdlib_strided_dcusumors( N, 0.0, x, strideX, y, strideY ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dcusumpw/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dcusumpw/examples/c/example.c index ec5d8718a767..2cc20a53e79c 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dcusumpw/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dcusumpw/examples/c/example.c @@ -23,15 +23,15 @@ int main( void ) { // Create strided arrays: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; double y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify stride lengths: - int64_t strideX = 2; - int64_t strideY = -2; + const int64_t strideX = 2; + const int64_t strideY = -2; // Compute the cumulative sum: stdlib_strided_dcusumpw( N, 0.0, x, strideX, y, strideY ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dnanasum/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dnanasum/examples/c/example.c index 09b0570d6d64..670d0fc0f328 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dnanasum/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dnanasum/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, -3.0, -4.0, 5.0, -6.0, -7.0, 8.0, 0.0/0.0, 0.0/0.0 }; + const double x[] = { 1.0, 2.0, -3.0, -4.0, 5.0, -6.0, -7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dnanasum( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dnanasumors/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dnanasumors/examples/c/example.c index 60bb77ef17d3..638a9c9fe609 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dnanasumors/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dnanasumors/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, -3.0, -4.0, 5.0, -6.0, -7.0, 8.0, 0.0/0.0, 0.0/0.0 }; + const double x[] = { 1.0, 2.0, -3.0, -4.0, 5.0, -6.0, -7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dnanasumors( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dnannsum/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dnannsum/examples/c/example.c index 54f8c742b57f..754035eeed9d 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dnannsum/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dnannsum/examples/c/example.c @@ -23,13 +23,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Initialize a variable for storing the number of non-NaN elements: int64_t n = 0; diff --git a/lib/node_modules/@stdlib/blas/ext/base/dnannsumkbn/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dnannsumkbn/examples/c/example.c index 4ebe5a605c5b..1aab6016b8a0 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dnannsumkbn/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dnannsumkbn/examples/c/example.c @@ -23,13 +23,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Initialize a variable for storing the number of non-NaN elements: int64_t n = 0; diff --git a/lib/node_modules/@stdlib/blas/ext/base/dnannsumkbn2/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dnannsumkbn2/examples/c/example.c index 2aa0041aa637..5a38f94421a8 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dnannsumkbn2/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dnannsumkbn2/examples/c/example.c @@ -23,13 +23,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Initialize a variable for storing the number of non-NaN elements: int64_t n = 0; diff --git a/lib/node_modules/@stdlib/blas/ext/base/dnannsumors/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dnannsumors/examples/c/example.c index b34986f438e0..bbb460d9a78d 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dnannsumors/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dnannsumors/examples/c/example.c @@ -23,13 +23,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Initialize a variable for storing the number of non-NaN elements: int64_t n = 0; diff --git a/lib/node_modules/@stdlib/blas/ext/base/dnannsumpw/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dnannsumpw/examples/c/example.c index 8f5294a742d4..5a3a8cd14119 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dnannsumpw/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dnannsumpw/examples/c/example.c @@ -23,13 +23,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Initialize a variable for storing the number of non-NaN elements: int64_t n = 0; diff --git a/lib/node_modules/@stdlib/blas/ext/base/dnansum/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dnansum/examples/c/example.c index e75c85ce4e74..0389a136c58c 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dnansum/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dnansum/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dnansum( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dnansumkbn/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dnansumkbn/examples/c/example.c index 851611e1b7e8..b94fa418f033 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dnansumkbn/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dnansumkbn/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dnansumkbn( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dnansumkbn2/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dnansumkbn2/examples/c/example.c index 396ce2e5325a..903bf37968d3 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dnansumkbn2/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dnansumkbn2/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dnansumkbn2( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dnansumors/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dnansumors/examples/c/example.c index 3b3205b0670c..3e1726087a7b 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dnansumors/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dnansumors/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dnansumors( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dnansumpw/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dnansumpw/examples/c/example.c index e765e666b4db..d85c4d3fe975 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dnansumpw/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dnansumpw/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dnansumpw( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsapxsum/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dsapxsum/examples/c/example.c index fb0a991b22c0..edd9f2b41d7b 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsapxsum/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dsapxsum/examples/c/example.c @@ -22,13 +22,13 @@ 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 }; + const float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dsapxsum( N, 5.0f, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsapxsumpw/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dsapxsumpw/examples/c/example.c index 6f273146ed9d..0cada1535636 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsapxsumpw/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dsapxsumpw/examples/c/example.c @@ -22,13 +22,13 @@ 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 }; + const float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dsapxsumpw( N, 5.0f, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsnannsumors/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dsnannsumors/examples/c/example.c index 51a4677209de..77544cbea9bb 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsnannsumors/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dsnannsumors/examples/c/example.c @@ -23,13 +23,13 @@ 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, 0.0/0.0, 0.0/0.0 }; + const float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Initialize a variable for storing the number of non-NaN elements: int64_t n = 0; diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsnansum/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dsnansum/examples/c/example.c index 99c29f87f079..2648426d80d2 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsnansum/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dsnansum/examples/c/example.c @@ -22,13 +22,13 @@ 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, 0.0/0.0, 0.0/0.0 }; + const float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dsnansum( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsnansumors/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dsnansumors/examples/c/example.c index 12d5c8c97ac9..41555849629d 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsnansumors/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dsnansumors/examples/c/example.c @@ -22,13 +22,13 @@ 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, 0.0/0.0, 0.0/0.0 }; + const float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dsnansumors( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsnansumpw/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dsnansumpw/examples/c/example.c index 2f0a4ce95d7a..2b1caf89a651 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsnansumpw/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dsnansumpw/examples/c/example.c @@ -22,13 +22,13 @@ 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, 0.0/0.0, 0.0/0.0 }; + const float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 0.0/0.0, 0.0/0.0 }; // Specify the number of elements: - int64_t N = 5; + const int64_t N = 5; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dsnansumpw( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dssum/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dssum/examples/c/example.c index bc1f944c08ce..773aa5ad4c06 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dssum/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dssum/examples/c/example.c @@ -22,13 +22,13 @@ 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 }; + const float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dssum( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dssumors/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dssumors/examples/c/example.c index b0f3a4960eda..0ed0e0edaecc 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dssumors/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dssumors/examples/c/example.c @@ -22,13 +22,13 @@ 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 }; + const float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dssumors( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dssumpw/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dssumpw/examples/c/example.c index f79c71966b6b..dfd625dead71 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dssumpw/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dssumpw/examples/c/example.c @@ -22,13 +22,13 @@ 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 }; + const float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dssumpw( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsum/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dsum/examples/c/example.c index 34b50d6589ae..cd40532ba101 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsum/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dsum/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dsum( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsumkbn/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dsumkbn/examples/c/example.c index ccc19f2df998..07389de4767b 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsumkbn/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dsumkbn/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dsumkbn( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsumkbn2/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dsumkbn2/examples/c/example.c index 7192fb42c9b5..3fceb0339216 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsumkbn2/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dsumkbn2/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dsumkbn2( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsumors/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dsumors/examples/c/example.c index a536e1a31c3e..9e4a35796b11 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsumors/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dsumors/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dsumors( N, x, stride ); diff --git a/lib/node_modules/@stdlib/blas/ext/base/dsumpw/examples/c/example.c b/lib/node_modules/@stdlib/blas/ext/base/dsumpw/examples/c/example.c index b1748578d42a..197ecdc1225d 100644 --- a/lib/node_modules/@stdlib/blas/ext/base/dsumpw/examples/c/example.c +++ b/lib/node_modules/@stdlib/blas/ext/base/dsumpw/examples/c/example.c @@ -22,13 +22,13 @@ int main( void ) { // Create a strided array: - double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const double x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: - int64_t N = 4; + const int64_t N = 4; // Specify the stride length: - int64_t stride = 2; + const int64_t stride = 2; // Compute the sum: double v = stdlib_strided_dsumpw( N, x, stride );