You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/blas/ext/base/ssort2ins/README.md
-131Lines changed: 0 additions & 131 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,137 +193,6 @@ console.log( y );
193
193
194
194
* * *
195
195
196
-
<!-- C interface documentation. -->
197
-
198
-
<sectionclass="c">
199
-
200
-
## C APIs
201
-
202
-
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
203
-
204
-
<sectionclass="intro">
205
-
206
-
</section>
207
-
208
-
<!-- /.intro -->
209
-
210
-
<!-- C usage documentation. -->
211
-
212
-
<sectionclass="usage">
213
-
214
-
### Usage
215
-
216
-
```c
217
-
#include"stdlib/blas/ext/base/ssort2ins.h"
218
-
```
219
-
220
-
#### stdlib_strided_ssort2ins( N, order, \*X, strideX, \*Y, strideY )
221
-
222
-
Simultaneously sorts two single-precision floating-point strided arrays based on the sort order of the first array using insertion sort.
223
-
224
-
```c
225
-
float x[] = { 1.0f, -2.0f, 3.0f, -4.0f };
226
-
float y[] = { 0.0f, 1.0f, 2.0f, 3.0f };
227
-
228
-
stdlib_strided_ssort2ins( 4, 1.0f, x, 1, y, 1 );
229
-
```
230
-
231
-
The function accepts the following arguments:
232
-
233
-
- **N**: `[in] CBLAS_INT` number of indexed elements.
234
-
- **order**: `[in] float` sort order. If `order < 0.0`, the input strided array `X` is sorted in **decreasing** order. If `order > 0.0`, the input strided array `X` is sorted in **increasing** order. If `order == 0.0`, the input strided arrays are left unchanged.
235
-
- **X**: `[inout] float*` first input array.
236
-
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
237
-
- **Y**: `[inout] float*` second input array.
238
-
- **strideY**: `[in] CBLAS_INT` stride length for `Y`.
Simultaneously sorts two single-precision floating-point strided arrays based on the sort order of the first array using insertion sort and alternative indexing semantics.
251
-
252
-
```c
253
-
float x[] = { 1.0f, -2.0f, 3.0f, -4.0f };
254
-
float y[] = { 0.0f, 1.0f, 2.0f, 3.0f };
255
-
256
-
stdlib_strided_ssort2ins_ndarray( 4, 1.0f, x, 1, 0, y, 1, 0 );
257
-
```
258
-
259
-
The function accepts the following arguments:
260
-
261
-
- **N**: `[in] CBLAS_INT` number of indexed elements.
262
-
- **order**: `[in] float` sort order. If `order < 0.0`, the input strided array `X` is sorted in **decreasing** order. If `order > 0.0`, the input strided array `X` is sorted in **increasing** order. If `order == 0.0`, the input strided arrays are left unchanged.
263
-
- **X**: `[inout] float*` first input array.
264
-
- **strideX**: `[in] CBLAS_INT` stride length for `X`.
265
-
- **offsetX**: `[in] CBLAS_INT` starting index for `X`.
266
-
- **Y**: `[inout] float*` second input array.
267
-
- **strideY**: `[in] CBLAS_INT` stride length for `Y`.
268
-
- **offsetY**: `[in] CBLAS_INT` starting index for `Y`.
stdlib_strided_ssort2ins( N, 1.0f, x, strideX, y, strideY );
310
-
311
-
// Print the result:
312
-
for ( int i = 0; i < 8; i++ ) {
313
-
printf( "x[ %i ] = %f\n", i, x[ i ] );
314
-
printf( "y[ %i ] = %f\n", i, y[ i ] );
315
-
}
316
-
}
317
-
```
318
-
319
-
</section>
320
-
321
-
<!-- /.examples -->
322
-
323
-
</section>
324
-
325
-
<!-- /.c -->
326
-
327
196
## See Also
328
197
329
198
- <spanclass="package-name">[`@stdlib/blas/ext/base/dsort2ins`][@stdlib/blas/ext/base/dsort2ins]</span><spanclass="delimiter">: </span><spanclass="description">simultaneously sort two double-precision floating-point strided arrays based on the sort order of the first array using insertion sort.</span>
Evaluates the [quantile-function][quantile-function] of a [gumbel-distribution][gumbel-distribution] with parameter probability `p`, location parameter `mu` and scale parameter `beta`.
- <spanclass="package-name">[`@stdlib/utils/any-own-by`][@stdlib/utils/any-own-by]</span><spanclass="delimiter">: </span><spanclass="description">test whether whether any 'own' property of a provided object satisfies a predicate function.</span>
223
223
- <spanclass="package-name">[`@stdlib/object/every-own-by`][@stdlib/object/every-own-by]</span><spanclass="delimiter">: </span><spanclass="description">test whether all own properties of an object pass a test implemented by a predicate function.</span>
224
224
- <spanclass="package-name">[`@stdlib/utils/some-by`][@stdlib/utils/some-by]</span><spanclass="delimiter">: </span><spanclass="description">test whether a collection contains at least `n` elements which pass a test implemented by a predicate function.</span>
225
-
- <spanclass="package-name">[`@stdlib/utils/some-in-by`][@stdlib/utils/some-in-by]</span><spanclass="delimiter">: </span><spanclass="description">test whether an object contains at least n properties (own and inherited) which pass a test implemented by a predicate function.</span>
225
+
- <spanclass="package-name">[`@stdlib/object/some-in-by`][@stdlib/object/some-in-by]</span><spanclass="delimiter">: </span><spanclass="description">test whether an object contains at least n properties (own and inherited) which pass a test implemented by a predicate function.</span>
0 commit comments