Gemstone Numeric Library
Show/Hide TOC

# PiecewiseLinearFunctionSetRange Method

Sets the y-values of the pivot points in the piecewise linear function.

## Definition

Namespace: Gemstone.Numeric.Interpolation
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.151 -- Release Build+7457849808f12b308a45246cb6b53ce4d151298c
C#
View Source Request Example

    public PiecewiseLinearFunction SetRange(
    	params double[] range
    )

VB
View Source Request Example

    Public Function SetRange (
    	ParamArray range As Double()
    ) As PiecewiseLinearFunction

C++
View Source Request Example

    public:
    PiecewiseLinearFunction^ SetRange(
    	... array<double>^ range
    )

JavaScript
View Source Request Example

    function SetRange(... range);

#### Parameters

range Double
  The y-values of the pivot points.

#### Return Value

PiecewiseLinearFunction
A reference to the piecewise linear function.

## See Also

#### Reference

PiecewiseLinearFunction Class
Gemstone.Numeric.Interpolation Namespace