Convert an array of size 1 to its scalar equivalent.
a : ndarray
Input array.
out : scalar
Scalar of size 1 array.
Examples
>>> np.asscalar(np.array([24])) >>> 24
numpy.asfortranarray
numpy.require