Nothing
#####
## DO NOT EDIT THIS FILE!! EDIT THE SOURCE INSTEAD: rsrc_tree/atoms/sum_smallest.R
#####
## CVXPY SOURCE: atoms/sum_smallest.py
## SumSmallest -- sum of k smallest entries
#' Sum of k smallest entries
#'
#' @param x An Expression
#' @param k Number of smallest entries to sum
#' @returns An Expression equal to -SumLargest(-x, k)
#' @export
sum_smallest <- function(x, k) {
-SumLargest(-as_expr(x), k)
}
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.