Skip to content

andrewcmyers/Math-Seminar-Project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haskell Version

Generates a png representation of the Newton-Raphson convergence of the complex plane toward the roots of a polynomial. Use run.sh to generate the image file, output.png (may take several minutes). The -g, -z, -i, and -c options can be used to specify grid size, zoom, iterations, and contrast, respectively.

Ex.

./run.sh

Coefficients: 1 0 0 -1

Requires bash, python3, numpy, scipy, and Pillow.

Python Version

Checkout the python branch (very slow).

GPU

Requires pygame and PyOpenGL.

Does not create images yet.

python newton_gpu.py

About

Newton-Raphson Convergence

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 47.7%
  • Python 27.7%
  • GLSL 13.9%
  • Haskell 6.7%
  • Shell 3.3%
  • Makefile 0.7%