Learn R Programming

CVXR (version 0.99-7)

MaxEntries-class: The MaxEntries class.

Description

The maximum of an expression.

Usage

MaxEntries(x, axis = NA_real_)

# S4 method for MaxEntries to_numeric(object, values)

# S4 method for MaxEntries sign_from_args(object)

# S4 method for MaxEntries is_atom_convex(object)

# S4 method for MaxEntries is_atom_concave(object)

# S4 method for MaxEntries is_incr(object, idx)

# S4 method for MaxEntries is_decr(object, idx)

# S4 method for MaxEntries is_pwl(object)

# S4 method for MaxEntries graph_implementation(object, arg_objs, size, data = NA_real_)

Arguments

x

An '>Expression representing a vector or matrix.

axis

(Optional) The dimension across which to apply the function: 1 indicates rows, 2 indicates columns, and NA indicates rows and columns. The default is NA.

object

A '>MaxEntries object.

values

A list of arguments to the atom.

idx

An index into the atom.

arg_objs

A list of linear expressions for each argument.

size

A vector with two elements representing the size of the resulting expression.

data

A list of additional data required by the atom.

Methods (by generic)

  • to_numeric: The largest entry in x.

  • sign_from_args: The sign of the atom.

  • is_atom_convex: The atom is convex.

  • is_atom_concave: The atom is not concave.

  • is_incr: The atom is weakly increasing in every argument.

  • is_decr: The atom is not weakly decreasing in any argument.

  • is_pwl: Is x piecewise linear?

  • graph_implementation: The graph implementation of the atom.

Slots

x

An '>Expression representing a vector or matrix.

axis

(Optional) The dimension across which to apply the function: 1 indicates rows, 2 indicates columns, and NA indicates rows and columns. The default is NA.