Click or drag to resize

FunctionTIndependent, TDependent, TDependentDerivative Class

Represents any function. Also provides additional information about the function that can be useful for clients that want to work with it in efficient ways.
Inheritance Hierarchy
SystemObject
  AGI.FoundationFunctionTIndependent, TDependent, TDependentDerivative
    AGI.FoundationMotionEvaluatorT, TDerivative

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public abstract class Function<TIndependent, TDependent, TDependentDerivative> : IThreadAware, 
	ICloneWithContext, IDisposable

Type Parameters

TIndependent
The type of the independent (input) variable.
TDependent
The type of the dependent (output) variable.
TDependentDerivative
The type of the derivatives of the dependent (output) variable.

The FunctionTIndependent, TDependent, TDependentDerivative type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyIsThreadSafe
Gets a value indicating whether the methods on this instance are safe to call from multiple threads simultaneously.
Top
Methods
  NameDescription
Public methodClone
Clones this object using the specified context.
Public methodDispose
Releases any resources associated with this instance.
Protected methodDispose(Boolean)
Releases any resources associated with this instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate(TIndependent)
Evaluates the function.
Public methodEvaluate(TIndependent, Int32)
Evaluates the function.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNextSampleSuggestion
Gets a suggestion for the next independent variable value at which to sample this function.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also