J function

Extract Jacobian Information

Extract Jacobian Information

Derive the Jacobian for a given constraint.

J(x, ...) ## S3 method for class 'L_constraint' J(x, ...) ## S3 method for class 'Q_constraint' J(x, ...)

Arguments

  • x: a L_constraint, Q_constraint or F_constraint.
  • ``: further arguments

Returns

a list of functions

Examples

L <- matrix(c(3, 4, 2, 2, 1, 2, 1, 3, 2), nrow=3, byrow=TRUE) lc <- L_constraint(L = L, dir = c("<=", "<=", "<="), rhs = c(60, 40, 80)) J(lc)
  • Maintainer: Stefan Theussl
  • License: GPL-3
  • Last published: 2023-04-20