必须指定数组维数,并且它们必须为正的整型常量来表示。
The array dimensions must be specified and they must be positive constant integer expressions.
它还提供三种访问数组元素的方法:标准索引、创建子数组和切片(slicing),切片能产生维数更小的数组片段的视图。
It also provides three methods for accessing array elements: standard indexing, creating subarrays, and slicing, which produces a less dimensional view of an array segment.
两个数组的秩必须相同,即它们必须具有相同的维数。
The ranks of the two arrays must be the same, that is, they must have the same number of dimensions.
应用推荐