J: Extract Jacobian Information

Description Usage Arguments Value Examples

View source: R/gradient.R

Description

Derive the Jacobian for a given constraint.

Usage

1
2
3
4
5
6
7
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

Value

a list of functions

Examples

1
2
3
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)

ROI documentation built on Jan. 27, 2018, 1:04 a.m.