Extreme Optimization™: Complexity made simple.

Numerical Components
for .NET

  • Home
  • •
  • Features
    • Math Library
    • Vector and Matrix Library
    • Statistics Library
    • Performance
    • Usability
  • •
  • Documentation
    • Introduction
    • Math Library User's Guide
    • Vector and Matrix Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • •
  • Support
    • Frequently Asked Questions
    • QuickStart Samples
    • Sample Applications
    • Downloads
  • •
  • Blog
  • •
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Contact us
Introduction
Expand Mathematics Library User's GuideMathematics Library User's Guide
Expand Vector and Matrix Library User's GuideVector and Matrix Library User's Guide
Expand Statistics Library User's GuideStatistics Library User's Guide
Expand ReferenceReference
  • Home
  • Documentation
  • Reference
  • Extreme.Mathematics.Curves Namespace
  • Polynomial Class
    • Members
    • Constructors
    • Methods
    • Operators
    • Properties
Collapse imageExpand ImageCopy imageCopyHover image
       




Polynomial Class

Members  See Also 
Represents a polynomial.

Namespace:  Extreme.Mathematics.Curves
Assembly:  Extreme.Numerics.Net20 (in Extreme.Numerics.Net20.dll) Version: 3.6.10055.0 (3.6.10077.0)

Syntax

C#
[SerializableAttribute]
public class Polynomial : PolynomialBase
Visual Basic (Declaration)
<SerializableAttribute> _
Public Class Polynomial _
	Inherits PolynomialBase
Visual C++
[SerializableAttribute]
public ref class Polynomial : public PolynomialBase
F#
[<SerializableAttribute>]
type Polynomial =  
    class
        inherit PolynomialBase
    end

Remarks

Use the Polynomial class to represent ordinary polynomials. A polynomial is an algebraic expression consisting of one or more summed terms, each term consisting of a constant multiplier and a variable raised to an integral exponent. It inherits from Curve and provides specialized implementation for most methods.

The parameters of a Polynomial correspond to the coefficients of the polynomial. The coefficients can be accessed through the indexed Coefficient[([(Int32])]) property. In C#, this property is the indexer for this class.

The ValueAt(Double) method returns the value of the polynomial at a specific point. SlopeAt(Double) returns the derivative of the Line. Integral(Double, Double) evaluates the definite integral over a specified interval.

The FindRoots()()() method attempts to find all real roots of the polynomial. It returns a Double array. The corresponding FindComplexRoots()()() method attempts to find all complex roots, and returns them as an array of DoubleComplex values. The roots are sorted in order of ascending real part.

Methods for arithmetic operations on polynomials have been defined. Corresponding operator overloads are available for those languages that support them.

Inheritance Hierarchy

System..::.Object
  Extreme.Mathematics.Curves..::.Curve
    Extreme.Mathematics.Curves..::.LinearCombination
      Extreme.Mathematics.Curves..::.PolynomialBase
        Extreme.Mathematics.Curves..::.Polynomial
          Extreme.Mathematics.Curves..::.Constant
          Extreme.Mathematics.Curves..::.Line
          Extreme.Mathematics.Curves..::.Quadratic

See Also

Polynomial Members
Extreme.Mathematics.Curves Namespace

Send comments on this topic to support@extremeoptimization.com

Copyright © 2003-2010, Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo
are registered trademarks of Microsoft Corporation.