DiffAssignmentNode¶
-
public class
DiffAssignmentNode
¶ Object that stores an almost finished differentiated assignment, as returned by ExpressionDifferentiator.adjointDifferentiateAssignedExpression().
Fields¶
diffAssign¶
diffR¶
diffRecv¶
diffValue¶
diffW¶
iReplic¶
-
protected int
iReplic
¶ The replica number that was used to build “diffRecv” from “primRecv”.
mask¶
-
protected InstructionMask
mask
¶ When there is a vector mask (e.g. in F90) that controls the assignment. Otherwise null.
Constructors¶
DiffAssignmentNode¶
-
protected
DiffAssignmentNode
(Tree diffRecv, int action, Tree diffValue, InstructionMask mask, Tree primRecv, int iReplic, TapList<Tree> primR, TapList<Tree> primW, TapList<Tree> diffR, TapList<Tree> diffW)¶ Creates a new DiffAssignmentNode that represents an assignment (or incrementation if action==INCREMENT_VARIABLE), to the diff variable described by “diffRecv”, of expression “diffValue”.