@@ -3550,6 +3550,11 @@ declare module '@stdlib/types/ndarray' {
3550
3550
*/
3551
3551
type BooleanAndGenericDataTypeMap < T > = Remap < BooleanDataTypeMap & { 'generic' : genericndarray < T > } > ;
3552
3552
3553
+ /**
3554
+ * Integer index ndarray kinds.
3555
+ */
3556
+ type IndexArrayKinds = '' | 'cartesian' | 'linear' ;
3557
+
3553
3558
/**
3554
3559
* Boolean index ndarray.
3555
3560
*/
@@ -3570,11 +3575,26 @@ declare module '@stdlib/types/ndarray' {
3570
3575
*/
3571
3576
type TypedIndexArray = uint8ndarray | booleanndarray | int32ndarray ;
3572
3577
3578
+ /**
3579
+ * Integer index ndarray.
3580
+ */
3581
+ type IntegerIndexArray = int32ndarray | GenericIntegerIndexArray ;
3582
+
3573
3583
/**
3574
3584
* Index ndarray.
3575
3585
*/
3576
3586
type IndexArray = GenericIndexArray | TypedIndexArray ;
3577
3587
3588
+ /**
3589
+ * Cartesian index ndarray.
3590
+ */
3591
+ type CartesianIndexArray = IntegerIndexArray ;
3592
+
3593
+ /**
3594
+ * Linear index ndarray.
3595
+ */
3596
+ type LinearIndexArray = IntegerIndexArray ;
3597
+
3578
3598
/**
3579
3599
* Interface describing an ndarray index object.
3580
3600
*/
@@ -3602,7 +3622,7 @@ declare module '@stdlib/types/ndarray' {
3602
3622
/**
3603
3623
* Read-only property returning the ndarray index "kind".
3604
3624
*/
3605
- kind : '' | 'cartesian' | 'linear' ;
3625
+ kind : IndexArrayKinds ;
3606
3626
3607
3627
/**
3608
3628
* Read-only property returning the ndarray index type.
@@ -3679,7 +3699,7 @@ declare module '@stdlib/types/ndarray' {
3679
3699
/**
3680
3700
* Read-only property returning the ndarray index "kind".
3681
3701
*/
3682
- kind : '' | 'cartesian' | 'linear' ;
3702
+ kind : IndexArrayKinds ;
3683
3703
3684
3704
/**
3685
3705
* Read-only property returning the underlying index ndarray data type.
@@ -3749,7 +3769,7 @@ declare module '@stdlib/types/ndarray' {
3749
3769
/**
3750
3770
* Read-only property returning the ndarray index "kind".
3751
3771
*/
3752
- kind : '' | 'cartesian' | 'linear' ;
3772
+ kind : IndexArrayKinds ;
3753
3773
3754
3774
/**
3755
3775
* Read-only property returning the underlying index ndarray data type.
@@ -3799,7 +3819,7 @@ declare module '@stdlib/types/ndarray' {
3799
3819
/**
3800
3820
* The index ndarray "kind".
3801
3821
*/
3802
- kind : '' | 'cartesian' | 'linear' ;
3822
+ kind : IndexArrayKinds ;
3803
3823
3804
3824
/**
3805
3825
* The type of index ndarray.
@@ -3874,7 +3894,7 @@ declare module '@stdlib/types/ndarray' {
3874
3894
/**
3875
3895
* The index ndarray "kind".
3876
3896
*/
3877
- kind : '' | 'cartesian' | 'linear' ;
3897
+ kind : IndexArrayKinds ;
3878
3898
3879
3899
/**
3880
3900
* The type of index ndarray.
@@ -3919,7 +3939,7 @@ declare module '@stdlib/types/ndarray' {
3919
3939
/**
3920
3940
* The index ndarray "kind".
3921
3941
*/
3922
- kind : '' | 'cartesian' | 'linear' ;
3942
+ kind : IndexArrayKinds ;
3923
3943
3924
3944
/**
3925
3945
* The type of index ndarray.
0 commit comments