| .grad | R Documentation |
R counterpart of CVXPY's Atom._grad(self, values). Returns a list
of one Jacobian per argument, shape (prod(arg.shape), prod(self.shape)).
Called by the chain-rule walker grad(x). The leading dot follows R's
private-name convention (cf. .Machine, .libPaths, .cvxr_*); the
name maps one-to-one onto CVXPY's _grad.
.grad(x, values, ...)
x |
An atom expression. |
values |
A list of numeric values, one per argument. |
... |
Reserved for future use; method dispatch ignores it. |
A list of sparse Jacobians (one per argument).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.