Changes the values of the tabulated function.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public void SetTabulatedValues(
	DoubleVector x,
	DoubleVector y
)
Visual Basic (Declaration)
Public Sub SetTabulatedValues ( _
	x As DoubleVector, _
	y As DoubleVector _
)
Visual C++
public:
void SetTabulatedValues(
	DoubleVector^ x, 
	DoubleVector^ y
)

Parameters

x
Type: CenterSpace.NMath.Core..::.DoubleVector
A vector of x-values. The values must be in increasing order.
y
Type: CenterSpace.NMath.Core..::.DoubleVector
A vector of y-values.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentException Thrown if the values in the x vector are not strictly increasing, or if the vectors x and y do not have the same length, or if there are less than two values.

See Also