View source: R/065_atoms_elementwise_power.R
| power | R Documentation |
Create a Power atom
power(x, p, max_denom = 1024L, approx = TRUE)
x |
An Expression (the base), OR a positive constant if |
p |
Numeric exponent, Parameter, or Expression. If |
max_denom |
Maximum denominator for rational approximation |
approx |
If TRUE (default), use SOC approximation. If FALSE, use exact power cone. |
A Power or PowerApprox atom, or an exp expression for the const-base case.
sqrt(x) on a CVXR expression dispatches to
Power(x, 0.5) via the Math group generic.
See math_atoms for all standard R function dispatch.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.