Closed pittachalk closed 4 years ago
Nice example, but as a general rule I would suggest to return the vector of iterates rather than printing out.
When you call the function, Julia will automatically output the sequence of iterates and tell you the length of the resulting vector. It also allows you to save the results for later plotting etc.
Add PDF and JMD for control flow. To generate PDF: