PostScriptCalculatorFunction Class Documentation
classPostScriptCalculatorFunction : FunctionNamespace:Datalogics::PDFL
- Inherits from:
Function
Detailed Description
A function represented as a stream containing code written in a small subset of the PostScript language.
Referenced by
Constructor & Destructor Documentation
PostScriptCalculatorFunction
PostScriptCalculatorFunction(PostScriptCalculatorFunctionrhs, InternalConstructsignifier)Parameters
signifier: InternalConstruct
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: stringthe 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]A Function representing the Default named function.
Domain
System.Collections.Generic.IList< System.Double >Domain[get, set]Identity
static FunctionIdentity[get]A Function representing the Identity named function, which returns its input values unchanged.
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 functionApply the function to supplied input values
ConstructorRetrieve
static new static PostScriptCalculatorFunctionConstructorRetrieve(System.IntPtrignored)Parameters
ignored: System.IntPtr
Returns:
new static PostScriptCalculatorFunctionDispose
voidDispose()Returns:
voidDisposeChildren
voidDisposeChildren()Returns:
voidToString
override stringToString()Returns:
A string representation of the PostScriptCalculatorFunction, including the number of inputs and outputs, domain, range, and the PostScript code.A string value describing the function.
operator!=
Parameters
Returns:
true if the two Functions are not equal; otherwise, false.Tests two Function objects for inequality.
operator==
Parameters
Returns:
true if the two Functions are equal; otherwise, false.Tests two Function objects for equality.