The EqConstraint class

# S4 method for Expression,Expression
==(e1, e2)

# S4 method for Expression,ConstVal
==(e1, e2)

# S4 method for ConstVal,Expression
==(e1, e2)

# S4 method for EqConstraint
name(x)

# S4 method for EqConstraint
dim(x)

# S4 method for EqConstraint
size(object)

# S4 method for EqConstraint
expr(object)

# S4 method for EqConstraint
is_dcp(object)

# S4 method for EqConstraint
is_dgp(object)

# S4 method for EqConstraint
residual(object)

Arguments

e1, e2

The Expression objects or numeric constants to compare.

x, object

A EqConstraint object.

Methods (by generic)

  • name(EqConstraint): The string representation of the constraint.

  • dim(EqConstraint): The dimensions of the constrained expression.

  • size(EqConstraint): The size of the constrained expression.

  • expr(EqConstraint): The expression to constrain.

  • is_dcp(EqConstraint): Is the constraint DCP?

  • is_dgp(EqConstraint): Is the constraint DGP?

  • residual(EqConstraint): The residual of the constraint..