Nothing
#####
## DO NOT EDIT THIS FILE!! EDIT THE SOURCE INSTEAD: rsrc_tree/atoms/elementwise/inv_pos.R
#####
## CVXPY SOURCE: atoms/elementwise/inv_pos.py
## InvPos -- inverse of positive value x^{-1}
#' Inverse position: \eqn{x^{-1}} (for x > 0)
#'
#' @param x An Expression
#' @returns A Power atom with p=-1
#' @export
inv_pos <- function(x) {
## `power()`, NOT `Power()` -- inv_pos.py:7 is `return power(x, -1)`, the
## wrapper, whose `approx = TRUE` default canonicalizes to SOC. Constructing
## `Power` directly emits PowCone3D and locks out every SOC-only solver.
## p = -1 is exactly representable, so the SOC form is exact.
power(x, -1)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.