From dd3d20cd97900effcbe5f849907d9fba1c0bd8c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Rustad?= Date: Fri, 30 Sep 2011 22:09:54 +0200 Subject: [PATCH] Uncomment graphing imports --- main.py | 4 ++-- newton.py | 4 ++-- steepest.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index bafd504..2477c2d 100644 --- a/main.py +++ b/main.py @@ -1,7 +1,7 @@ -#from enthought.mayavi import mlab +from enthought.mayavi import mlab import time import numpy as np -#import matplotlib.pyplot as plt +import matplotlib.pyplot as plt import surf from steepest import steepest from function import function_g diff --git a/newton.py b/newton.py index 9eb559a..c639229 100644 --- a/newton.py +++ b/newton.py @@ -1,9 +1,9 @@ -#from enthought.mayavi import mlab +from enthought.mayavi import mlab from function import function_g, gradient_g, hessian_g import generate import surf import numpy as np -#import matplotlib.pyplot as plt +import matplotlib.pyplot as plt from numpy.linalg import norm, inv # Calculate the next iteration of the Newton method diff --git a/steepest.py b/steepest.py index 2d5d401..976388c 100644 --- a/steepest.py +++ b/steepest.py @@ -1,9 +1,9 @@ -#from enthought.mayavi import mlab +from enthought.mayavi import mlab from function import function_g, gradient_g, _C import generate import surf import numpy as np -#import matplotlib.pyplot as plt +import matplotlib.pyplot as plt import time from numpy.linalg import norm -- 2.47.3