Routine Name: linftymatrix
Author: David Merkley
Language: Python
Description/Purpose: Gives the linftymatrix norm
Input: a matrix
Output: the norm
Implementation/Code:
def linftymatrix(A):
n = len(A[0])
m = len(A)
sums = [0]*n
for i in range(m):
for j in range(n):
sums[i] += abs(A[i][j])
return max(sums)