保持简单的设计和使用一维数组总是更好的做法。
It is always better to keep the design simple and use single-dimensional arrays.
使用线形图的一维数组,X轴将是整数(1、2、3...) ,数据将是 Y 轴。
With a one-dimensional array for line type graphs, the X axis will be integers (1,2,3...), and the data will be the Y axis.
所有图表类型都可以接受一个一维数组,但根据不同的图表类型,还有其他一些格式选项。
All plot types can accept a one-dimensional array, but there are some additional format options available based on the type of chart.
高级bash特性向用户提供比以前更强的能力(例如,纪元、函数、信号控制、多个扩展、命令历史、使用一维数组的方法)。
Advanced bash features (for example, epoch, functions, signal control, multiple extensions, command history, the means of using one-dimensional arrays) that give users much more power than before.
其默认值是参数数组元素类型的空一维数组。
Its default value is an empty one-dimensional array of the parameter array's element type.
从指定数组索引开始将输入方法复制到现有一维数组中。
Copies the input methods to an existing one-dimensional array, starting at the specified array index.
文章以实例的形式介绍了一维数组和二维数组的学习方法。
In the form of practical examples, this paper introduces the study method of one dimensional array and two dimensional arrays.
例如,性质用一维数组赋值,2元谓词用2维数组赋值,等等。
For instance, properties are assigned by one-dimensional arrays, predicates of arity 2 by two-dimensional arrays, and so on.
描述如何通过值传递多维整数数组以及如何通过引用传递一维数组。
Describes how to pass multidimensional arrays of integers by value and how to pass one-dimensional arrays by reference.
对于参数数组,请提供元素类型与参数数组的元素类型相同的一维数组。
For the parameter array, supply a one-dimensional array with the same element type as the parameter array's element type.
可以声明一个具有31个元素的一维数组,每个元素对应于月中的每一天,如下例所示。
You might declare a one-dimensional array with 31 elements, one for each day of the month, as the following example shows.
这里列出的一维数组说明了数组的结构,注意第一个元素的索引是0,第二个是1,以此类推。
The one-dimensional (1D) array shown here illustrates this structure. Notice that the first element has index 0, the second element has index 1, and so on.
因此我们将状态表实现为一个二维的函数关联数组。
You will take advantage of this by implementing your state table as a two-dimensional associative array of functions.
这个特殊方法把搜索区域简化成了一个二维数组。
This particular method reduces our search area to a simple two dimensional array.
对于典型“稳定婚姻问题”,借助矩阵(二维数组)给出了一种简明的实现方法。
Regarding the typical"the stable marriage problem", we give one brief realization method with the help of the matrix(two-dimensional array).
如何组织一个数组变成二维的呢?
可为数组声明的维数有一个最大值。
There is a maximum number of dimensions you can declare for an array.
确保属性的一个参数指定了一个具有相同秩(维数)和元素数据类型的数组。
Ensure that one of the property parameters specifies an array with the same rank (number of dimensions) and element data type.
二进制源数据必须是一维的无符号字符数组。
Binary source data must be a single-dimensioned array of unsigned char.
每个参数的值决定数组每一维的大小;
The value of each argument determines the size of the array in each dimension;
在本节中,您将会学到如何为一个大小为[10][20][30]的三维数组定义属性。
In this section, you will learn how to make an attribute a three-dimensional array of size [10] [20] [30].
增加一个数组的维数时,该数组所需的总存储空间会急剧增大,因此应慎用多维数组。
When you add dimensions to an array, the total storage needed by the array increases considerably, so use multidimensional arrays with care.
然后,值(字符串或数值)存储到一个二维数组中,读取完整个工作表之后,该数组被返回给调用例程。
The value, string or numeric, is then stored in a two-dimensional array, which is returned to the calling routine after the whole sheet has been read.
可以通过为数组的每一维提供“索引”或“下标”来指定数组元素。
You specify an element of an array by supplying an index or subscript for each of its dimensions.
这个子程序可以对一维或者二维数组进行排序。
现在我们让问题变得复杂点:你有一个二维的无符号整形数组,你想要找到具有最小和的那一行。
Now let's complicate the problem a bit: you have a two-dimensional array of unsigned integers, and you want to find the row with the smallest sum.
现在我们让问题变得复杂点:你有一个二维的无符号整形数组,你想要找到具有最小和的那一行。
Now let's complicate the problem a bit: you have a two-dimensional array of unsigned integers, and you want to find the row with the smallest sum.
应用推荐