| init_dx {ADtools} | R Documentation |
Initialise the dual component
init_dx(num_dim, denom_dim, num_ind)
num_dim |
A number; the length of the numerator of a derivative. |
denom_dim |
Numeric vector; the length of the denominators of a derivative. |
num_ind |
An integer that indicates the location of the derivative corresponding to x; input -1 if none. |
A numeric matrix; the dual component.