| Home | Trees | Indices | Help |
|
|---|
|
|
Supplementary or Auxiliary Functions for Snobfit
Most of them are the functions of the Rough MATLAB-Numpy Equivalents.
| Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| Variables | |
eps = 2.2204460492503131e-16
|
|
inf = inf
|
|
nan = nan
|
|
isnan = <ufunc 'isnan'>
|
|
| Function Details |
Random values in a given shape. Create an array of the given shape and propagate it with random samples from a uniform distribution over [0, 1). Parameters
Returns
See Alsorandom NotesThis is a convenience function. If you want an interface that
takes a shape-tuple as the first argument, refer to
Examples>>> np.random.rand(3,2) array([[ 0.14022471, 0.96360618], #random [ 0.37601032, 0.25528411], #random [ 0.49313049, 0.94909878]]) #random |
|
|
|
|
Sort x in increasing order, remove multiple entries, and adapt weights w accordingly x and w must both be a row or a column default input weights are w=1 If w==None, the weighted empirical cdf is computed at x dof = len(x) at input is the original number of degrees of freedom Warning: when you use this function, make sure x and w is row vector |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Mar 16 15:26:20 2009 | http://epydoc.sourceforge.net |