### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.5 Manual (DRAFT) »
- NumPy Reference »
- Array objects »
- Masked arrays »
- Constants of the `numpy.ma` module »

# numpy.ma.MaskedArray.iscontiguous

`MaskedArray.``iscontiguous`()

  Return a boolean indicating whether the data is contiguous.

  Parameters : | None :

  Examples

      >>> x = np.ma.array([1, 2, 3])
      >>> x.iscontiguous()
      True

  iscontiguous returns one of the flags of the masked array:

      >>> x.flags
        C_CONTIGUOUS : True
        F_CONTIGUOUS : True
        OWNDATA : False
        WRITEABLE : True
        ALIGNED : True
        UPDATEIFCOPY : False

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.5 Manual (DRAFT) »
- NumPy Reference »
- Array objects »
- Masked arrays »
- Constants of the `numpy.ma` module »