| .constant_grad | R Documentation |
Returns a Variable -> Jacobian list for an expression that is constant in
all of its variables. Each Jacobian is the appropriate-shape zero
(a scalar 0 for scalar/scalar; a sparse zero matrix otherwise).
.constant_grad(expr)
expr |
An expression. |
Mirrors cvxpy/utilities/grad.py:constant_grad.
A list keyed by variable id (as character), each entry the zero Jacobian.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.