Skip to content

Commit dab3be8

Browse files
Add type aliases for higher-dimensional ArcArrays (#1561)
1 parent e2c76e8 commit dab3be8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/aliases.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,3 +195,13 @@ pub type ArrayViewMutD<'a, A> = ArrayViewMut<'a, A, IxDyn>;
195195
pub type ArcArray1<A> = ArcArray<A, Ix1>;
196196
/// two-dimensional shared ownership array
197197
pub type ArcArray2<A> = ArcArray<A, Ix2>;
198+
/// three-dimensional shared ownership array
199+
pub type ArcArray3<A> = ArcArray<A, Ix3>;
200+
/// four-dimensional shared ownership array
201+
pub type ArcArray4<A> = ArcArray<A, Ix4>;
202+
/// five-dimensional shared ownership array
203+
pub type ArcArray5<A> = ArcArray<A, Ix5>;
204+
/// six-dimensional shared ownership array
205+
pub type ArcArray6<A> = ArcArray<A, Ix6>;
206+
/// dynamic-dimensional shared ownership array
207+
pub type ArcArrayD<A> = ArcArray<A, IxDyn>;

0 commit comments

Comments
 (0)