heyoka.diff_args#

enum heyoka.diff_args(value)#

Enum for selecting differentiation arguments.

Values of this enum are used in diff_tensors() to select all variables and/or parameters as differentiation arguments.

Valid values are as follows:

vars = <diff_args.vars: 0>#

Differentiate with respect to all variables. The variables are considered in alphabetical order.

params = <diff_args.params: 1>#

Differentiate with respect to all parameters. The parameters are considered in ascending index order.

all = <diff_args.all: 2>#

Differentiate with respect to all variables and parameters. The variables, in alphabetical order, are considered before the parameters, in ascending index order.