Function Class Documentation

classFunction : SystemIDisposable

Namespace:Datalogics::PDFL

Inherits from:
SystemIDisposable
Derived classes:
ExponentialFunction, NamedFunction, PostScriptCalculatorFunction

Detailed Description

A function is a process.

A function takes input values and manipulates them to create output values.

Uses types

Constructor & Destructor Documentation

Function

Function(Functionrhs, InternalConstructsignifier)

Parameters

signifier: InternalConstruct

~Function

~Function()

Property Documentation

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]

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 FunctionConstructorRetrieve(System.IntPtrignored)

Parameters

ignored: System.IntPtr

Returns:

Function

Dispose

voidDispose()

Returns:

void

DisposeChildren

voidDisposeChildren()

Returns:

void

ToString

override stringToString()

Returns:

A string representation of the function.

Convert the function to a displayable string.

operator!=

static booloperator!=(Functiona, Functionb)

Parameters

a: Function

The first Function to compare.

b: Function

The second Function to compare.

Returns:

true if the two Functions are not equal; otherwise, false.

Tests two Function objects for inequality.

operator==

static booloperator==(Functiona, Functionb)

Parameters

a: Function

The first Function to compare.

b: Function

The second Function to compare.

Returns:

true if the two Functions are equal; otherwise, false.

Tests two Function objects for equality.