Click or drag to resize

Polynomial(DoubleVector, DoubleVector) Constructor

Constructs a polynomial which passes through the given set of points.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public Polynomial(
	DoubleVector xCoord,
	DoubleVector yCoord
)

Parameters

xCoord  DoubleVector
The x-coordinates of the points.
yCoord  DoubleVector
The y-coordinates of the points.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the number of x-coordinates is not equal to the number of y-coordinates, of if passed an empty vector.
See Also