@stdlib/ndarray-base-broadcast-array 0.0.2 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +24 -5
- package/docs/types/test.ts +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -5
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2022 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ limitations under the License.
|
|
|
20
20
|
|
|
21
21
|
# broadcastArray
|
|
22
22
|
|
|
23
|
-
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
|
|
23
|
+
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
|
|
24
24
|
|
|
25
25
|
> Broadcast an [ndarray][@stdlib/ndarray/base/ctor] to a specified shape.
|
|
26
26
|
|
|
@@ -139,6 +139,14 @@ for ( i = 0; i < N; i++ ) {
|
|
|
139
139
|
|
|
140
140
|
<!-- /.references -->
|
|
141
141
|
|
|
142
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
143
|
+
|
|
144
|
+
<section class="related">
|
|
145
|
+
|
|
146
|
+
</section>
|
|
147
|
+
|
|
148
|
+
<!-- /.related -->
|
|
149
|
+
|
|
142
150
|
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
143
151
|
|
|
144
152
|
|
|
@@ -165,7 +173,7 @@ See [LICENSE][stdlib-license].
|
|
|
165
173
|
|
|
166
174
|
## Copyright
|
|
167
175
|
|
|
168
|
-
Copyright © 2016-
|
|
176
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
169
177
|
|
|
170
178
|
</section>
|
|
171
179
|
|
|
@@ -184,9 +192,20 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
184
192
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/ndarray-base-broadcast-array/main.svg
|
|
185
193
|
[coverage-url]: https://codecov.io/github/stdlib-js/ndarray-base-broadcast-array?branch=main
|
|
186
194
|
|
|
195
|
+
<!--
|
|
196
|
+
|
|
187
197
|
[dependencies-image]: https://img.shields.io/david/stdlib-js/ndarray-base-broadcast-array.svg
|
|
188
198
|
[dependencies-url]: https://david-dm.org/stdlib-js/ndarray-base-broadcast-array/main
|
|
189
199
|
|
|
200
|
+
-->
|
|
201
|
+
|
|
202
|
+
[umd]: https://github.com/umdjs/umd
|
|
203
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
204
|
+
|
|
205
|
+
[deno-url]: https://github.com/stdlib-js/ndarray-base-broadcast-array/tree/deno
|
|
206
|
+
[umd-url]: https://github.com/stdlib-js/ndarray-base-broadcast-array/tree/umd
|
|
207
|
+
[esm-url]: https://github.com/stdlib-js/ndarray-base-broadcast-array/tree/esm
|
|
208
|
+
|
|
190
209
|
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
191
210
|
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
192
211
|
|
|
@@ -196,11 +215,11 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
196
215
|
|
|
197
216
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/ndarray-base-broadcast-array/main/LICENSE
|
|
198
217
|
|
|
199
|
-
[@stdlib/ndarray/ctor]: https://
|
|
218
|
+
[@stdlib/ndarray/ctor]: https://www.npmjs.com/package/@stdlib/ndarray-ctor
|
|
200
219
|
|
|
201
|
-
[@stdlib/ndarray/base/ctor]: https://
|
|
220
|
+
[@stdlib/ndarray/base/ctor]: https://www.npmjs.com/package/@stdlib/ndarray-base-ctor
|
|
202
221
|
|
|
203
|
-
[@stdlib/ndarray/base/broadcast-shapes]: https://
|
|
222
|
+
[@stdlib/ndarray/base/broadcast-shapes]: https://www.npmjs.com/package/@stdlib/ndarray-base-broadcast-shapes
|
|
204
223
|
|
|
205
224
|
</section>
|
|
206
225
|
|
package/docs/types/test.ts
CHANGED
|
@@ -70,7 +70,7 @@ function array(): ndarray {
|
|
|
70
70
|
broadcastArray( ( x: number ): number => x, [ 2, 2, 2 ] ); // $ExpectError
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
// The compiler throws an error if the function is not provided a second argument which is an array-like object containing
|
|
73
|
+
// The compiler throws an error if the function is not provided a second argument which is an array-like object containing numbers...
|
|
74
74
|
{
|
|
75
75
|
const x = array();
|
|
76
76
|
|
package/package.json
CHANGED