在这个问题中,我们使用2维数组表示隔板。
其默认值是参数数组元素类型的空一维数组。
Its default value is an empty one-dimensional array of the parameter array's element type.
这个子程序可以对一维或者二维数组进行排序。
一个激进的方式是,切片多维数据为平行的一维数组。
A somewhat more radical idea is to slice up multidimensional arrays into parallel single one-dimension arrays.
编程求出二维数组中的最大和最小元素的值及其位置。
Programming calculated two-dimensional array of elements in the largest and smallest values and its loc …
从指定数组索引开始将输入方法复制到现有一维数组中。
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.
在有穷论域下,可以用n维数组来表示对n元谓词的赋值。
In a finite universe of discourse, one can represent the assignments of predicates with arity n by n-dimensional arrays.
复合文字语法允许多余的类型信息(如在指定二维数组时)。
The composite literal syntax permits the omission of redundant type information (when specifying two-dimensional arrays, for example). release.2010-10-27.
为什么我可以用尺寸大小可变的但不是新的声明一个二维数组?
Why can I declare a 2d array with both dimensions sized variable but not new one?
例如,性质用一维数组赋值,2元谓词用2维数组赋值,等等。
For instance, properties are assigned by one-dimensional arrays, predicates of arity 2 by two-dimensional arrays, and so on.
这个结果是一组数组,它紧贴服务器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.
描述如何通过值传递多维整数数组以及如何通过引用传递一维数组。
Describes how to pass multidimensional arrays of integers by value and how to pass one-dimensional arrays by reference.
图7.14中表示的是利用自动索引创建有随机数组成的二维数组。
The illustration in Figure 7.14 shows two For Loops creating a 2d array of random Numbers using auto-indexing.
关系数据是“平面的”,即它是以具有行与列的二维数组的形式组织的。
Relational data is "flat" - that is, organized in the form of a two - dimensional array of rows and columns.
对于参数数组,请提供元素类型与参数数组的元素类型相同的一维数组。
For the parameter array, supply a one-dimensional array with the same element type as the parameter array's element type.
使用线形图的一维数组,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.
对于典型“稳定婚姻问题”,借助矩阵(二维数组)给出了一种简明的实现方法。
Regarding the typical"the stable marriage problem", we give one brief realization method with the help of the matrix(two-dimensional array).
增加一个数组的维数时,该数组所需的总存储空间会急剧增大,因此应慎用多维数组。
When you add dimensions to an array, the total storage needed by the array increases considerably, so use multidimensional arrays with care.
在本节中,您将会学到如何为一个大小为[10][20][30]的三维数组定义属性。
In this section, you will learn how to make an attribute a three-dimensional array of size [10] [20] [30].
可以声明一个具有31个元素的一维数组,每个元素对应于月中的每一天,如下例所示。
You might declare a one-dimensional array with 31 elements, one for each day of the month, as the following example shows.
PSO算法采用二维数组编码方法,构造了相应的适应度函数,编制相应的计算机求解程序。
The 2-D array coding method is applied and the corresponding fitness function in PSO is constructed for solving the model. The program for calculation by means of computer is developed.
这里列出的一维数组说明了数组的结构,注意第一个元素的索引是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.
然后,值(字符串或数值)存储到一个二维数组中,读取完整个工作表之后,该数组被返回给调用例程。
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.
JIFEX软件系统的数据管理系统—JINEGS系统在内存中动态分配的一维数组来进行数据管理。
In JIFEX software system, the data is managed by the JINEGS system in which an array is dynamic allocated in main memory.
给出了二维数组的体差不等式测试算法,并证明二维数组的体差不等式测试算法具有多项式时间复杂度。
This paper presents a new dependence difference inequality test algorithm for two-dimensional arrays, and proves that the time complexity of the algorithm is polynomial.
高级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.
虽然二维数组与线性代数中的矩阵类似,但是对它们的操作(比如乘)与线性代数中的操作(比如矩阵乘)是完全不同的。
Even though two-dimensional arrays are similar to matrices from linear algebra, operations (such as multiply) have nothing to do with the operations in linear algebra (such as matrix multiplication).
有时候你需要拼接几个一维数组,而不是要组建二维数组,这种情况下,你需要点击函数,在菜单中选择连接输入端的类型。
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.
应用推荐