ExponentialFunction Class Documentation

class ExponentialFunction : Function

Namespace:Datalogics::PDFL

Inherits from:
Function

Detailed Description

An interpolation between two output values as input values vary across a domain.

For an Exponential Function, the curve between the two values is determined by the exponent N.

Referenced by

Constructor & Destructor Documentation

ExponentialFunction

ExponentialFunction(System.Collections.Generic.IList< System.Double > domain, int nOutputs, System.Collections.Generic.IList< System.Double > C0, System.Collections.Generic.IList< System.Double > C1, double N)

Parameters

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

the domain of the function. 2 elements.

nOutputs: int

the number of outputs of the function

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

the output value when the input value is 0

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

the output value when the input value is 1

N: double

the exponential factor, which alters the curve of output values as the input values vary across the domain.

Create an Exponential Function, which is the exponential interpolation between two output values as the input values vary across the domain.

Property Documentation

C0

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

C1

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

Default

static Function Default[get]

Domain

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

Identity

static Function Identity[get]

N

double N[get, set]

NInputs

int NInputs[get]

NOutputs

int NOutputs[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:

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:

void

ToString

override string ToString()

Returns:

override string

A string value describing the function.