Click here to Skip to main content
15,886,519 members
Articles / Programming Languages / Visual C++ 10.0

Polynomial Equation Solver

Rate me:
Please Sign up or sign in to vote.
4.96/5 (46 votes)
29 Mar 2013CPOL17 min read 169.7K   12.9K   103  
Solves 1st, 2nd, 3rd and 4th degree polynominal by explicid fomulas for real coefficients and any degree by the numerical Jenkins-Traub algorithm with real and complex coefficients.
<?xml version="1.0"?>
<doc>
<assembly>
<name>
WpfPolynomialRootFinder
</name>
</assembly>
<members>
<member name="M:WpfPolynomialRootFinder.Application.InitializeComponent">
	<summary>
InitializeComponent
</summary>
</member><member name="M:WpfPolynomialRootFinder.Application.Main">
	<summary>
Application Entry Point.
</summary>
</member><member name="T:WpfPolynomialRootFinder.Application">
	<summary>
Application
</summary>
</member><member name="M:WpfPolynomialRootFinder.MainWindow.InitializeComponent">
	<summary>
InitializeComponent
</summary>
</member><member name="T:WpfPolynomialRootFinder.MainWindow">
	<summary>
MainWindow
</summary>
</member><member name="M:WpfPolynomialRootFinder.PolynomialRootFinder.PolynomialRootFiner(System.Double[])">
	<summary>
 The Jenkins–Traub algorithm for polynomial zeros translated into pure VB.NET. It is a translation of the C++ algorithm, which in turn is a translation of the FORTRAN code by Jenkins. See Wikipedia for referances: http://en.wikipedia.org/wiki/Jenkins%E2%80%93Traub_algorithm 
 </summary>
	<param name="Input">The coefficients for the polynomial starting with the highest degree and ends on the constant, missing degree must be implemented as a 0.</param>
	<returns>All the real and complex roots that are found is returned in a list of complex numbers.</returns>
	<remarks>The maximum alloed degree polynomial for this implementation is set to 100. It can only take real coefficients.</remarks>
</member><member name="P:WpfPolynomialRootFinder.My.Resources.Resources.ResourceManager">
	<summary>
  Returns the cached ResourceManager instance used by this class.
</summary>
</member><member name="P:WpfPolynomialRootFinder.My.Resources.Resources.Culture">
	<summary>
  Overrides the current thread's CurrentUICulture property for all
  resource lookups using this strongly typed resource class.
</summary>
</member><member name="T:WpfPolynomialRootFinder.My.Resources.Resources">
	<summary>
  A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member><member name="P:WpfPolynomialRootFinder.My.MyWpfExtension.Application">
	<summary>
 Returns the application object for the running application
 </summary>
</member><member name="P:WpfPolynomialRootFinder.My.MyWpfExtension.Computer">
	<summary>
 Returns information about the host computer.
 </summary>
</member><member name="P:WpfPolynomialRootFinder.My.MyWpfExtension.User">
	<summary>
 Returns information for the current user.  If you wish to run the application with the current 
 Windows user credentials, call My.User.InitializeWithWindowsUser().
 </summary>
</member><member name="P:WpfPolynomialRootFinder.My.MyWpfExtension.Log">
	<summary>
 Returns the application log. The listeners can be configured by the application's configuration file.
 </summary>
</member><member name="P:WpfPolynomialRootFinder.My.MyWpfExtension.Windows">
	<summary>
 Returns the collection of Windows defined in the project.
 </summary>
</member><member name="T:WpfPolynomialRootFinder.My.MyWpfExtension">
	<summary>
 Module used to define the properties that are available in the My Namespace for WPF
 </summary>
	<remarks></remarks>
</member>
</members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Chief Technology Officer
Norway Norway
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions