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