#include <poly.h>
Definition at line 360 of file poly.h.
Public Member Functions | |
virtual int | solve_c (int n, const std::complex< double > co[], std::complex< double > ro[])=0 |
Solve the n-th order polynomial. | |
virtual int | polish_c (int n, const std::complex< double > co[], std::complex< double > *ro)=0 |
Polish the roots. | |
const char * | type () |
Return a string denoting the type ("poly_complex"). |
virtual int solve_c | ( | int | n, | |
const std::complex< double > | co[], | |||
std::complex< double > | ro[] | |||
) | [pure virtual] |
Solve the n-th order polynomial.
The coefficients are stored in co[], with the leading coefficient as co[0] and the constant term as co[n]. The roots are returned in ro[0],...,ro[n-1].
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page