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 Aug. 29, 2020, 3:01 p.m.

Related to J in ROI...