定义一个函数 - 翻译成英语

define a function
定义 一 个 函数

在 中文 中使用 定义一个函数 的示例及其翻译为 英语

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
所以定义一个函数,将数值的数组转换为标准单位是很有用的。
So it is useful to define a function that converts an array of numbers to standard units.
这意味着我们可以在使用函数之前使用'extern'关键字定义一个函数(这对于相互递归的函数也很有用)。
This means that you can use the extern keyword to define a function before you use it(this is also useful for mutually recursive functions)..
定义一个函数的目的是,给一个计算过程命名,它可能会使用多次。
The purpose of defining a function is to give a name to a computational process that may be applied multiple times.
作为另一个例子,假设我们定义一个函数来收集一个文本中给定长度的所有标识符。
As another example, suppose we are defining a function to collect all tokens of a text having a given length.
为了解决这个问题,Java程序员一般会想到要定义一个函数来给出第n个Fibonacci数。
To solve this problem, a Java programmer might be tempted to define a function that gives you the nth Fibonacci number.
定义一个函数percent(word,text),计算一个给定的词在文本中出现的频率,结果以百分比表示。
Define a function percent(word, text) that calculates how often a given word occurs in a text, and expresses the result as a percentage.
定义一个函数hedge(text),处理一个文本和产生一个新的版本在每三个词之间插入一个词like。
Define a function hedge(text) that processes a text and produces a new version with the word'like' between every third word.
定义一个函数hedge(text),处理一个文本和产生一个新的版本在每三个词之间插入一个词like。
Define a function hedge(text) which processes a text and produces a new version with the word'like' between every third word.
在JavaScript中,可以根据条件来定义一个函数
In JavaScript, a function can be defined based on a condition.
您所做的就是为每个方法定义一个函数
All you do is define a function for each method.
定义一个函数,令它做10次矩阵乘法。
First, define the run function so that it performs 10 matrix multiplications.
Def,这个关键字通知python:我在定义一个函数
Def indicates to Python that we're defining a function.
Def,这个关键字通知python:我在定义一个函数
And def stands for-- it tells Python I'm going to define a function.
原来的问题归根结底是要定义一个函数来判断一个点是否在范围内。
The original problem boiled down to defining a function that determined when a point was in range or not.
例如,t()是R里面的转置函数,但是用户可能会定义一个函数叫t。
For example, is the transpose function in R, but users might define their own function t() named t.
例如,t()是R里面的转置函数,但是用户可能会定义一个函数叫t。
For example, t() is the transpose function in R, but users might define their own function.
首先,我们定义一个函数,它将从DataFrame中获取每一个元素作为自己的参数。
First, we define a Python function that takes an element from the DataFrame as its parameter.
那么先来看一个一阶函数的例子,定义一个函数,它会将数组中4个字母的单词给过滤掉:.
Let's look at an example of a first-order function which filters all the 4-letter words from a list of words.
当我定义这样一个函数:.
Let's define such a function.
定义一个函数内部的函数.
Functions defined inside of a class.
结果: 670, 时间: 0.0257

单词翻译

顶级字典查询

中文 - 英语