Optimizer.SetGradientValue(String, Variable) Method

Top 

Description

Sets the value of the element of the Gradient that is associated with the specified StateVariable.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

Optimizer.SetGradientValue(

String stateVariableLabel,


Variable gradientElementValue)

 

 

Arguments

stateVariableLabel


Description:

The label corresponding to the associated StateVariable.

 

 

gradientElementValue


Description:

The value of the element of the Gradient that is associated with the specified StateVariable.

 

 

 

Syntax

myOptimizer1.SetGradientValue(myString1, myVariable1);

 

 

See also

Optimizer Object

Optimizer.SetGradientValue