-
Category : Data structs
Tags :
- Update : 2013-05-25
- Size : 467kb
- Downloaded :0次
- Author :酉****
- About :
Nobody
- PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
A d-order polynomial has the following form:
cdxd+ cd-1xd-1+ cd-2xd-2 ...+ c0
Which, cd ≠ 0, index are non-negative. In each one of the polynomial cixi.
Design template a C++ class Polynomial <T>, T given coefficient type, the request can be realized and computing polynomial representation. Polynomial class should include the private variable degree, and other variables needed. Requires the polynomial representation of the linear form of tables, such as (c0, c1, c2, ..., cd) represents the coefficient table. And to design and operate the following member functions:
(a) Polynomial (), to create the zero-order polynomial, the constructor
(b) Degree (), return to the order of the polynomial degree
(c) Input (), the input polynomial, exponential in the ascending order of the index and enter each one factor. For example, enter: 0 c0 1 c1 2 c2 ... d cd. Overloaded >> complete the entry.
(d) Output (), output of the polynomial, and input the same format. Overloaded <<
Packet file list
(Preview for download)
DOC
...\week03.docx
...\week03.pdf
...\理论课作业 P127.doc
EXE
...\week03.exe
SRC
...\week03.cpp
...\week03.h
Related instructions
- We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
- The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
- Please use Winrar for decompression tools
- If download fail, Try it againg or Feedback to us.
- If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
- Before downloading, you can inquire through the uploaded person information