8000 Auto-generated commit · stdlib-js/ndarray-base-fill@4c0c8de · GitHub
[go: up one dir, main page]

Skip to content< 10000 /a>

Commit 4c0c8de

Browse files
committed
Auto-generated commit
1 parent 48cbe95 commit 4c0c8de

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-03-23)
7+
## Unreleased (2025-03-24)
88

99
<section class="features">
1010

@@ -32,6 +32,7 @@
3232

3333
<details>
3434

35+
- [`8aad405`](https://github.com/stdlib-js/stdlib/commit/8aad4050220ad7cff7b807f0913dcab3d8555fae) - **docs:** add markup _(by Athan Reines)_
3536
- [`5cab853`](https://github.com/stdlib-js/stdlib/commit/5cab853c4f710e60d7dc1639e0cb5e9f00ad2134) - **refactor:** update to enforce mostly safe casts _(by Athan Reines)_
3637
- [`40fc3a2`](https://github.com/stdlib-js/stdlib/commit/40fc3a218445c34a667237cadb74ae9417cc0392) - **chore:** add TODO _(by Athan Reines)_
3738
- [`1aca9d3`](https://github.com/stdlib-js/stdlib/commit/1aca9d37e47e33c03b94bb5b128647c7387172e2) - **fix:** update type defn _(by Athan Reines)_

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
7878
Karan Anand <119553199+anandkaranubc@users.noreply.github.com>
7979
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
8080
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
81+
Kavyansh-Bagdi <153486713+Kavyansh-Bagdi@users.noreply.github.com>
8182
Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
8283
Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
8384
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ A provided ndarray should be an object with the following properties:
129129
## Notes
130130

131131
- If `value` is a number and `x` has a complex [data type][@stdlib/ndarray/dtypes], the function fills an input ndarray with a complex number whose real component equals the provided scalar `value` and whose imaginary component is zero.
132-
- A `value` must be able to safely cast to the input ndarray [data type][@stdlib/ndarray/dtypes]. Scalar values having floating-point data types (both real and complex) are allowed to downcast to a lower precision data type of the same kind (e.g., a scalar double-precision floating-point number can be used to fill a 'float32' input ndarray).
132+
- A `value` must be able to safely cast to the input ndarray [data type][@stdlib/ndarray/dtypes]. Scalar values having floating-point data types (both real and complex) are allowed to downcast to a lower precision data type of the same kind (e.g., a scalar double-precision floating-point number can be used to fill a `'float32'` input ndarray).
133133
- The function **mutates** the input ndarray.
134134

135135
</section>

docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { ComplexLike } from '@stdlib/types/complex';
2929
* ## Notes
3030
*
3131
* - If `value` is a number, the function fills an input ndarray with a complex number whose real component equals the provided scalar value and whose imaginary component is zero.
32-
* - A `value` must be able to safely cast to the input ndarray data type. Scalar values having floating-point data types (both real and complex) are allowed to downcast to a lower precision data type of the same kind (e.g., a scalar double-precision floating-point number can be used to fill a 'float32' input ndarray).
32+
* - A `value` must be able to safely cast to the input ndarray data type. Scalar values having floating-point data types (both real and complex) are allowed to downcast to a lower precision data type of the same kind (e.g., a scalar double-precision floating-point number can be used to fill a `'float32'` input ndarray).
3333
*
3434
* @param x - input ndarray
3535
* @param value - scalar value
@@ -71,7 +71,7 @@ declare function fill( x: complexndarray, value: number | ComplexLike ): void;
7171
*
7272
* ## Notes
7373
*
74-
* - A `value` must be able to safely cast to the input ndarray data type. Scalar values having floating-point data types (both real and complex) are allowed to downcast to a lower precision data type of the same kind (e.g., a scalar double-precision floating-point number can be used to fill a 'float32' input ndarray).
74+
* - A `value` must be able to safely cast to the input ndarray data type. Scalar values having floating-point data types (both real and complex) are allowed to downcast to a lower precision data type of the same kind (e.g., a scalar double-precision floating-point number can be used to fill a `'float32'` input ndarray).
7575
*
7676
* @param x - input ndarray
7777
* @param value - scalar value

0 commit comments

Comments
 (0)
0