def idd_snorm(m, n, matvect, matvec, its=20):
 (snorm, v) = _id.idd_snorm(m, n, matvect, matvec, its)
 return snorm

def idd_snorm ( m , n , matvect , matvec , its = 20 ) : ( snorm , v ) = _id . idd_snorm ( m , n , matvect , matvec , its ) return snorm
estimate spectral norm of a real matrix by the randomized power method .