def _impose_f_order(X):
 if X.flags.c_contiguous:
  return (check_array(X.T, copy=False, order='F'), True)
 else:
  return (check_array(X, copy=False, order='F'), False)

def _impose_f_order ( X ) : if X . flags . c_contiguous : return ( check_array ( X . T , copy = False , order = 'F' ) , True ) else : return ( check_array ( X , copy = False , order = 'F' ) , False )
helper function .