Learn R Programming

CVXR (version 0.99-7)

Log1p-class: The Log1p class.

Description

This class represents the elementwise operation \(\log(1 + x)\).

Usage

Log1p(x)

# S4 method for Log1p to_numeric(object, values)

# S4 method for Log1p sign_from_args(object)

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

Arguments

x

An '>Expression or numeric constant.

object

A '>Log1p object.

values

A list of arguments to 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 elementwise natural logarithm of one plus the input value.

  • sign_from_args: The sign of the atom.

  • graph_implementation: The graph implementation of the atom.

Slots

x

An '>Expression or numeric constant.