ExponentialFunction Class Documentation
class ExponentialFunction : FunctionNamespace: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
Uses types
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: intthe 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: doublethe 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]A Function representing the Default named function.
Domain
System.Collections.Generic.IList< System.Double > Domain[get, set]Identity
static Function Identity[get]A Function representing the Identity named function, which returns its input values unchanged.
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:
voidToString
override string ToString()Returns:
override stringA string representation of the ExponentialFunction, including the number of inputs and outputs, domain, range, N, C0, and C1 values.
A string value describing the function.
operator!=
Parameters
Returns:
booltrue if the two Functions are not equal; otherwise, false.
Tests two Function objects for inequality.
operator==
Parameters
Returns:
booltrue if the two Functions are equal; otherwise, false.
Tests two Function objects for equality.