# Last Change: Thu Jun 28 06:00 PM 2007 J

#========================================================
# Constants used throughout the module (def args, etc...)
#========================================================
# This is the default dimension for representing confidence ellipses
DEF_VIS_DIM = (0, 1)
DEF_ELL_NP = 100
DEF_LEVEL = 0.39

#=====================================================================
# "magic number", that is number used to control regularization and co
# Change them at your risk !
#=====================================================================

# max deviation allowed when comparing double (this is actually stupid,
# I should actually use a number of decimals)
_MAX_DBL_DEV    = 1e-10

## # max conditional number allowed
## _MAX_COND       = 1e8
## _MIN_INV_COND   = 1/_MAX_COND
## 
## # Default alpha for regularization
## _DEF_ALPHA  = 1e-1
## 
## # Default min delta for regularization
## _MIN_DBL_DELTA  = 1e-5
## 

@@ -12,21 +12,21 @@
 ge: 
-Thu Jun 28 06
+Mon Jul 02 04
 :00 
@@ -951,12 +951,413 @@
  = 1e-5%0A## %0A
+%0Aclass curry:%0A    def __init__(self, fun, *args, **kwargs):%0A        self.fun = fun%0A        self.pending = args%5B:%5D%0A        self.kwargs = kwargs.copy()%0A%0A    def __call__(self, *args, **kwargs):%0A        if kwargs and self.kwargs:%0A            kw = self.kwargs.copy()%0A            kw.update(kwargs)%0A        else:%0A            kw = kwargs or self.kwargs%0A%0A        return self.fun(*(self.pending + args), **kw)%0A

Add curry class to misc tools