PostScriptCalculatorFunction Class Documentation

classPostScriptCalculatorFunction : Function

Namespace:Datalogics::PDFL

Inherits from:
Function

Detailed Description

A function represented as a stream containing code written in a small subset of the PostScript language.

Constructor & Destructor Documentation

PostScriptCalculatorFunction

PostScriptCalculatorFunction(System.Collections.Generic.IList< System.Double >domain, System.Collections.Generic.IList< System.Double >range, stringcode)

Parameters

domain: System.Collections.Generic.IList< System.Double >

an array of 2 * m numbers, where m is the number of input values

range: System.Collections.Generic.IList< System.Double >

an array of 2 * n numbers, where n is the number of output values

code: string

the code of the function, written in a subset of the PostScript language

Create PostScript calculator function, represented as a stream containing code written in a small subset of the PostScript language.

Property Documentation

Code

stringCode[get]

Default

static FunctionDefault[get]

Domain

System.Collections.Generic.IList< System.Double >Domain[get, set]

Identity

static FunctionIdentity[get]

NInputs

intNInputs[get]

NOutputs

intNOutputs[get]

Range

System.Collections.Generic.IList< System.Double >Range[get, set]

Stream

PDFStreamStream[get]

Member Function Documentation

Apply

System.Collections.Generic.IList< System.Double >Apply(System.Collections.Generic.IList< System.Double >args)

Parameters

args: System.Collections.Generic.IList< System.Double >

input values for the function. The number of input values must agree with the number of inputs the function takes.

Returns:

a list of the result values from the function

Apply the function to supplied input values

ConstructorRetrieve

static new static PostScriptCalculatorFunctionConstructorRetrieve(System.IntPtrignored)

Parameters

ignored: System.IntPtr

Returns:

new static PostScriptCalculatorFunction

Dispose

voidDispose()

Returns:

void

DisposeChildren

voidDisposeChildren()

Returns:

void

ToString

override stringToString()

Returns:

override string

A string value describing the function.