### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.7 Manual (DRAFT) »
- NumPy Reference »
- Universal functions (`ufunc`) »

# numpy.ufunc.ntypes

`ufunc.``ntypes`

  The number of types.

  The number of numerical NumPy types - of which there are 18 total - on which the ufunc can operate.

  See also

  `numpy.ufunc.types`

  Examples

      >>> np.add.ntypes
      18
      >>> np.multiply.ntypes
      18
      >>> np.power.ntypes
      17
      >>> np.exp.ntypes
      7
      >>> np.remainder.ntypes
      14

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.7 Manual (DRAFT) »
- NumPy Reference »
- Universal functions (`ufunc`) »