Laguerre polynomials
Loading...
Searching...
No Matches
BaseSolver< T > Class Template Referenceabstract

#include <BaseSolver.h>

Inheritance diagram for BaseSolver< T >:
Laguerre::ModifiedLaguerre13< T > Laguerre::ModifiedLaguerre18< T > Laguerre::Original< T >

Public Member Functions

virtual void operator() (std::vector< T > &coeff, std::vector< std::complex< T > > &roots, std::vector< int > &conv, int itmax)=0
 Find the roots of a polynomial.
 

Member Function Documentation

◆ operator()()

template<typename T >
virtual void BaseSolver< T >::operator() ( std::vector< T > & coeff,
std::vector< std::complex< T > > & roots,
std::vector< int > & conv,
int itmax )
pure virtual

Find the roots of a polynomial.

Parameters
coeffPolynomials coefficients.
rootsVector to store the roots.
convVector to store convergence status of each root.
itmaxMaximum number of iterations.

Implemented in Laguerre::ModifiedLaguerre18< T >, Laguerre::Original< T >, and Laguerre::ModifiedLaguerre13< T >.


The documentation for this class was generated from the following file: