Learn R Programming

CVXR (version 1.9.1)

.error_grad: Error Gradient (None for every variable)

Description

Returns a list keyed by variable id with every entry NULL. Used by the chain-rule walker to propagate "could not compute" up the DAG when any argument value is missing.

Usage

.error_grad(expr)

Value

A list keyed by variable id (as character), each entry NULL.

Arguments

expr

An expression.

Details

Mirrors cvxpy/utilities/grad.py:error_grad.