parameters: (cptr, length)
docstring: Convert a ctypes float pointer array to a numpy array.
docstring_summary: Convert a ctypes float pointer array to a numpy array.
docstring_tokens: Convert a ctypes float pointer array to a numpy array .
function: def cfloat32_array_to_numpy(cptr, length):
      """Convert a ctypes float pointer array to a numpy array.
      """
      if isinstance(cptr, ctypes.POINTER(ctypes.c_float)):
          return np.fromiter(cptr, dtype=np.float32, count=length)
      else:
          raise RuntimeError('Expected float pointer')
function_tokens: def cfloat32_array_to_numpy ( cptr , length ) : if isinstance ( cptr , ctypes . POINTER ( ctypes . c_float ) ) : return np . fromiter ( cptr , dtype = np . float32 , count = length ) else : raise RuntimeError ( 'Expected float pointer' )