From 5ec1443ca141db7e596894a71701605939a72340 Mon Sep 17 00:00:00 2001
From: Bonnemains Matthieu <matthieu.bonnemains@student-cs.fr>
Date: Sat, 15 Mar 2025 14:39:25 +0000
Subject: [PATCH] Delete visualizer.py

---
 visualizer.py | 30 ------------------------------
 1 file changed, 30 deletions(-)
 delete mode 100644 visualizer.py

diff --git a/visualizer.py b/visualizer.py
deleted file mode 100644
index b336621..0000000
--- a/visualizer.py
+++ /dev/null
@@ -1,30 +0,0 @@
-import numpy as np
-import matplotlib.pyplot as plt
-from mpl_toolkits.mplot3d import Axes3D
-
-def plot_3d_function(f, x_range=(-200, 200), y_range=(-200, 200), resolution=5000):
-    x = np.linspace(x_range[0], x_range[1], resolution)
-    y = np.linspace(y_range[0], y_range[1], resolution)
-    X, Y = np.meshgrid(x, y)
-    Z = f(X, Y)
-    
-    fig = plt.figure(figsize=(8, 6))
-    ax = fig.add_subplot(111, projection='3d')
-    ax.plot_surface(X, Y, Z, cmap='viridis')
-    
-    ax.set_xlabel('X axis')
-    ax.set_ylabel('Y axis')
-    ax.set_zlabel('Z axis')
-    ax.set_title('3D Function Visualization')
-    
-    plt.show()
-
-# Example usage: Visualizing z = sin(sqrt(x^2 + y^2))
-def goldstein_price(x, y):
-    return (1 + (x + y + 1)**2 * (19 - 14*x + 3*x**2 - 14*y + 6*x*y + 3*y**2)) * (30 + (2*x - 3*y)**2 * (18 - 32*x + 12*x**2 + 48*y - 36*x*y + 27*y**2))
-
-def square_function(x, y):
-    return x**2 + y**2
-
-plot_3d_function(square_function)
-plot_3d_function(goldstein_price)
-- 
GitLab