Learn R Programming

CVXR (version 1.0)

Elementwise-class: The Elementwise class.

Description

This virtual class represents an elementwise atom.

Usage

# S4 method for Elementwise
dim_from_args(object)

# S4 method for Elementwise validate_args(object)

# S4 method for Elementwise is_symmetric(object)

Arguments

object

An '>Elementwise object.

Methods (by generic)

  • dim_from_args: Dimensions is the same as the sum of the arguments' dimensions.

  • validate_args: Verify that all the dimensions are the same or can be promoted.

  • is_symmetric: Is the expression symmetric?