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.172 -- Release Build+a1df2e6c05369850bd6adda4f66e605f51f93037
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