PostScriptCalculatorFunction Class Documentation
class PostScriptCalculatorFunction : 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(System.Collections.Generic.IList< System.Double > domain, System.Collections.Generic.IList< System.Double > range, string code)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
string Code[get]Default
static Function Default[get]Domain
System.Collections.Generic.IList< System.Double > Domain[get, set]Identity
static Function Identity[get]NInputs
int NInputs[get]NOutputs
int NOutputs[get]Range
System.Collections.Generic.IList< System.Double > Range[get, set]Stream
PDFStream Stream[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:
System.Collections.Generic.IList< System.Double >a list of the result values from the function
Apply the function to supplied input values
Dispose
void Dispose()Returns:
voidToString
override string ToString()Returns:
override stringA string value describing the function.
operator!=
Parameters
Returns:
booloperator==
Parameters
Returns:
bool