powered by
This class attaches a dual component to a number / matrix.
x
scalar, vector or matrix; also accepts any matrix classes from the "Matrix" package.
dx
matrix; also accepts any matrix classes from the "Matrix" package.
param
a named list, containing the column indices each variable occupies.