Skip to content

Commit 705bb56

Browse files
committed
Merge branch 'blas-sindex-of' of https://github.com/headlessNode/stdlib into blas-sindex-of
2 parents 8174a0c + 69178aa commit 705bb56

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

lib/node_modules/@stdlib/blas/ext/base/sindex-of/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ console.log( idx );
190190
### Usage
191191

192192
```c
193-
#include "stdlib/blas/ext/base/sindexOf.h"
193+
#include "stdlib/blas/ext/base/sindexof.h"
194194
```
195195

196196
#### stdlib_strided_sindexOf( N, searchElement, \*X, strideX )
@@ -257,7 +257,7 @@ CBLAS_INT stdlib_strided_sindexOf_ndarray( const CBLAS_INT N, const float search
257257
### Examples
258258

259259
```c
260-
#include "stdlib/blas/ext/base/sindexOf.h"
260+
#include "stdlib/blas/ext/base/sindexof.h"
261261
#include <stdio.h>
262262

263263
int main( void ) {

lib/node_modules/@stdlib/blas/ext/base/sindex-of/examples/c/example.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121

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

2626
// Specify the number of indexed elements:
2727
const int N = 8;
2828

2929
// Specify a stride:
3030
const int strideX = 1;
3131

32-
// Fill the array:
32+
// Search the index:
3333
int idx = stdlib_strided_sindexOf( N, 5.0f, x, strideX );
3434

3535
// Print the result:

lib/node_modules/@stdlib/blas/ext/base/sindex-of/include/stdlib/blas/ext/base/sindexof.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* limitations under the License.
1717
*/
1818

19-
#ifndef STDLIB_BLAS_EXT_BASE_SNANSUMKBN_H
20-
#define STDLIB_BLAS_EXT_BASE_SNANSUMKBN_H
19+
#ifndef STDLIB_BLAS_EXT_BASE_SINDEXOF_H
20+
#define STDLIB_BLAS_EXT_BASE_SINDEXOF_H
2121

2222
#include "stdlib/blas/base/shared.h"
2323

0 commit comments

Comments
 (0)