因子是不是一个数字列表?
一种方法是,简单地生成流中的数字列表并返回它。
One approach is to simply produce and return a list of Numbers in the stream. This might look like.
我只是解释一下,这种把数字列表相乘的方法表示的什么意思。
I just need to explain to you what this way of multiplying tables of Numbers means.
相比一个庞大的位置和数字列表,我将结果限制在那些7天内出现10次的区域。
Rather than a giant list of locations and their Numbers, I'd like to limit my results to any location with 10 or more earthquakes in any seven-day period.
从此操作返回的是一组满足过滤标准的数字列表,我将其放入一个集合来删除重复值。
The return from this operation is a list of numbers that meet my filter criteria, which I coerce into a set to remove duplicates.
输入一个数字列表,我们要把所有的0元后置,并要保持非0元的原顺序。
Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.
有了通过猜测获得的字母和数字列表后,就可以应用标准文本处理工具和信息查找来提取有用信息。
Once we have this list of best-guess letters and Numbers, we can apply standard text-processing tools and informational lookups to extract useful information.
就像任何其他机器一样,软件应用程序期望获得某些“原料”,例如数字列表、XML模式中封装的数据或者协议。
Just like any other machine, a software application expects certain raw materials, such as a list of Numbers, data encapsulated in an XML schema, or a protocol.
factors方法会返回一个数字列表,因此我一次处理一个数字,将每个元素加入和中,该和数就是reduce的返回值。
The factors method returns a list of Numbers, so I'm processing the list one at a time, adding each element to the accumulating sum, which is the return value of reduce.
注意,列表或字典中的值不一定必须是相同的类型;可以混合使用字符串、数字,甚至是嵌套的列表或字典,如果需要的话。
Note that the values in a list or dictionary don't have to be all of the same type; you can mix strings, Numbers, and even nested lists and dictionaries if you wish.
解析每个提要来获得提要标题,然后像以前一样输出可用提要列表,并等待输入数字。
You parse each feed to get the title of the feed and then, as before, output a list of the available feeds and expect an input number.
优先级列表(实际上是一个指示优先级与选择器的数字)建立了加载处理每个文件数据块的顺序。
A list of priorities, basically a number indicating the priority and a selector, establish the order in which each file chunk is going to be processed by the load.
这些字段的值可以是字符串、布尔值、数字、日期、顺序列表或关联映射。
Those field values may be strings, Boolean values, Numbers, dates, ordered lists, or associative maps.
除了储存字符串或数字之外,列表还能储存其他列表。
In addition to storing strings or Numbers, a list can also store other lists.
在这种情况下看起来只用了1次-,我们可以从另一个角度看,合并这两个列表涉及到了,2个数字,1,2,就是这样。
Well, it looks like it took 1 in this case or it involves — we can put it another way, merging those two lists involved looking at two Numbers, 1, 2, and that's it.
现在,为了说明这种线性关系,我们可以用矩阵,矩阵就是一个含有数字的列表。
Now, in order to express this kind of linear relation, we can use matrices. A matrix is just a table with Numbers in it.
图中的数字对应以下列表中的相同步骤。
The Numbers in the diagram relate to the same steps within the list below.
如果元素有start属性,则以这个数字开始对列表项编号。
If the element has a start attribute, start numbering list items with that number.
例如,要让列表中的每个数字增加10,请输入。
For example, to increase every number in a list by 10, type.
如果已经制定了度量进展的计划(这个列表中的第二项),那么得到具体的数字应该不太困难。
If you came up with a plan for measuring progress (item 2 in this list), cranking out the actual Numbers shouldn't be too difficult.
在Vimscript中,列表是标量值的序列:字符串、数字、引用或它们之间的混合。
In Vimscript, a list is a sequence of scalar values: strings, Numbers, references, or any mixture thereof.
我提出:“我们将会为这门语言提供一系列的内置对象类型,比如dictionary列表,各种数字类型,以及字符串。”
I said: "We'll provide a bunch of built-in object types, such as dictionaries, lists, the various kinds of Numbers, and strings, to the language."
清单5中的代码首先将该因子列表收集到目标数字的平方根,将其保存在factor变量中。
The code in Listing 5 first gathers the list of factors up to the square root of the target number, saving it in the factors variable.
不同于amazon的SimpleDB,GAE数据存储支持一组丰富的数据类型,包括blobs(参见参考资料)和各式各样的数字、日期和列表。
Unlike Amazon's SimpleDB, the GAE datastore supports a rich set of data types including blobs (see Resources) and all manner of Numbers, dates, and lists.
现在我可以转到下一项最简单的任务:获得数字的因子列表。
Now I can move on to the next-simplest task: getting a list of factors of Numbers. The test appears in Listing 7.
比如,chihuahua是原来列表中的第五个单词,因此旁边的数字都是5。
In the example, chihuahua is the fifth word in the original word list, so it always has the number 5 beside it.
您指定的参数Value可以是自由格式的字符串、数字(包括特殊数值,如IP地址)、boolean值、变量或列表。
The value you specify with a parameter can be a free-form string, a number (including specialized numeric values, such as IP addresses), a Boolean value, a variable, or a list.
下面是一个Scheme 程序,演示了如何创建数字3、4和5的列表
Following is a program in Scheme that demonstrates how to create a list of the numbers 3, 4, and 5
下面是一个Scheme 程序,演示了如何创建数字3、4和5的列表
Following is a program in Scheme that demonstrates how to create a list of the numbers 3, 4, and 5
应用推荐