math4610

Routine Name: linfty

Author: David Merkley

Language: Python

Description/Purpose: Gives the linfty norm

Input: a vector

Output: the norm

Implementation/Code:

def linfty(x):
    return max([abs(xi) for xi in x])