Optimizer.SetGradientValue 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 nanosecond timing precision mode.

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

 

Overload List

Signatures

Return Value

Description

Optimizer.SetGradientValue(String stateVariableLabel, Variable gradientElementValue)

None

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

Optimizer.SetGradientValue(TrajectoryPhase trajectoryPhase, Variable node, Array stateIndices, Array values)

None

Sets the value of multiple Gradient elements. The state variable indices of the Gradient elements are determined by the TrajectoryPhase, Node, and Indices arguments.

 

 

See also

Optimizer Object