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.156 -- Release Build+82008765a27c9679d42964f049db865fa540531c
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