The take function is used to take a certain number (in this case, 10) of elements from a sequence.
take函数用来从一个序列中取得一定数量(在本例中是10)的元素。
The function of a well-designed state intervention is not to deprive people of liberty but to build social capacity and infrastructure that helps people take responsibility for their wellbeing.
规划完善的国家干预不应剥夺人的自由,而应建立起社会能力和基础设施,以帮助人们对自己的幸福负责。
Literally, return the control from this function, and take the value of the next expression, and return that as the value of the whole computation.
正如字面意义上说的,从这个函数返回,然后取得下一个表达式的值,并把这个值作为整个计算的结果返回。
Create a reverse function - one that will take a timestamp for a certain locale and return the equivalent UTC timestamp.
创建一个反转函数——该函数将以某个地区的时间戳作为参数,并返回对应的UTC时间戳。
Take a look at the entire function reference, pick a category and have a browse - you're bound to find something new.
看一下整个函数参考,选择一个类别,浏览一下,您一定会有所发现。
The function will take whatever actions are needed, and then return the name of the next state.
这个函数将执行所需的操作,然后返回下一个状态的名称。
Layering and compositionality imply that the transition from providing some service or function in-house to sourcing the service or function can take place between any of the model's layers.
从这样的分层和组合性可以知道,在模型的任何层之间,都可能从场地内服务或功能供应转换到服务和功能外包。
Both divisions will avoid calling the division function and the unsigned division will take fewer instructions than the signed division.
这两个除法都会避免调用除法函数,另外,无符号的除法要比有符号的除法使用更少的指令。
In this article, we'll leave their function aside and take a look at chairs purely from an artistic point of view.
在本文中,我们暂且把功能置于一旁,纯粹从艺术的视角来欣赏下椅子。
It is the same thing as, in one variable calculus, when you take the anti-derivative of a function it is only defined up to adding the constant.
相当于在一元微积分中,取一个函数的不定积分,仅仅需要在结果后加一个常数。
Contrast that with a function, which doesn't take any selected elements as arguments.
相比之下,函数不使用任何选定元素作为参数。
It tells you, if you take the line integral of the gradient of a function, what you get back is the function.
它说,如果你对一个函数的梯度做线积分,就能得到原函数。
Since it has been expressively stipulated in the<<Common Law>>on the Board of Supervisors, then the company should take up strengthening the supervision function of the Board of Supervisors.
既然<<普通法>>已经对监事会有明文规定,公司就应该积极加强监事会的监管职能.
So, that's probability density, but in terms of thinking about it in terms of actual solutions to the wave function, let's take a little bit of a step back here.
这就是概率密度,但作为,把它当成是,波函数的解,让我们先倒回来一点。
Take a look at the function onview inside the file FlexWrapper.js to see how the tag is constructed.
可以通过查看Flex Wrapper . js文件中的onview函数,了解这个标记是如何构造的。
Take, for example, the read function call, which allows some number of bytes to be read from a given file descriptor.
例如,read函数调用可以从指定的文件描述符读取一定数量的字节。
XPath also has a sum function, which will take the contents of the matching nodes, convert them to numeric values, and return the sum of those values.
XPath也有一个sum函数,它以匹配节点的内容作为参数,将这些参数转换成数值,并返回这些值的和。
This important capability lets many Haskell functions take a function as a parameter.
这项重要的功能让众多的Haskell函数可以接受函数作为参数。
What I showed you at the beginning, and then erased, basically justifies how to take the derivative of a reciprocal function.
最开始我讲过了,如何对倒数函数求导。
Let form follow function, rather than trying to take a particular design and make it "work".
让形式跟从功能,而不是设计。
These take a function as an input parameter and return an instance of OnClickListener, the interface defined in the Android SDK.
这两个函数以一个函数作为输入参数,并返回OnClickListener的一个实例,OnClickListener是Android SDK中定义的一个接口。
To call a function, you push first the function, then the arguments it will take (in order).
要调用一个函数,首先要push该函数,然后push该函数?带的参数(按顺序)。
Using the XPath function replace, I take the original URL and replace the.xml extension with.html to create the new file name.
使用xpath函数replace,我获得原来的URL并用. html扩展名代替. xml作为新的文件名。
The function can take input parameters, which are supplied in parentheses that follow the function name (in this case, myFunction).
函数可接受输入参数,输入参数在紧接着函数名(在本例中为myFunction)之后的圆括号内提供。
It can also take another optional callback function to handle errors, but we have left that out to keep this example simple.
也可以利用另一个可选callback函数来处理错误,但是为了保持示例的简洁,我们放弃了使用它。
The function will take in the BIGINT value of the global position of the row posplus1 and translate this, given the pattern pos of the parent into the pattern for the next row.
该函数以行posplus1的全局位置的bigint值为参数并进行转换,同时使父行的pos模式成为下一行的模式。
The above example is a good use case for closures: It USES one of the 18 standard PHP array functions that take a function as a parameter (such as array_walk, usort, and array_app).
以上示例是closures很好的使用例子:它采用18个标准php阵列函数之一,它将函数作为参数(比如array_walk、usort、和array_app)。
For example, for functions that take optional arguments, the wrap_*() function extracts the optional argument.
例如,对于使用可选参数的函数,wrap_*()函数将提取可选的参数。
Ext.Direct calls take a function as an argument, itself accepting two arguments: provider and response.
Direct调用用一个函数作为参数,它本身接受两个参数:provider和response。
You can use the ml_inv function to take the inverse of the in matrix and assign it to the out matrix.
您可以使用 ml_inv函数对in矩阵进行求逆运算,并将结果赋予out 矩阵。
应用推荐