我们把没有给出具体解析式的函数称为抽象函数。由于这类问题可以全面考查学生对函数概念和性质的理解,同时抽象函数问题又将函数的定义域,值域,单调性,奇偶性,周期性和图象集于一身,所以在高考中不断出现;如2002年上海高考卷12题,2004年江苏高考卷22题,2004年浙江高考卷12题等。
定义符号函数 如果只是定义一个抽象函数(abstract function)而不必过问其实际形式, 如f(x),那么只要fx=sym('f(x)'), 即可, 这个特性在傅立叶变换及拉普拉斯变换, z 变换中很有用.
基于284个网页-相关网页
为了实现这一点,我在Price内加入一个抽象函数(abstract method),并在其所有subclasses中加上对应的具体函数(concrete method):
基于44个网页-相关网页
特别是,通过表示式不变量(representation invariant)和抽象函数(abstraction function)帮助代码阅读者读懂并理解代码。表示式不变量和抽象函数也有可能会扩展到其他方面,例如,在调试和测试方面。
基于20个网页-相关网页
... a ormal function 异常功能 a tract function 抽象函数 abelian function 阿贝耳函数 ...
基于2个网页-相关网页
·2,447,543篇论文数据,部分数据来源于NoteExpress
维持代码的正确性的抽象函数与关键常量。
The abstraction function and key invariants for the correctness of the code.
可以用另一个便利函数抽象这个过程,如清单5所示。
You can abstract this out with yet another convenience function, shown in Listing 5.
在我们当前的树访问者函数中可以轻松抽象这些函数,并支持预构建和自定义的迭代策略。
It is easy to abstract these functions in our current tree-visitor function and allow for pre-built and custom iteration strategies.
What is this? This is a wonderful piece of abstraction. It is saying, you don't need to know squat about what's inside the body of this function. You don't have to worry about the parameter names, because they're going to be preserved, you don't need to worry about how I'm doing it, this tells you how you can use this, in order to use it correctly. Of course, I can then close it off, and off we go.
但是这能告诉你一些信息,这是什么?,这是一段完美的抽象,它的意思是你不需要知道,这个函数的内部构造,你不必担心参数是否重名,因为它们已经被预存了,你不需要担心我如何使用它,它告诉了你你该如何操作,从而正确的使用它,当然我也可以把它关掉。
or at least one mechanism, I shouldn't say -- the only one-- one mechanism for doing that is going to be to add functions is that it's going to provide both of these things, so the first thing it's going to do is, it's going to let us break up into modules.
我们处理这些的机制--至少一种机制,我不会说只有一种,一种机制是在我们的语言中增加函数,函数的关键是它要提供分解和抽象,所以第一件要做的事,就是将代码分解为模块。
应用推荐