File tree Expand file tree Collapse file tree
lib/node_modules/@stdlib/stats/base/ndarray/dnanmidrange/examples/c Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ int main( void ) {
3838 int64_t shape [] = { 4 };
3939
4040 // Specify the array strides:
41- int64_t strides [] = { 2 * STDLIB_NDARRAY_FLOAT64_BYTES_PER_ELEMENT };
41+ int64_t strides [] = { 2 * STDLIB_NDARRAY_FLOAT64_BYTES_PER_ELEMENT };
4242
4343 // Specify the byte offset:
4444 const int64_t offset = 0 ;
@@ -64,11 +64,11 @@ int main( void ) {
6464 // Define a list of ndarrays:
6565 const struct ndarray * arrays [] = { x };
6666
67- // Compute the NaN-aware midrange :
67+ // Compute the mid-range :
6868 double v = stdlib_stats_dnanmidrange ( arrays );
6969
7070 // Print the result:
71- printf ( "nanmidrange : %lf\n" , v );
71+ printf ( "mid-range : %lf\n" , v );
7272
7373 // Free allocated memory:
7474 stdlib_ndarray_free ( x );
You can’t perform that action at this time.
0 commit comments