登录
首页 » Visual C++ » poly-cacu

poly-cacu

于 2011-10-04 发布 文件大小:4KB
0 51
下载积分: 1 下载次数: 12

代码说明:

  本题要求实现对两个多项式的简单计算,实验要求完成一元多项式以及多元多项式的四则运算,计算后能将结果输出。 对于多项式,它由系数,未知元以及指数组成,考虑到它包括的属性较多,故链表是一种非常不错的选择。题目有两个关键点:第一、识别多项式每一项的系数与指数;第二、对结果能很好的合并同类项。 解题方法:链表实现,多项式指数系数识别,加减乘除等四则运算分别模拟笔算的过程。多元多项式增加指数数组,方法与一元相似。 (This question required to achieve a simple calculation of the two polynomials, the experimental requirements to complete a polynomial and multivariate polynomial arithmetic, calculation results can output. For the polynomial, which consists of coefficients, the unknown element and the index composition, given that it includes more properties, so the list is a very good choice. There are two key questions: First, identify the polynomial coefficients and each of the index Second, the results can be a good merger of similar items. Problem-solving approach: linked list, index polynomial coefficients identification, addition, subtraction and other arithmetic were simulated written calculation process. Increase the index of multiple polynomial array method and a dollar similar.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104271会员总数
  • 57今日下载