QuadForm-class {CVXR}R Documentation

The QuadForm class.

Description

This class represents the quadratic form x^T P x

Usage

QuadForm(x, P)

## S4 method for signature 'QuadForm'
name(x)

## S4 method for signature 'QuadForm'
allow_complex(object)

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

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

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

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

## S4 method for signature 'QuadForm'
is_atom_convex(object)

## S4 method for signature 'QuadForm'
is_atom_concave(object)

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

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

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

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

## S4 method for signature 'QuadForm'
is_quadratic(object)

## S4 method for signature 'QuadForm'
is_pwl(object)

## S4 method for signature 'QuadForm'
.grad(object, values)

Arguments

x

An Expression or numeric vector.

P

An Expression, numeric matrix, or vector.

object

A QuadForm object.

values

A list of numeric values for the arguments

idx

An index into the atom.

Methods (by generic)

Slots

x

An Expression or numeric vector.

P

An Expression, numeric matrix, or vector.


[Package CVXR version 1.0-10 Index]