Skip to content

docs: update examples of stats/base/dmin #4713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 13, 2025
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
5 changes: 2 additions & 3 deletions lib/node_modules/@stdlib/stats/base/dmin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Computes the minimum value of a double-precision floating-point strided array.
```c
const double x[] = { 1.0, -2.0, 2.0 };

double v = stdlib_strided_dmin( 3, x, 2 );
double v = stdlib_strided_dmin( 3, x, 1 );
// returns -2.0
```

Expand All @@ -183,7 +183,7 @@ Computes the minimum value of a double-precision floating-point strided array us
```c
const double x[] = { 1.0, -2.0, 2.0 };

double v = stdlib_strided_dmin_ndarray( 3, x, 2, 0 );
double v = stdlib_strided_dmin_ndarray( 3, x, 1, 0 );
// returns -2.0
```

Expand Down Expand Up @@ -218,7 +218,6 @@ double stdlib_strided_dmin_ndarray( const CBLAS_INT N, const double *X, const CB

```c
#include "stdlib/stats/base/dmin.h"
#include <stdint.h>
#include <stdio.h>

int main( void ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/

#include "stdlib/stats/base/dmin.h"
#include <stdint.h>
#include <stdio.h>

int main( void ) {
Expand Down
Loading