DerivativeAttribute Constructor

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0

Overload List

DerivativeAttribute() Initializes a new instance of the DerivativeAttribute class.
DerivativeAttribute(String) Initializes a new instance of the DerivativeAttribute class.
DerivativeAttribute(String, String) Initializes a new instance of the DerivativeAttribute class.

DerivativeAttribute

Initializes a new instance of the DerivativeAttribute class.
C#
public DerivativeAttribute()

Remarks

Declares the derivative of the single differentiable parameter of an enclosing function. Both identifier properties remain null.

DerivativeAttribute(String)

Initializes a new instance of the DerivativeAttribute class.
C#
public DerivativeAttribute(
	string parameterName
)

Parameters

parameterName  String
The name of the primal parameter with respect to which the derivative is declared.

Remarks

Declares a nested derivative with respect to the named enclosing parameter. FunctionIdentifier remains null.

DerivativeAttribute(String, String)

Initializes a new instance of the DerivativeAttribute class.
C#
public DerivativeAttribute(
	string functionIdentifier,
	string parameterName
)

Parameters

functionIdentifier  String
The semantic AutoDiff function identifier for a top-level shared derivative declaration.
parameterName  String
The name of the primal parameter with respect to which the derivative is declared.

See Also