Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Conv-class

The Conv class.


Description

This class represents the 1-D discrete convolution of two vectors.

Usage

Conv(lh_exp, rh_exp)

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

## S4 method for signature 'Conv'
validate_args(object)

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

## S4 method for signature 'Conv'
sign_from_args(object)

## S4 method for signature 'Conv'
is_incr(object, idx)

## S4 method for signature 'Conv'
is_decr(object, idx)

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

Arguments

lh_exp

An Expression or R numeric data representing the left-hand vector.

rh_exp

An Expression or R numeric data representing the right-hand vector.

object

A Conv 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.

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: The convolution of the two values.

  • validate_args: Check both arguments are vectors and the first is a constant.

  • dim_from_args: The dimensions of the atom.

  • sign_from_args: The sign of the atom.

  • is_incr: Is the left-hand expression positive?

  • is_decr: Is the left-hand expression negative?

  • graph_implementation: The graph implementation of the atom.

Slots

lh_exp

An Expression or R numeric data representing the left-hand vector.

rh_exp

An Expression or R numeric data representing the right-hand vector.


CVXR

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.