保持简单的设计和使用一维数组总是更好的做法。
It is always better to keep the design simple and use single-dimensional arrays.
一个激进的方式是,切片多维数据为平行的一维数组。
A somewhat more radical idea is to slice up multidimensional arrays into parallel single one-dimension arrays.
其默认值是参数数组元素类型的空一维数组。
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.
下面的示例阐释了定义一维数组和多维数组之间的区别。
The following example illustrates the difference between defined a one-dimensional array and a multidimensional array.
文章以实例的形式介绍了一维数组和二维数组的学习方法。
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.
这个结果是一组数组,它紧贴服务器IP地址的一维数组,并且传回给调用者。
The result is an array of arrays, which is flattened to a single dimensional array of server IP addresses and passed back to the caller.
使用线形图的一维数组,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.
可以声明一个具有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.
JIFEX软件系统的数据管理系统—JINEGS系统在内存中动态分配的一维数组来进行数据管理。
In JIFEX software system, the data is managed by the JINEGS system in which an array is dynamic allocated in main memory.
高级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.
有时候你需要拼接几个一维数组,而不是要组建二维数组,这种情况下,你需要点击函数,在菜单中选择连接输入端的类型。
Sometimes you'll want to concatenate several 1D arrays together, instead of building a 2D array. In this case, you'll need to pop up on the Build Array function, and choose Concatenate Inputs.
要创建一个类型为a [m]的一维数组(这里的m是一个已经被定义和初始化的整数变量),可以在uml模型中在这个数组变量a上运行cpp _type原型。
To create a single dimensional array of the type a [m] (where m is an integer variable already defined and initialized), apply the cpp_type stereotype on the array variable a in the UML model.
因此我们将状态表实现为一个二维的函数关联数组。
You will take advantage of this by implementing your state table as a two-dimensional associative array of functions.
在本节中,您将会学到如何为一个大小为[10][20][30]的三维数组定义属性。
In this section, you will learn how to make an attribute a three-dimensional array of size [10] [20] [30].
我们现在已经可以在一台桌面计算机上利用三维数组中的数千个节点证明该理论,但要完全实现需要百万计的细胞或者同等当量的计算。
P. on a desktop computer using thousands of nodes in a 3-d array, but a good calculation requires millions of cells or the equivalent.
然后,值(字符串或数值)存储到一个二维数组中,读取完整个工作表之后,该数组被返回给调用例程。
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.
现在我们让问题变得复杂点:你有一个二维的无符号整形数组,你想要找到具有最小和的那一行。
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.
一旦应用了该模板,您就可以确定 rank_specification 原型属性的值,这将决定建立的数组是单维的,还是多维的,或者是多重数组。
Once the stereotype is applied, you can specify the value for the rank_specification stereotype property, which denotes whether an array is 1-dimensional, multi-dimensional or jagged array.
不然,您得到的是第一维的和,并生成一个降低了维数的新数组。
Otherwise, you add along the primary dimension, producing an new array of reduced dimension. For example.
增加一个数组的维数时,该数组所需的总存储空间会急剧增大,因此应慎用多维数组。
When you add dimensions to an array, the total storage needed by the array increases considerably, so use multidimensional arrays with care.
这个特殊方法把搜索区域简化成了一个二维数组。
This particular method reduces our search area to a simple two dimensional array.
如何作为一个参数传递给函数传递一个二维数组?
How to pass a bidimensional array as an argument to a function?
对于典型“稳定婚姻问题”,借助矩阵(二维数组)给出了一种简明的实现方法。
Regarding the typical"the stable marriage problem", we give one brief realization method with the help of the matrix(two-dimensional array).
一个描述设备分辨率的头文件,在这个设备上一个矩形像素被创建,还有矩形的维数,比特数组的尺寸等等。
A header that describes the resolution of the device on which the rectangle of pixels was created, the dimensions of the rectangle, the size of the array of bits, and so on.
应用推荐