Did I find the right examples for you? yes no

# numpy.oldnumeric.minimum.reduce

All Samples(11)  |  Call(11)  |  Derive(0)  |  Import(0)
```reduce(a, axis=0, dtype=None, out=None, keepdims=False)

Reduces `a`'s dimension by one, by applying ufunc along one axis.

Let :math:`a.shape = (N_0, ..., N_i, ..., N_{M-1})`.  Then
:math:`ufunc.reduce(a, axis=i)[k_0, ..,k_{i-1}, k_{i+1}, .., k_{M-1}]` =
the result of iterating `j` over :math:`range(N_i)`, cumulatively applying
ufunc to each :math:`a[k_0, ..,k_{i-1}, j, k_{i+1}, .., k_{M-1}]`.
For a one-dimensional array, reduce produces results equivalent to:
::(more...)
```

```def histogram(data, nbins, range = None):
data = Numeric.array(data, Numeric.Float)
if range is None:
min = Numeric.minimum.reduce(data)
max = Numeric.maximum.reduce(data)
```

```    def getSideLengths(self, mol):
c = mol.allAtoms.coords
maxo = Numeric.maximum.reduce(c)
mino = Numeric.minimum.reduce(c)
sideLengths = maxo-mino
```
```    def getSideLengths(self, mol):
c = mol.allAtoms.coords
maxo = Numeric.maximum.reduce(c)
mino = Numeric.minimum.reduce(c)
sideLengths = maxo-mino
```

```        reverseList.append(range(rLctr, rLctr+len(l)))
mol.elist = Numeric.array(elist)
mol.r = [Numeric.minimum.reduce(mol.elist),
Numeric.maximum.reduce(mol.elist)]
mol.nbins = Tkinter.IntVar()
```

```def histogram(data, nbins, range = None):
data = Numeric.array(data, Numeric.Float)
if range is None:
min = Numeric.minimum.reduce(data)
max = Numeric.maximum.reduce(data)
```

```def getSideLengths(mol, spacing):
c = mol.allAtoms.coords
maxo = Numeric.maximum.reduce(c)
mino = Numeric.minimum.reduce(c)
sideLengths = maxo-mino
```

```                return 'ERROR'
mol.elist = Numeric.array(elist)
mol.r = [Numeric.minimum.reduce(mol.elist),
Numeric.maximum.reduce(mol.elist)]
mol.nbins = Tkinter.IntVar(master=self.vf.GUI.ROOT)
```

```def histogram(data, nbins, range = None):
data = Numeric.array(data, Numeric.Float)
if range is None:
min = Numeric.minimum.reduce(data)
max = Numeric.maximum.reduce(data)
```

```def histogram(data, nbins, range = None):
data = Numeric.array(data, Numeric.Float)
if range is None:
min = Numeric.minimum.reduce(data)
max = Numeric.maximum.reduce(data)
```

```def histogram(data, nbins, range = None):
data = Numeric.array(data, Numeric.Float)
if range is None:
min = Numeric.minimum.reduce(data)
max = Numeric.maximum.reduce(data)
```

```    data = Numeric.array(data, Numeric.Float)