Skip to main content

StitchingFunction Class

A stitching function (PDF Type 3 function) that combines multiple subfunctions.

Declaration

public class StitchingFunction extends CustomFunction

Remarks

A stitching function divides the input values into intervals and evaluates a different subfunction for each interval.

The setBounds(double[] value) method sets the interval boundaries.

The setEncode(Range[] value) method maps input values to the input range of each subfunction.

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject
CustomFunction
StitchingFunction

StitchingFunction(CustomFunction[] functions, double[] bounds, Range[] encode)

Initializes a new instance of the StitchingFunction class with specified settings.

Declaration

public StitchingFunction(CustomFunction[] functions, double[] bounds, Range[] encode)

Parameters

Name Type Description
functions CustomFunction[]

Subfunctions included in the stitching function.

bounds double[]

The boundaries between adjacent subfunctions.

encode Range[]

Ranges that map input values to each subfunction’s input range.

Methods

getBounds() Method

Returns the boundaries between adjacent subfunctions.

Declaration

public double[] getBounds()

Returns

Type Description
double[]

An array of boundary values.

getEncode() Method

Returns ranges that map input values to each subfunction’s input range.

Declaration

public Range[] getEncode()

Returns

Type Description
Range[]

An array of Range objects.

getFunctions() Method

Returns the stitching function’s subfunctions.

Declaration

public CustomFunction[] getFunctions()

Returns

Type Description
CustomFunction[]

An array of CustomFunction objects.

setBounds(double[] value) Method

Sets the boundaries between adjacent subfunctions.

Declaration

public void setBounds(double[] value)

Parameters

Name Type Description
value double[]

An array of boundary values.

setEncode(Range[] value) Method

Sets ranges that map input values to each subfunction’s input range.

Declaration

public void setEncode(Range[] value)

Parameters

Name Type Description
value Range[]

An array of Range objects.

setFunctions(CustomFunction[] value) Method

Sets the stitching function’s subfunctions.

Declaration

public void setFunctions(CustomFunction[] value)

Parameters

Name Type Description
value CustomFunction[]

An array of CustomFunction objects.