Skip to content

Commit ad4dcb5

Browse files
committed
Auto-generated commit
1 parent fb05381 commit ad4dcb5

8 files changed

Lines changed: 17 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
### Bug Fixes
3333

34+
- [`e6cc42b`](https://github.com/stdlib-js/stdlib/commit/e6cc42bab0268753252236d0e7511c97443754cc) - correct typo in enum name and fix C examples [(#13088)](https://github.com/stdlib-js/stdlib/pull/13088)
3435
- [`aedcf13`](https://github.com/stdlib-js/stdlib/commit/aedcf1310cfe8c323ca03bf52d5f27021f5b8927) - wrap `RangeError` messages with `format` [(#12912)](https://github.com/stdlib-js/stdlib/pull/12912)
3536
- [`098451f`](https://github.com/stdlib-js/stdlib/commit/098451fcfd33729cc05260ae5c74113819741f80) - widen `mode` option type in `ndarray/sub2ind` to accept a single mode [(#12628)](https://github.com/stdlib-js/stdlib/pull/12628)
3637
- [`b696736`](https://github.com/stdlib-js/stdlib/commit/b696736186a5c6acce24c49f6b613832941c0cf1) - bind generic type parameter to input ndarray in `ndarray/with` [(#12626)](https://github.com/stdlib-js/stdlib/pull/12626)
@@ -49,6 +50,7 @@
4950

5051
<details>
5152

53+
- [`e6cc42b`](https://github.com/stdlib-js/stdlib/commit/e6cc42bab0268753252236d0e7511c97443754cc) - **fix:** correct typo in enum name and fix C examples [(#13088)](https://github.com/stdlib-js/stdlib/pull/13088) _(by anee3)_
5254
- [`9e91810`](https://github.com/stdlib-js/stdlib/commit/9e91810bfa37f32b66e04ac1ee69b640ea2e43ff) - **feat:** update `ndarray/base/assert` TypeScript declarations [(#13119)](https://github.com/stdlib-js/stdlib/pull/13119) _(by stdlib-bot)_
5355
- [`839aaf6`](https://github.com/stdlib-js/stdlib/commit/839aaf681cf5e10b2f4d1ed566d716dd2726421b) - **docs:** update documentation [(#13120)](https://github.com/stdlib-js/stdlib/pull/13120) _(by stdlib-bot)_
5456
- [`4a14673`](https://github.com/stdlib-js/stdlib/commit/4a1467352fcbd486caca6564a300c627449d796d) - **docs:** update namespace table of contents [(#13121)](https://github.com/stdlib-js/stdlib/pull/13121) _(by stdlib-bot)_
@@ -114,11 +116,12 @@
114116

115117
### Contributors
116118

117-
A total of 3 people contributed to this release. Thank you to the following contributors:
119+
A total of 4 people contributed to this release. Thank you to the following contributors:
118120

119121
- Athan Reines
120122
- Muhammad Haris
121123
- Philipp Burckhardt
124+
- anee3
122125

123126
</section>
124127

base/every/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ void stdlib_ndarray_every_by_f_x_as_d_x(...) {...}
204204

205205
is a function which accepts one single-precision floating-point input ndarray and one boolean output ndarray. However, the callback accepts double-precision floating-point numbers. Accordingly, the input values need to be cast using the following conversion sequence
206206

207+
<!-- run-disable -->
208+
207209
```c
208210
#include <stdbool.h>
209211

base/flatten-shape-from/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* const int64_t shape[] = { 2, 3, 10 };
3636
* int64_t out[ 2 ];
3737
*
38-
* stdlib_ndarray_flatten_shape( ndims, shape, 1, out );
38+
* stdlib_ndarray_flatten_shape_from( ndims, shape, 1, out );
3939
*/
4040
int8_t stdlib_ndarray_flatten_shape_from( const int64_t ndims, const int64_t *shape, const int64_t dim, int64_t *out ) {
4141
int64_t d;

base/function-object/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ console.log( headerDir );
107107

108108
Structure for grouping ndarray function information.
109109

110+
<!-- run-disable -->
111+
110112
```c
111113
struct ndarrayFunctionObject {
112114
// ndarray function name:

base/nullary/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ void stdlib_ndarray_f_as_d(...) {...}
193193

194194
is a function which accepts one single-precision floating-point output ndarray. However, the callback returns double-precision floating-point numbers. Accordingly, the output values need to be cast using the following conversion sequence
195195

196+
<!-- run-disable -->
197+
196198
```c
197199
// Evaluate the callback:
198200
double out = f();

base/unary-accumulate/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ void stdlib_ndarray_accumulate_ff_f_as_dd_d(...) {...}
204204

205205
is a function which performs accumulation in single-precision and accepts one single-precision floating-point input ndarray and one single-precision floating-point output ndarray. However, the callback accepts and returns double-precision floating-point numbers. Accordingly, the input and output values need to be cast using the following conversion sequence
206206

207+
<!-- run-disable -->
208+
207209
```c
208210
// Convert the current accumulated value to double-precision:
209211
double curr = (double)acc;

base/unary/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ void stdlib_ndarray_f_f_as_d_d(...) {...}
217217

218218
is a function which accepts one single-precision floating-point input ndarray and one single-precision floating-point output ndarray. However, the callback accepts and returns double-precision floating-point numbers. Accordingly, the input and output values need to be cast using the following conversion sequence
219219

220+
<!-- run-disable -->
221+
220222
```c
221223
// Convert each input array element to double-precision:
222224
double in1 = (double)x[ i ];

ctor/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,8 @@ str = JSON.stringify( arr.toJSON() );
721721

722722
Structure holding ndarray data.
723723

724+
<!-- run-disable -->
725+
724726
```c
725727
#include "stdlib/ndarray/dtypes.h"
726728
#include "stdlib/ndarray/index_modes.h"

0 commit comments

Comments
 (0)