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.160 -- Release Build+79afb0c87bd1bdc550b0321e3623ddc7648c3bfe
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