Learn R Programming

CVXR (version 0.99-7)

Elementwise-class: The Elementwise class.

Description

This virtual class represents an elementwise atom.

Usage

# S4 method for Elementwise
validate_args(object)

# S4 method for Elementwise size_from_args(object)

Arguments

object

An '>Elementwise object.

Methods (by generic)

  • validate_args: Check all the shapes are the same or can be promoted.

  • size_from_args: Size is the same as the sum of the arguments' sizes.