DelegateBasedVariableT Constructor (Double, Double, SegmentDefinition, SetVariableCallbackT) |
Initializes a new instance.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public DelegateBasedVariable(
double maximumStep,
double perturbation,
SegmentDefinition segment,
SetVariableCallback<T> setter
)
Public Sub New (
maximumStep As Double,
perturbation As Double,
segment As SegmentDefinition,
setter As SetVariableCallback(Of T)
)
public:
DelegateBasedVariable(
double maximumStep,
double perturbation,
SegmentDefinition^ segment,
SetVariableCallback<T>^ setter
)
new :
maximumStep : float *
perturbation : float *
segment : SegmentDefinition *
setter : SetVariableCallback<'T> -> DelegateBasedVariable
Parameters
- maximumStep
- Type: SystemDouble
The maximum step that this variable should take. - perturbation
- Type: SystemDouble
The perturbation that should be used when finding the
function's derivative with respect to this variable. - segment
- Type: AGI.Foundation.SegmentPropagationSegmentDefinition
The segment that this variable will operate on. - setter
- Type: AGI.Foundation.NumericalMethodsSetVariableCallbackT
The delegate that will update the relevant value in the
segments configuration.
See Also