ExponentialFunction Class Documentation
classExponentialFunction : 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(ExponentialFunctionrhs, InternalConstructsignifier)Parameters
rhs: ExponentialFunctionsignifier: InternalConstruct
ExponentialFunction
ExponentialFunction(System.Collections.Generic.IList< System.Double >domain, intnOutputs, System.Collections.Generic.IList< System.Double >C0, System.Collections.Generic.IList< System.Double >C1, doubleN)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 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.
N
doubleN[get, set]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 functionApply the function to supplied input values
ConstructorRetrieve
static new static ExponentialFunctionConstructorRetrieve(System.IntPtrignored)Parameters
ignored: System.IntPtr
Returns:
new static ExponentialFunctionDispose
voidDispose()Returns:
voidDisposeChildren
voidDisposeChildren()Returns:
voidToString
override stringToString()Returns:
A 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:
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.