Auto Diff Attribute.Allow Null Array Arguments Property
Gets or sets whether caller-provided derivative output arguments may
be null and allocated by generated code on supported paths.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
public bool AllowNullArrayArguments { get; set; }Property Value
BooleanRemarks
If true and an output argument is null, the generated method will allocate a new array and return it. If a non-null array is provided, that array is used for the result and also returned.
Any non-null writable result array supplied by the caller is subject to the no-alias precondition documented by ReturnArraysInArguments: no runtime alias check is inserted.