AutoDiffAttribute Properties

Properties

AllowNullArrayArguments Gets or sets whether caller-provided derivative output arguments may be null and allocated by generated code on supported paths.
ArgumentPosition Gets or sets the zero-based parameter position with respect to which differentiation is requested. This selector is mutually exclusive with Variables and Variable.
Ignore Gets or sets whether source generation is skipped for this attribute.
Mode Gets or sets the differentiation mode. Automatic, Forward, and Reverse are accepted for compatible first-order tasks.
NameSuffix A suffix to append to the original method name if TargetName is not provided. The default depends on the requested Result.
Result Gets or sets the requested first-order result.
ReturnArraysInArguments

Gets or sets whether supported non-scalar derivative result buffers are supplied as caller arguments rather than only returned.

TargetName Gets or sets the generated method name.
TypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute)
Variable Gets or sets one parameter or supported member name with respect to which differentiation is requested.
Variables Gets or sets the names of parameters or supported members with respect to which differentiation is requested.

See Also