-
Category : Other
Tags :
- Update : 2016-08-01
- Size : 56kb
- Downloaded :0次
- Author :Bing-H*******
- 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
This code constructs a complete C++ polynomial class whose main function is as follows:
1, You can declare a polynomial P by using Poly P
2, A polynomial P can be directly read the handwriting habits polynomial string by using P.read (string P_str)
3, You can add a new term of poly P by using P.newTerm (double Coef, int Exp) . If it contains similar items, merge it
4, You can assign the polynomial P directly by using P Q
5, You can output polynomial directly through cout << P with handwriting habits
6, A polynomial can be cleared by using P.clear ()
7, You can make calculating between polynomials directly by the using operators:+,-,*, /,
8, You can use gcd (Poly P, Poly Q) , lcm (Poly P, Poly Q) to calculate the greatest common divisor of two polynomials and least common multiple
9, You can calculate all kinds of information polynomial:
9.1, You can get the degree of P by using P.deg ()
9.2, You can get the main coeffic
Packet file list
(Preview for download)
example
.......\test.cpp
.......\PolyRoots.cpp
include
.......\matrix.h
.......\complex.h
.......\linklist.h
.......\poly.h
lib
...\libpoly.so
complex.cpp
matrix.cpp
poly.cpp
README.txt
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