-
Polynomial
Develop class Polynomial. The internal representation of a Polynomial is an array of terms. Each term contains a coefficient and an exponent. The term
2x4
has the coefficient 2 and the exponent 4. Develop a complete class containing proper constructor and destructor functions as well as set and get functions. The class should also provide the following overloaded operator capabilities:
Overload the addition operator (+) to add two Polynomials.
Overload the subtraction operator (-) to subtract two Polynomials.
Overload the assignment operator to assign one Polynomial to another.
Overload the multiplication operator (*) to multiply two Polynomials.
Overload the addition assignment operator (+=), subtraction assignment operator (-=), and multiplication assignment operator (*=).
- 2013-05-05 21:59:33下载
- 积分:1
-
算法竞赛入门经典 第2版
本书是《算法艺术与信息学竞赛》的学习指导。所谓学习指导,是告诉读者学什 么,如何学。算法包罗万象,很难在一本书中的篇幅覆盖很多内容的通知对每个知识 点进行细致讲解,因此本书更多的是作为一本导引、工具书、手册或者学习大纲,给 读者以宏观上的学习指导(This book is a study guide for the Competition of Algorithmic Arts and Informatics. The so-called learning guidance is to tell readers what to learn and how to learn. Algorithms are all-inclusive, and it is difficult to explain each knowledge point in detail with a notice covering a lot of content in a book. Therefore, this book is more used as a guide, a reference book, a handbook or a learning outline to give readers macro-learning guidance.)
- 2020-06-21 19:20:01下载
- 积分:1
-
Figure-topological-sort
说明: 拓扑排序
对一个 有向无环图 G进行拓扑排序,是将G中所有顶点排成一个线性序列,使得图中任
意一对顶点u和v,若u,v ∈E,则u在线性序列中出现在v之前。
通常,这样的线性序列称为满足拓扑次序的序列,简称 拓扑序列 。
注意:
①若将图中顶点按拓扑次序排成一行,则图中所有的有向边均是从左指向右的。
②若图中存在有向环,则不可能使顶点满足拓扑次序。
③一个DAG的拓扑序列通常表示某种方案切实可行。 (Topological sort
In a directed acyclic graph G topological sort, is all vertices will G formed a linear sequence, make diagram post
Meaning a pair of vertex u and v, if u, v ∈ E, then u in linear sequence in which they appear in v before.
Usually, such linear sequence sequence of topological order called meet, abbreviation topology sequence.
Note:
(1) if the diagram according to the topology order line vertices, then figure all from left to right edge are pointing.
(2) if the figure to exist in the ring, is impossible to have the vertex meet topological sequence.
(3) a DAG topological sequence usually expressed some scheme is feasible.
)
- 2011-03-22 17:19:14下载
- 积分:1
-
eerrr
的饿额22221231321(hungry for the 22221231321333 333 333 3333 3333333333333333333333333333333333333333 )
- 2006-07-25 01:02:27下载
- 积分:1
-
APF
基于2407的有源滤波程序,可以看一看,很有效(2407 apf)
- 2011-05-18 15:05:00下载
- 积分:1
-
【68】W25Q16存储芯片数据读写实验
说明: 【68】W25Q16存储芯片数据读写实验(思修电子)([68] W25Q16 Memory Chip Data Reading and Writing Experiment (Reflective Electronics))
- 2019-01-07 13:15:37下载
- 积分:1
-
学习如何使用编程模型对话框
学会使用模式对话框编程-learning how to use the programming model dialog
- 2022-04-27 10:54:40下载
- 积分:1
-
projectile
说明: 本程序使用切锥法和激波膨胀波法对0°攻角下典型弹丸(尖锥头部-圆柱段-船尾)的表面压力分布进行对比计算。(In this program, the surface pressure distribution of a typical projectile (with tip, cylinder and stern) at 0 degree of attack angle is compared using tangent-cone method and shock expansion method.)
- 2020-12-05 20:09:24下载
- 积分:1
-
智能车信标程序代码
智能车信标程序
智能车信标程序
智能车信标程序
智能车信标程序
智能车信标程序
- 2022-08-09 21:25:06下载
- 积分:1
-
Network
对于给定某一线性时不变网络(不含受控源),根据网络属性及结构,通过编程实现自动生成其关联矩阵A和一个树。(Given a linear time-invariant network (excluding controlled source), according to the network properties and structure of the automatically generated by programming its associated matrix A and a tree.)
- 2013-11-03 18:32:12下载
- 积分:1