Support arbitrary regularisation terms; implement non-positivity-constrained regularisation.

(0) -10 -1 +1 tip

mercurial