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

Click here to see the documentation for this object in millisecond 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