+ 2

Asking suggestions for "Class Polynomial" code

Hello programming fellows! I made a code days ago, in c++, that creates Polynomial class, whose attributes are an array of its coefficients and an integer representing the mentioned array's size. Each coefficient multiplies with x ^ (index where this coeff. is placed in array). The methods of this class parse those coeffs, give the function's derivative, give the function's integral in specified interval, and the root closest to initial guess by means of Newton-Raphson's method. Is the implementation ok?

26th Nov 2016, 10:27 PM
Adriano Armani
Adriano Armani - avatar
4 ответов
+ 2
it is good I liked it the code is good
27th Nov 2016, 9:25 AM
Sandeep Chatterjee
26th Nov 2016, 10:30 PM
Adriano Armani
Adriano Armani - avatar
+ 1
Thank you, Sandeep Chatterjee!
27th Nov 2016, 9:44 AM
Adriano Armani
Adriano Armani - avatar
+ 1
Which ones, Sandeep?
27th Nov 2016, 9:52 AM
Adriano Armani
Adriano Armani - avatar