Nothing
#####
## DO NOT EDIT THIS FILE!! EDIT THE SOURCE INSTEAD: rsrc_tree/atoms/elementwise/scalene.R
#####
## CVXPY SOURCE: atoms/elementwise/scalene.py
## Scalene penalty: alpha * pos(x) + beta * neg(x)
#' Scalene penalty: alpha * pos(x) + beta * neg(x)
#'
#' @param x An Expression
#' @param alpha Coefficient for the positive part
#' @param beta Coefficient for the negative part
#' @returns An Expression representing the scalene penalty
#' @export
scalene <- function(x, alpha, beta) {
alpha * pos(x) + beta * neg(x)
}
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.