Click here to Skip to main content
15,893,923 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 170.6K   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>
WpfQuarticEquation
</name>
</assembly>
<members>
<member name="M:WpfQuarticEquation.Application.InitializeComponent">
	<summary>
InitializeComponent
</summary>
</member><member name="M:WpfQuarticEquation.Application.Main">
	<summary>
Application Entry Point.
</summary>
</member><member name="T:WpfQuarticEquation.Application">
	<summary>
Application
</summary>
</member><member name="M:WpfQuarticEquation.MainWindow.InitializeComponent">
	<summary>
InitializeComponent
</summary>
</member><member name="T:WpfQuarticEquation.MainWindow">
	<summary>
MainWindow
</summary>
</member><member name="P:WpfQuarticEquation.My.Resources.Resources.ResourceManager">
	<summary>
  Returns the cached ResourceManager instance used by this class.
</summary>
</member><member name="P:WpfQuarticEquation.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:WpfQuarticEquation.My.Resources.Resources">
	<summary>
  A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member><member name="P:WpfQuarticEquation.My.MyWpfExtension.Application">
	<summary>
 Returns the application object for the running application
 </summary>
</member><member name="P:WpfQuarticEquation.My.MyWpfExtension.Computer">
	<summary>
 Returns information about the host computer.
 </summary>
</member><member name="P:WpfQuarticEquation.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:WpfQuarticEquation.My.MyWpfExtension.Log">
	<summary>
 Returns the application log. The listeners can be configured by the application's configuration file.
 </summary>
</member><member name="P:WpfQuarticEquation.My.MyWpfExtension.Windows">
	<summary>
 Returns the collection of Windows defined in the project.
 </summary>
</member><member name="T:WpfQuarticEquation.My.MyWpfExtension">
	<summary>
 Module used to define the properties that are available in the My Namespace for WPF
 </summary>
	<remarks></remarks>
</member><member name="M:WpfQuarticEquation.MainWindow.PolynominalEquationSolver(System.Numerics.Complex,System.Numerics.Complex,System.Numerics.Complex,System.Numerics.Complex,System.Numerics.Complex)">
	<summary>
 Functions on the form Ax^4 + Bx^3 + Cx^2 + Dx + E = 0 is solved and returned in a list of complex numbers
 </summary>
	<param name="a"></param>
	<param name="b"></param>
	<param name="c"></param>
	<param name="d"></param>
	<param name="e"></param>
	<returns>List of complex numbers</returns>
	<remarks>Any of the parameters could be 0, and even imaginary. The equations are taken from the Wolfram site</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