heyoka.diff_args

Contents

heyoka.diff_args#

class heyoka.diff_args#

Enum for selecting differentiation arguments.

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

Members:

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

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

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