Wrap-class: The Wrap class.

Wrap-classR Documentation

The Wrap class.

Description

This virtual class represents a no-op wrapper to assert properties.

Usage

## S4 method for signature 'Wrap'
to_numeric(object, values)

## S4 method for signature 'Wrap'
dim_from_args(object)

## S4 method for signature 'Wrap'
is_atom_log_log_convex(object)

## S4 method for signature 'Wrap'
is_atom_log_log_concave(object)

## S4 method for signature 'Wrap'
graph_implementation(object, arg_objs, dim, data = NA_real_)

Arguments

object

A Wrap object.

values

A list of arguments to the atom.

arg_objs

A list of linear expressions for each argument.

dim

A vector representing the dimensions of the resulting expression.

data

A list of additional data required by the atom.

Methods (by generic)

  • to_numeric(Wrap): Returns the input value.

  • dim_from_args(Wrap): The dimensions of the atom.

  • is_atom_log_log_convex(Wrap): Is the atom log-log convex?

  • is_atom_log_log_concave(Wrap): Is the atom log-log concave?

  • graph_implementation(Wrap): The graph implementation of the atom.


anqif/CVXR documentation built on Feb. 6, 2024, 4:28 a.m.