Commit 327cda9
authored
feat!: update
This commit updates the `concat` API to accept an options argument rather than a `dim` argument. To specify a dimension, one should pass in an options object with a `dim` property.
BREAKING CHANGE: move `dim` argument to option
To migrate, users wanting to specify a dimension along which to concatenate input arrays should provide an object containing a `dim` property.
PR-URL: #9508
Reviewed-by: Athan Reines <kgryte@gmail.com>ndarray TypeScript declarations1 parent c026135 commit 327cda9
1 file changed
Lines changed: 9 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | | - | |
| 492 | + | |
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | | - | |
497 | 496 | | |
498 | 497 | | |
499 | 498 | | |
| |||
503 | 502 | | |
504 | 503 | | |
505 | 504 | | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
511 | 509 | | |
512 | 510 | | |
513 | | - | |
514 | 511 | | |
515 | 512 | | |
516 | 513 | | |
| |||
522 | 519 | | |
523 | 520 | | |
524 | 521 | | |
525 | | - | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | 529 | | |
533 | 530 | | |
534 | 531 | | |
| |||
0 commit comments