A MATLAB implementation that uses gradient descent to estimate the Lipschitz constant of a function, with graph construction and geometric slit visualization.
drivingScript.m— Main script to run the projectgd_compute_lip.m— Computes global Lipschitz constant of the filling map over all graph edgesgd_local_lip.m— Computes worst Lipschitz ratio over edges incident to a single node (used inside descent loop)gd_dlookup.m/gd_get_row.m— Distance cache utilitieshl_build_graph_from_points.m— Constructs graph from point datahl_draw_slits_iter.m— Iterative slit drawinghl_overlay_grid_with_slit_holes.m— Grid and slit overlay visualizationhl_plot_graph_edges.m— Graph edge plotting
Slides in progress — view draft
MATLAB (R2021a or later recommended)