操纵列表的有两类函数:构造函数和选择函数。
Two types of functions manipulate lists: constructors and selectors.
CwMtx没有内置的随机数生成器,也没有用随机元素填充矩阵的类函数。
CwMtx has no built-in random number generator, and there is no class function that fills a matrix with random elements.
这个示例使用的 C++源代码包含一个非类函数、类的一个私有成员函数和一个公共成员函数。
This example shows the C++ source code that contains a non-class function, a Private member function of a class, and a Public member function of a class.
注意:当索引表达式被用于关系表达式,或作为某个操作符类函数的参数时,查询优化器将考虑使用函数索引。
Note: the query optimizer considers using a functional index when the index expression is used in a relational expression or as an argument to one of the operator class functions.
如果基类成员与派生类成员接受的实参不同,就没有办法通过基类类型的引用或指针调用派生类函数。
If the base member took different arguments than the derived-class member, there would be no way to call the derived function from a reference or pointer to the base type.
in函数运行时,会调用传递给它的类中的几个函数。
As the in function runs, it calls several functions in the class passed to it.
径向基函数神经网络是其中的一类非常有效的前馈网络,具有收敛速度快、逼近精度高、可避免局部最小等优越性。
Radial Basis Function Neural network is an effective feedforward network. It has high convergence rate and high approaching precision, and can avoid local optima.
将结构化的过程——结果方法引入公益类科研机构绩效评价,建立了基于知识生产函数的测度体系。
The article applied the method of process-result model and established a metric system based on knowledge production function.
函数式编程的核心是函数,就像面向对象语言的主要抽象方法是类。
At the core of functional programming is the function, just as classes are the primary abstraction in object-oriented languages.
简单地说,方法是在类中声明的函数。
PHP有一个有用的反射API,它允许我们对类、接口、函数和方法执行反向工程。
PHP has a useful reflection API, which allows us to reverse-engineer classes, interfaces, functions, and methods.
当然,PHP要解决的冲突的名称并不是人名,而是类、函数和常量的名称。
Of course, the names on which PHP resolves collision are not the names of people but rather the names of classes, functions, and constants.
如果源代码文件中有名称空间声明,那么对类、函数和常量的所有引用都使用名称空间语义。
If a source file has a namespace declaration, then all references to classes, functions, and constants use the namespace semantics.
如果已经编写了所需的代码或逻辑,那么您还可以从script库中引用其他类、函数和sub。
You can also reference other classes, functions, and subs from script libraries if the code or logic you require has already been written.
您可以在类、函数或命名空间范围中使用Boost静态断言;还可以与模板一起使用它们。
You can use Boost static assertions in a class, function, or namespace scope; you can also use them with templates.
它可以定义类或函数,但不是必须的。
Outline视图显示导入的库、类以及函数。
这些库包含了一系列的类和函数,可以在编程中使用。
The C++ Standard Library specifies a set of classes and functions that facilitate common programming tasks.
实例是将类对象作为函数调用而创建的。
Instances are created by calling the class object as a function.
注意,在访问类成员函数的参数时,实际的参数编号从2而不是从1 开始。
Note that when you try to access an argument of a class member function the actual argument count starts from 2 instead of 1.
最后,我们扩展setters以调用基类的函数,从而传递属性变更通知。
Last, we extend the setters to call into the functions of the base class to propagate notification of property changes.
对于这种只有少量类和函数的应用程序,使用即时绑定还是目标绑定没有太大区别。
For this application, with just a small number of classes and functions, it does not make too much difference whether you use just-in-time or targeted binding.
如果带静态(或全局)变量的迭代器类或函数取决于多个数据状态,则出现两个问题。
If an iterator class or a function with static (or global) variables depends on multiple data states, two problems come up.
惟一的名称避免了命名冲突,当两个类或函数使用相同的名称时就会发生这种情况。
The unique names allow you to avoid naming collisions, which occur when two classes or functions of the same name exist.
在理想情况下,头文件应该包含所有类定义、成员函数和变量。
This header file should ideally contain all the class definitions, member functions, and variables.
这种说明还可以出现在源代码中模块、类或函数的docstring 中
Such illustrations can also occur right inside of source code, in the docstring of a module, class, or function
它与类中的函数名可能不同,但在该例中是相同的。
It could be different than the function name in the class, but in this case they are the same.
为特定的函数或类生成测试。
可以使用很多种方法调用带有名称空间的函数、类或常量。
There are different options for calling a namespaced function, class, or constant.
例如,它将bug目标锁定为方法、函数、类或包含复杂逻辑的模块。
For example, methods, functions, a class, or a module of complex logic might be identified.
应用推荐