EqConstraint-class: The EqConstraint class

==,Expression,Expression-methodR Documentation

The EqConstraint class

Description

The EqConstraint class

Usage

## S4 method for signature 'Expression,Expression'
e1 == e2

## S4 method for signature 'Expression,ConstVal'
e1 == e2

## S4 method for signature 'ConstVal,Expression'
e1 == e2

## S4 method for signature 'EqConstraint'
name(x)

## S4 method for signature 'EqConstraint'
dim(x)

## S4 method for signature 'EqConstraint'
size(object)

## S4 method for signature 'EqConstraint'
expr(object)

## S4 method for signature 'EqConstraint'
is_dcp(object)

## S4 method for signature 'EqConstraint'
is_dgp(object)

## S4 method for signature '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..


CVXR documentation built on June 27, 2024, 5:11 p.m.