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.159 -- Release Build+bfa978172a20737cdcc0271f1cbfc5d6c84463e8
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