This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Vim < Formula | |
# Get stable versions from hg repo instead of downloading an increasing | |
# number of separate patches. | |
url 'https://vim.googlecode.com/hg/', :revision => '992b24149a9e' | |
version '7.3.333' | |
homepage 'http://www.vim.org/' | |
head 'https://vim.googlecode.com/hg/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" Module to compute projections on the positive simplex or the L1-ball | |
A positive simplex is a set X = { \mathbf{x} | \sum_i x_i = s, x_i \geq 0 } | |
The (unit) L1-ball is the set X = { \mathbf{x} | || x ||_1 \leq 1 } | |
Adrien Gaidon - INRIA - 2011 | |
""" | |