@stdlib/ndarray-base 0.0.7 → 0.2.0
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/LICENSE +0 -304
- package/NOTICE +1 -1
- package/README.md +185 -11
- package/SECURITY.md +5 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +7 -0
- package/docs/types/index.d.ts +1959 -242
- package/lib/index.js +400 -0
- package/package.json +269 -164
- package/docs/types/test.ts +0 -29
package/lib/index.js
CHANGED
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
+
/*
|
|
26
|
+
* The following modules are intentionally not exported: function-object, napi, unary
|
|
27
|
+
*/
|
|
28
|
+
|
|
25
29
|
// MODULES //
|
|
26
30
|
|
|
27
31
|
var setReadOnly = require( '@stdlib/utils-define-read-only-property' );
|
|
@@ -45,6 +49,33 @@ var ns = {};
|
|
|
45
49
|
*/
|
|
46
50
|
setReadOnly( ns, 'assert', require( '@stdlib/ndarray-base-assert' ) );
|
|
47
51
|
|
|
52
|
+
/**
|
|
53
|
+
* @name assign
|
|
54
|
+
* @memberof ns
|
|
55
|
+
* @readonly
|
|
56
|
+
* @type {Function}
|
|
57
|
+
* @see {@link module:@stdlib/ndarray/base/assign}
|
|
58
|
+
*/
|
|
59
|
+
setReadOnly( ns, 'assign', require( '@stdlib/ndarray-base-assign' ) );
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @name binaryLoopOrder
|
|
63
|
+
* @memberof ns
|
|
64
|
+
* @readonly
|
|
65
|
+
* @type {Function}
|
|
66
|
+
* @see {@link module:@stdlib/ndarray/base/binary-loop-interchange-order}
|
|
67
|
+
*/
|
|
68
|
+
setReadOnly( ns, 'binaryLoopOrder', require( '@stdlib/ndarray-base-binary-loop-interchange-order' ) );
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @name binaryBlockSize
|
|
72
|
+
* @memberof ns
|
|
73
|
+
* @readonly
|
|
74
|
+
* @type {Function}
|
|
75
|
+
* @see {@link module:@stdlib/ndarray/base/binary-tiling-block-size}
|
|
76
|
+
*/
|
|
77
|
+
setReadOnly( ns, 'binaryBlockSize', require( '@stdlib/ndarray-base-binary-tiling-block-size' ) );
|
|
78
|
+
|
|
48
79
|
/**
|
|
49
80
|
* @name bind2vind
|
|
50
81
|
* @memberof ns
|
|
@@ -63,6 +94,24 @@ setReadOnly( ns, 'bind2vind', require( '@stdlib/ndarray-base-bind2vind' ) );
|
|
|
63
94
|
*/
|
|
64
95
|
setReadOnly( ns, 'broadcastArray', require( '@stdlib/ndarray-base-broadcast-array' ) );
|
|
65
96
|
|
|
97
|
+
/**
|
|
98
|
+
* @name broadcastArrays
|
|
99
|
+
* @memberof ns
|
|
100
|
+
* @readonly
|
|
101
|
+
* @type {Function}
|
|
102
|
+
* @see {@link module:@stdlib/ndarray/base/broadcast-arrays}
|
|
103
|
+
*/
|
|
104
|
+
setReadOnly( ns, 'broadcastArrays', require( '@stdlib/ndarray-base-broadcast-arrays' ) );
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @name broadcastScalar
|
|
108
|
+
* @memberof ns
|
|
109
|
+
* @readonly
|
|
110
|
+
* @type {Function}
|
|
111
|
+
* @see {@link module:@stdlib/ndarray/base/broadcast-scalar}
|
|
112
|
+
*/
|
|
113
|
+
setReadOnly( ns, 'broadcastScalar', require( '@stdlib/ndarray-base-broadcast-scalar' ) );
|
|
114
|
+
|
|
66
115
|
/**
|
|
67
116
|
* @name broadcastShapes
|
|
68
117
|
* @memberof ns
|
|
@@ -144,6 +193,24 @@ setReadOnly( ns, 'clampIndex', require( '@stdlib/ndarray-base-clamp-index' ) );
|
|
|
144
193
|
*/
|
|
145
194
|
setReadOnly( ns, 'ndarray', require( '@stdlib/ndarray-base-ctor' ) );
|
|
146
195
|
|
|
196
|
+
/**
|
|
197
|
+
* @name data
|
|
198
|
+
* @memberof ns
|
|
199
|
+
* @readonly
|
|
200
|
+
* @type {Function}
|
|
201
|
+
* @see {@link module:@stdlib/ndarray/base/data-buffer}
|
|
202
|
+
*/
|
|
203
|
+
setReadOnly( ns, 'data', require( '@stdlib/ndarray-base-data-buffer' ) );
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @name dtype
|
|
207
|
+
* @memberof ns
|
|
208
|
+
* @readonly
|
|
209
|
+
* @type {Function}
|
|
210
|
+
* @see {@link module:@stdlib/ndarray/base/dtype}
|
|
211
|
+
*/
|
|
212
|
+
setReadOnly( ns, 'dtype', require( '@stdlib/ndarray-base-dtype' ) );
|
|
213
|
+
|
|
147
214
|
/**
|
|
148
215
|
* @name dtypeChar
|
|
149
216
|
* @memberof ns
|
|
@@ -216,6 +283,24 @@ setReadOnly( ns, 'dtype2c', require( '@stdlib/ndarray-base-dtype2c' ) );
|
|
|
216
283
|
*/
|
|
217
284
|
setReadOnly( ns, 'dtypes2signatures', require( '@stdlib/ndarray-base-dtypes2signatures' ) );
|
|
218
285
|
|
|
286
|
+
/**
|
|
287
|
+
* @name empty
|
|
288
|
+
* @memberof ns
|
|
289
|
+
* @readonly
|
|
290
|
+
* @type {Function}
|
|
291
|
+
* @see {@link module:@stdlib/ndarray/base/empty}
|
|
292
|
+
*/
|
|
293
|
+
setReadOnly( ns, 'empty', require( '@stdlib/ndarray-base-empty' ) );
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* @name emptyLike
|
|
297
|
+
* @memberof ns
|
|
298
|
+
* @readonly
|
|
299
|
+
* @type {Function}
|
|
300
|
+
* @see {@link module:@stdlib/ndarray/base/empty-like}
|
|
301
|
+
*/
|
|
302
|
+
setReadOnly( ns, 'emptyLike', require( '@stdlib/ndarray-base-empty-like' ) );
|
|
303
|
+
|
|
219
304
|
/**
|
|
220
305
|
* @name expandDimensions
|
|
221
306
|
* @memberof ns
|
|
@@ -225,6 +310,42 @@ setReadOnly( ns, 'dtypes2signatures', require( '@stdlib/ndarray-base-dtypes2sign
|
|
|
225
310
|
*/
|
|
226
311
|
setReadOnly( ns, 'expandDimensions', require( '@stdlib/ndarray-base-expand-dimensions' ) );
|
|
227
312
|
|
|
313
|
+
/**
|
|
314
|
+
* @name flag
|
|
315
|
+
* @memberof ns
|
|
316
|
+
* @readonly
|
|
317
|
+
* @type {Function}
|
|
318
|
+
* @see {@link module:@stdlib/ndarray/base/flag}
|
|
319
|
+
*/
|
|
320
|
+
setReadOnly( ns, 'flag', require( '@stdlib/ndarray-base-flag' ) );
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* @name flags
|
|
324
|
+
* @memberof ns
|
|
325
|
+
* @readonly
|
|
326
|
+
* @type {Function}
|
|
327
|
+
* @see {@link module:@stdlib/ndarray/base/flags}
|
|
328
|
+
*/
|
|
329
|
+
setReadOnly( ns, 'flags', require( '@stdlib/ndarray-base-flags' ) );
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* @name fliplr
|
|
333
|
+
* @memberof ns
|
|
334
|
+
* @readonly
|
|
335
|
+
* @type {Function}
|
|
336
|
+
* @see {@link module:@stdlib/ndarray/base/fliplr}
|
|
337
|
+
*/
|
|
338
|
+
setReadOnly( ns, 'fliplr', require( '@stdlib/ndarray-base-fliplr' ) );
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* @name flipud
|
|
342
|
+
* @memberof ns
|
|
343
|
+
* @readonly
|
|
344
|
+
* @type {Function}
|
|
345
|
+
* @see {@link module:@stdlib/ndarray/base/flipud}
|
|
346
|
+
*/
|
|
347
|
+
setReadOnly( ns, 'flipud', require( '@stdlib/ndarray-base-flipud' ) );
|
|
348
|
+
|
|
228
349
|
/**
|
|
229
350
|
* @name scalar2ndarray
|
|
230
351
|
* @memberof ns
|
|
@@ -279,6 +400,15 @@ setReadOnly( ns, 'maxViewBufferIndex', require( '@stdlib/ndarray-base-max-view-b
|
|
|
279
400
|
*/
|
|
280
401
|
setReadOnly( ns, 'maybeBroadcastArray', require( '@stdlib/ndarray-base-maybe-broadcast-array' ) );
|
|
281
402
|
|
|
403
|
+
/**
|
|
404
|
+
* @name maybeBroadcastArrays
|
|
405
|
+
* @memberof ns
|
|
406
|
+
* @readonly
|
|
407
|
+
* @type {Function}
|
|
408
|
+
* @see {@link module:@stdlib/ndarray/base/maybe-broadcast-arrays}
|
|
409
|
+
*/
|
|
410
|
+
setReadOnly( ns, 'maybeBroadcastArrays', require( '@stdlib/ndarray-base-maybe-broadcast-arrays' ) );
|
|
411
|
+
|
|
282
412
|
/**
|
|
283
413
|
* @name metaDataProps
|
|
284
414
|
* @memberof ns
|
|
@@ -315,6 +445,24 @@ setReadOnly( ns, 'minmaxViewBufferIndex', require( '@stdlib/ndarray-base-minmax-
|
|
|
315
445
|
*/
|
|
316
446
|
setReadOnly( ns, 'ndarraylike2object', require( '@stdlib/ndarray-base-ndarraylike2object' ) );
|
|
317
447
|
|
|
448
|
+
/**
|
|
449
|
+
* @name ndims
|
|
450
|
+
* @memberof ns
|
|
451
|
+
* @readonly
|
|
452
|
+
* @type {Function}
|
|
453
|
+
* @see {@link module:@stdlib/ndarray/base/ndims}
|
|
454
|
+
*/
|
|
455
|
+
setReadOnly( ns, 'ndims', require( '@stdlib/ndarray-base-ndims' ) );
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* @name nextCartesianIndex
|
|
459
|
+
* @memberof ns
|
|
460
|
+
* @readonly
|
|
461
|
+
* @type {Function}
|
|
462
|
+
* @see {@link module:@stdlib/ndarray/base/next-cartesian-index}
|
|
463
|
+
*/
|
|
464
|
+
setReadOnly( ns, 'nextCartesianIndex', require( '@stdlib/ndarray-base-next-cartesian-index' ) );
|
|
465
|
+
|
|
318
466
|
/**
|
|
319
467
|
* @name nonsingletonDimensions
|
|
320
468
|
* @memberof ns
|
|
@@ -324,6 +472,42 @@ setReadOnly( ns, 'ndarraylike2object', require( '@stdlib/ndarray-base-ndarraylik
|
|
|
324
472
|
*/
|
|
325
473
|
setReadOnly( ns, 'nonsingletonDimensions', require( '@stdlib/ndarray-base-nonsingleton-dimensions' ) );
|
|
326
474
|
|
|
475
|
+
/**
|
|
476
|
+
* @name normalizeIndex
|
|
477
|
+
* @memberof ns
|
|
478
|
+
* @readonly
|
|
479
|
+
* @type {Function}
|
|
480
|
+
* @see {@link module:@stdlib/ndarray/base/normalize-index}
|
|
481
|
+
*/
|
|
482
|
+
setReadOnly( ns, 'normalizeIndex', require( '@stdlib/ndarray-base-normalize-index' ) );
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* @name nullary
|
|
486
|
+
* @memberof ns
|
|
487
|
+
* @readonly
|
|
488
|
+
* @type {Function}
|
|
489
|
+
* @see {@link module:@stdlib/ndarray/base/nullary}
|
|
490
|
+
*/
|
|
491
|
+
setReadOnly( ns, 'nullary', require( '@stdlib/ndarray-base-nullary' ) );
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* @name nullaryLoopOrder
|
|
495
|
+
* @memberof ns
|
|
496
|
+
* @readonly
|
|
497
|
+
* @type {Function}
|
|
498
|
+
* @see {@link module:@stdlib/ndarray/base/nullary-loop-interchange-order}
|
|
499
|
+
*/
|
|
500
|
+
setReadOnly( ns, 'nullaryLoopOrder', require( '@stdlib/ndarray-base-nullary-loop-interchange-order' ) );
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* @name nullaryBlockSize
|
|
504
|
+
* @memberof ns
|
|
505
|
+
* @readonly
|
|
506
|
+
* @type {Function}
|
|
507
|
+
* @see {@link module:@stdlib/ndarray/base/nullary-tiling-block-size}
|
|
508
|
+
*/
|
|
509
|
+
setReadOnly( ns, 'nullaryBlockSize', require( '@stdlib/ndarray-base-nullary-tiling-block-size' ) );
|
|
510
|
+
|
|
327
511
|
/**
|
|
328
512
|
* @name numel
|
|
329
513
|
* @memberof ns
|
|
@@ -333,6 +517,69 @@ setReadOnly( ns, 'nonsingletonDimensions', require( '@stdlib/ndarray-base-nonsin
|
|
|
333
517
|
*/
|
|
334
518
|
setReadOnly( ns, 'numel', require( '@stdlib/ndarray-base-numel' ) );
|
|
335
519
|
|
|
520
|
+
/**
|
|
521
|
+
* @name numelDimension
|
|
522
|
+
* @memberof ns
|
|
523
|
+
* @readonly
|
|
524
|
+
* @type {Function}
|
|
525
|
+
* @see {@link module:@stdlib/ndarray/base/numel-dimension}
|
|
526
|
+
*/
|
|
527
|
+
setReadOnly( ns, 'numelDimension', require( '@stdlib/ndarray-base-numel-dimension' ) );
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* @name offset
|
|
531
|
+
* @memberof ns
|
|
532
|
+
* @readonly
|
|
533
|
+
* @type {Function}
|
|
534
|
+
* @see {@link module:@stdlib/ndarray/base/offset}
|
|
535
|
+
*/
|
|
536
|
+
setReadOnly( ns, 'offset', require( '@stdlib/ndarray-base-offset' ) );
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* @name order
|
|
540
|
+
* @memberof ns
|
|
541
|
+
* @readonly
|
|
542
|
+
* @type {Function}
|
|
543
|
+
* @see {@link module:@stdlib/ndarray/base/order}
|
|
544
|
+
*/
|
|
545
|
+
setReadOnly( ns, 'order', require( '@stdlib/ndarray-base-order' ) );
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* @name outputPolicyEnum2Str
|
|
549
|
+
* @memberof ns
|
|
550
|
+
* @readonly
|
|
551
|
+
* @type {Function}
|
|
552
|
+
* @see {@link module:@stdlib/ndarray/base/output-policy-enum2str}
|
|
553
|
+
*/
|
|
554
|
+
setReadOnly( ns, 'outputPolicyEnum2Str', require( '@stdlib/ndarray-base-output-policy-enum2str' ) );
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* @name outputPolicyResolveEnum
|
|
558
|
+
* @memberof ns
|
|
559
|
+
* @readonly
|
|
560
|
+
* @type {Function}
|
|
561
|
+
* @see {@link module:@stdlib/ndarray/base/output-policy-resolve-enum}
|
|
562
|
+
*/
|
|
563
|
+
setReadOnly( ns, 'outputPolicyResolveEnum', require( '@stdlib/ndarray-base-output-policy-resolve-enum' ) );
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* @name outputPolicyResolveStr
|
|
567
|
+
* @memberof ns
|
|
568
|
+
* @readonly
|
|
569
|
+
* @type {Function}
|
|
570
|
+
* @see {@link module:@stdlib/ndarray/base/output-policy-resolve-str}
|
|
571
|
+
*/
|
|
572
|
+
setReadOnly( ns, 'outputPolicyResolveStr', require( '@stdlib/ndarray-base-output-policy-resolve-str' ) );
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* @name outputPolicyStr2Enum
|
|
576
|
+
* @memberof ns
|
|
577
|
+
* @readonly
|
|
578
|
+
* @type {Function}
|
|
579
|
+
* @see {@link module:@stdlib/ndarray/base/output-policy-str2enum}
|
|
580
|
+
*/
|
|
581
|
+
setReadOnly( ns, 'outputPolicyStr2Enum', require( '@stdlib/ndarray-base-output-policy-str2enum' ) );
|
|
582
|
+
|
|
336
583
|
/**
|
|
337
584
|
* @name prependSingletonDimensions
|
|
338
585
|
* @memberof ns
|
|
@@ -351,6 +598,24 @@ setReadOnly( ns, 'prependSingletonDimensions', require( '@stdlib/ndarray-base-pr
|
|
|
351
598
|
*/
|
|
352
599
|
setReadOnly( ns, 'removeSingletonDimensions', require( '@stdlib/ndarray-base-remove-singleton-dimensions' ) );
|
|
353
600
|
|
|
601
|
+
/**
|
|
602
|
+
* @name reverse
|
|
603
|
+
* @memberof ns
|
|
604
|
+
* @readonly
|
|
605
|
+
* @type {Function}
|
|
606
|
+
* @see {@link module:@stdlib/ndarray/base/reverse}
|
|
607
|
+
*/
|
|
608
|
+
setReadOnly( ns, 'reverse', require( '@stdlib/ndarray-base-reverse' ) );
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* @name reverseDimension
|
|
612
|
+
* @memberof ns
|
|
613
|
+
* @readonly
|
|
614
|
+
* @type {Function}
|
|
615
|
+
* @see {@link module:@stdlib/ndarray/base/reverse-dimension}
|
|
616
|
+
*/
|
|
617
|
+
setReadOnly( ns, 'reverseDimension', require( '@stdlib/ndarray-base-reverse-dimension' ) );
|
|
618
|
+
|
|
354
619
|
/**
|
|
355
620
|
* @name serializeMetaData
|
|
356
621
|
* @memberof ns
|
|
@@ -360,6 +625,15 @@ setReadOnly( ns, 'removeSingletonDimensions', require( '@stdlib/ndarray-base-rem
|
|
|
360
625
|
*/
|
|
361
626
|
setReadOnly( ns, 'serializeMetaData', require( '@stdlib/ndarray-base-serialize-meta-data' ) );
|
|
362
627
|
|
|
628
|
+
/**
|
|
629
|
+
* @name shape
|
|
630
|
+
* @memberof ns
|
|
631
|
+
* @readonly
|
|
632
|
+
* @type {Function}
|
|
633
|
+
* @see {@link module:@stdlib/ndarray/base/shape}
|
|
634
|
+
*/
|
|
635
|
+
setReadOnly( ns, 'shape', require( '@stdlib/ndarray-base-shape' ) );
|
|
636
|
+
|
|
363
637
|
/**
|
|
364
638
|
* @name shape2strides
|
|
365
639
|
* @memberof ns
|
|
@@ -378,6 +652,87 @@ setReadOnly( ns, 'shape2strides', require( '@stdlib/ndarray-base-shape2strides'
|
|
|
378
652
|
*/
|
|
379
653
|
setReadOnly( ns, 'singletonDimensions', require( '@stdlib/ndarray-base-singleton-dimensions' ) );
|
|
380
654
|
|
|
655
|
+
/**
|
|
656
|
+
* @name slice
|
|
657
|
+
* @memberof ns
|
|
658
|
+
* @readonly
|
|
659
|
+
* @type {Function}
|
|
660
|
+
* @see {@link module:@stdlib/ndarray/base/slice}
|
|
661
|
+
*/
|
|
662
|
+
setReadOnly( ns, 'slice', require( '@stdlib/ndarray-base-slice' ) );
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* @name sliceAssign
|
|
666
|
+
* @memberof ns
|
|
667
|
+
* @readonly
|
|
668
|
+
* @type {Function}
|
|
669
|
+
* @see {@link module:@stdlib/ndarray/base/slice-assign}
|
|
670
|
+
*/
|
|
671
|
+
setReadOnly( ns, 'sliceAssign', require( '@stdlib/ndarray-base-slice-assign' ) );
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* @name sliceDimension
|
|
675
|
+
* @memberof ns
|
|
676
|
+
* @readonly
|
|
677
|
+
* @type {Function}
|
|
678
|
+
* @see {@link module:@stdlib/ndarray/base/slice-dimension}
|
|
679
|
+
*/
|
|
680
|
+
setReadOnly( ns, 'sliceDimension', require( '@stdlib/ndarray-base-slice-dimension' ) );
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* @name sliceDimensionFrom
|
|
684
|
+
* @memberof ns
|
|
685
|
+
* @readonly
|
|
686
|
+
* @type {Function}
|
|
687
|
+
* @see {@link module:@stdlib/ndarray/base/slice-dimension-from}
|
|
688
|
+
*/
|
|
689
|
+
setReadOnly( ns, 'sliceDimensionFrom', require( '@stdlib/ndarray-base-slice-dimension-from' ) );
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* @name sliceDimensionTo
|
|
693
|
+
* @memberof ns
|
|
694
|
+
* @readonly
|
|
695
|
+
* @type {Function}
|
|
696
|
+
* @see {@link module:@stdlib/ndarray/base/slice-dimension-to}
|
|
697
|
+
*/
|
|
698
|
+
setReadOnly( ns, 'sliceDimensionTo', require( '@stdlib/ndarray-base-slice-dimension-to' ) );
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* @name sliceFrom
|
|
702
|
+
* @memberof ns
|
|
703
|
+
* @readonly
|
|
704
|
+
* @type {Function}
|
|
705
|
+
* @see {@link module:@stdlib/ndarray/base/slice-from}
|
|
706
|
+
*/
|
|
707
|
+
setReadOnly( ns, 'sliceFrom', require( '@stdlib/ndarray-base-slice-from' ) );
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* @name sliceTo
|
|
711
|
+
* @memberof ns
|
|
712
|
+
* @readonly
|
|
713
|
+
* @type {Function}
|
|
714
|
+
* @see {@link module:@stdlib/ndarray/base/slice-to}
|
|
715
|
+
*/
|
|
716
|
+
setReadOnly( ns, 'sliceTo', require( '@stdlib/ndarray-base-slice-to' ) );
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* @name stride
|
|
720
|
+
* @memberof ns
|
|
721
|
+
* @readonly
|
|
722
|
+
* @type {Function}
|
|
723
|
+
* @see {@link module:@stdlib/ndarray/base/stride}
|
|
724
|
+
*/
|
|
725
|
+
setReadOnly( ns, 'stride', require( '@stdlib/ndarray-base-stride' ) );
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* @name strides
|
|
729
|
+
* @memberof ns
|
|
730
|
+
* @readonly
|
|
731
|
+
* @type {Function}
|
|
732
|
+
* @see {@link module:@stdlib/ndarray/base/strides}
|
|
733
|
+
*/
|
|
734
|
+
setReadOnly( ns, 'strides', require( '@stdlib/ndarray-base-strides' ) );
|
|
735
|
+
|
|
381
736
|
/**
|
|
382
737
|
* @name strides2offset
|
|
383
738
|
* @memberof ns
|
|
@@ -423,6 +778,51 @@ setReadOnly( ns, 'ndarray2array', require( '@stdlib/ndarray-base-to-array' ) );
|
|
|
423
778
|
*/
|
|
424
779
|
setReadOnly( ns, 'transpose', require( '@stdlib/ndarray-base-transpose' ) );
|
|
425
780
|
|
|
781
|
+
/**
|
|
782
|
+
* @name unary
|
|
783
|
+
* @memberof ns
|
|
784
|
+
* @readonly
|
|
785
|
+
* @type {Function}
|
|
786
|
+
* @see {@link module:@stdlib/ndarray/base/unary}
|
|
787
|
+
*/
|
|
788
|
+
setReadOnly( ns, 'unary', require( '@stdlib/ndarray-base-unary' ) );
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* @name unaryBy
|
|
792
|
+
* @memberof ns
|
|
793
|
+
* @readonly
|
|
794
|
+
* @type {Function}
|
|
795
|
+
* @see {@link module:@stdlib/ndarray/base/unary-by}
|
|
796
|
+
*/
|
|
797
|
+
setReadOnly( ns, 'unaryBy', require( '@stdlib/ndarray-base-unary-by' ) );
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* @name unaryLoopOrder
|
|
801
|
+
* @memberof ns
|
|
802
|
+
* @readonly
|
|
803
|
+
* @type {Function}
|
|
804
|
+
* @see {@link module:@stdlib/ndarray/base/unary-loop-interchange-order}
|
|
805
|
+
*/
|
|
806
|
+
setReadOnly( ns, 'unaryLoopOrder', require( '@stdlib/ndarray-base-unary-loop-interchange-order' ) );
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* @name unaryOutputDataType
|
|
810
|
+
* @memberof ns
|
|
811
|
+
* @readonly
|
|
812
|
+
* @type {Function}
|
|
813
|
+
* @see {@link module:@stdlib/ndarray/base/unary-output-dtype}
|
|
814
|
+
*/
|
|
815
|
+
setReadOnly( ns, 'unaryOutputDataType', require( '@stdlib/ndarray-base-unary-output-dtype' ) );
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* @name unaryBlockSize
|
|
819
|
+
* @memberof ns
|
|
820
|
+
* @readonly
|
|
821
|
+
* @type {Function}
|
|
822
|
+
* @see {@link module:@stdlib/ndarray/base/unary-tiling-block-size}
|
|
823
|
+
*/
|
|
824
|
+
setReadOnly( ns, 'unaryBlockSize', require( '@stdlib/ndarray-base-unary-tiling-block-size' ) );
|
|
825
|
+
|
|
426
826
|
/**
|
|
427
827
|
* @name vind2bind
|
|
428
828
|
* @memberof ns
|