Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

vnl_cpoly_roots Class Reference

#include <vnl_cpoly_roots.h>

Collaboration diagram for vnl_cpoly_roots:

Collaboration graph
[legend]
List of all members.

Public Methods

 vnl_cpoly_roots (vnl_vector< vcl_complex< double > > const &a)
 vnl_cpoly_roots (vnl_vector< double > const &a_real, vnl_vector< double > const &a_imag)

Public Attributes

vnl_vector< vcl_complex< double > > solns

Detailed Description

Find all the roots of a univariate polynomial with complex coefficients. Class to find all the roots of a univariate polynomial f with complex coefficients. Currently works by computing the eigenvalues of the companion matrix of f.

The input vector a of coefficients are given to the constructor. The polynomial is f = t^N + a[0] t^{N-1} + ... + a[N-1] The roots can then be found in the 'solns' member.

Definition at line 30 of file vnl_cpoly_roots.h.


Constructor & Destructor Documentation

vnl_cpoly_roots::vnl_cpoly_roots vnl_vector< vcl_complex< double > > const &    a
 

vnl_cpoly_roots::vnl_cpoly_roots vnl_vector< double > const &    a_real,
vnl_vector< double > const &    a_imag
 


Member Data Documentation

vnl_vector<vcl_complex<double> > vnl_cpoly_roots::solns
 

Definition at line 37 of file vnl_cpoly_roots.h.


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:13:26 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000