def norm_l2inf(A, n_orient, copy=True):
 if (A.size == 0):
  return 0.0
 if copy:
  A = A.copy()
 return sqrt(np.max(groups_norm2(A, n_orient)))

def norm_l2inf ( A , n_orient , copy = True ) : if ( A . size == 0 ) : return 0.0 if copy : A = A . copy ( ) return sqrt ( np . max ( groups_norm2 ( A , n_orient ) ) )
l2-inf norm .