defined functions
定义 函数 defined function
定义 函数
The user defined functions are functions created with the def keyword. For the above defined function max(), following is the function declaration-. 使用静态static关键字定义的函数 称之为静态函数。 A function's definition prefixed with static keyword is called as a static function.The user specified functions are functions developed with the def keyword. Funcname is the name of the function being defined . Combinations with other parts of speech
Name is the name of the function to be defined . 显式定义的函数 具有更高的效率,例如functionmyFunc{…};myObj.eventName=myFunc;。 Explicitly defined functions are more efficient, such as function myFunc{…}; my Obj. eventName= myFunc; For the above defined function max(), the function declaration is as follows-. AsServer()调用只是把所有已定义的函数 注册成SOAP方法,并在指定端口启动HTTP服务器。 AsServer() call simply registers all the defined functions as SOAP methods and starts up the HTTP server on the specified port. 局部定义的函数 也可以访问它们定义所在作用域的名称绑定。 Locally defined functions also have access to the name bindings in the scope in which they are defined. . 随后,update的名称解析到这个新定义的函数 上,它是向iter_improve传入的参数。 Subsequently, the name update resolves to this newly defined function , which is passed as an argument to iter_improve. 我们还可以创建和使用我们自己的函数,称为用户定义的函数 。 We can also create and use our own functions referred as user defined functions . 因为它以这种方式“封装”信息,所以局部定义的函数 通常被称为闭包。 Because they enclose information in this way, locally defined functions are often called closures. 因为它以这种方式封装信息,局部定义的函数 通常叫做闭包。 Because they"enclose" information in this way, locally defined functions are often called closures. 在这里,另一种重点是,展示你意识到如何在不重写可能已经定义的函数 。 Another important point here is to demonstrate that you are aware about how to not override possible already defined functions . 换句话说,闭包中定义的函数 会“记住”它被创建时的环境。 In other words, the function defined in the closure‘remembers' the environment in which it was created. 换句话说,闭包中定义的函数 会“记住”它被创建时的环境。 In other words, the functions defined in the closure'remember' the environment in which they were created. 由labels表达式所定义的 局部函数 ,可以被其他任何在此定义的函数 引用,包括自己。 Local functions defined by a labels expression can refer to any other functions defined there, including themselves. 当你想使用在导入的模块中定义的函数 的时候,你需要包含模块的名称。 When you want to use functions defined in imported modules, you need to include the module name. 在这种情况下,你不会使用到JavaScript定义的 任何函数 。 In this case, you would not have any function defined using JavaScript. 在大多数情况下,它表示空间中的对象或空间上定义的函数 的一组可能的对称性。 It represents in most cases a possible set of symmetries of objects/figures in the space, or functions defined on the space. 导入脚本后,将执行所有可执行语句并启用已定义的函数 。 Upon importing, all the executable statements will run, and the functions defined will be available. 另一方面,Function构造函数定义的函数 不继承任何全局作用域以外的作用域(那些所有函数都继承的)。 On the other hand, a function defined by a Function constructor does not inherit any scope other than the global scope(which all functions inherit). 如果你预期自己所定义的函数 将会被部分应用,不得不借助多参数列表:. If you anticipate that the function you're defining will be partially applied, you define it with multiple argument lists:. 许多为Region定义的函数 都可以借由这两个基础构建模块简短地描述出来。 Many of the functions defined on regions can be described succinctly using these two basic building blocks. 我们还将打印一条简单的消息,以表明文件定义的函数 和Python中的其他函数均可正常调用。 We will also print a simple message, to show that both invocations of functions defined at the file and other functions from Python work well. 在数学和计算机科学中,递归是一种定义函数的方法,其中所定义的函数 在其自己的定义内应用。 In mathematics, recursion is a method of defining functions in which the function being defined is applied within its own definition. 在python中,匿名函数是在没有名称的情况下定义的函数 。 In Python, anonymous function is a function that is defined without a name. 在C++中,在类、结构或联合内部定义的 成员函数 也是内联函数。 In C++, member functions that are defined inside a class, struct, or union, are also inline functions. .
Display more examples
Results: 29 ,
Time: 0.0205