### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Array manipulation routines »

# numpy.asfortranarray

`numpy.``asfortranarray`(a, dtype=None)

  Return an array laid out in Fortran-order in memory.

  Parameters: | a : array_like Input array. dtype : data-type, optional By default, the data-type is inferred from the input data.
  Returns: | out : ndarray Array interpretation of a in Fortran (column-order).

  See also

  `asarray`
    Similar function which always returns ndarrays.
  `ascontiguousarray`
    Convert input to a contiguous array.
  `asfarray`
    Convert input to a floating point ndarray.
  `asanyarray`
    Convert input to an ndarray with either row or column-major memory order.
  `asarray_chkfinite`
    Similar function which checks input for NaNs and Infs.
  `fromiter`
    Create an array from an iterator.
  `fromfunction`
    Construct an array by executing a function on grid positions.

### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Array manipulation routines »