文件名称:poly-cacu
介绍说明--下载内容均来自于网络,请自行研究使用
本题要求实现对两个多项式的简单计算,实验要求完成一元多项式以及多元多项式的四则运算,计算后能将结果输出。
对于多项式,它由系数,未知元以及指数组成,考虑到它包括的属性较多,故链表是一种非常不错的选择。题目有两个关键点:第一、识别多项式每一项的系数与指数;第二、对结果能很好的合并同类项。
解题方法:链表实现,多项式指数系数识别,加减乘除等四则运算分别模拟笔算的过程。多元多项式增加指数数组,方法与一元相似。
-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.
对于多项式,它由系数,未知元以及指数组成,考虑到它包括的属性较多,故链表是一种非常不错的选择。题目有两个关键点:第一、识别多项式每一项的系数与指数;第二、对结果能很好的合并同类项。
解题方法:链表实现,多项式指数系数识别,加减乘除等四则运算分别模拟笔算的过程。多元多项式增加指数数组,方法与一元相似。
-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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
poly-cacu.cpp