dual-class: S4 class "dual"

Description Slots Note

Description

This class attaches a dual component to a number / matrix.

Slots

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.

Note

Users should not construct the object directly, instead, use the constructor helper dual provided.


kcf-jackson/ADtools documentation built on Nov. 16, 2020, 7:12 p.m.