MAT 685, Spring 2017
Topics in Computational Mathematics: C++ Programming for Mathematicians
Syllabus
Homework Assignments
Study guides:
Test 1
Test 2
Schedule
Slides used in class:
Introduction and “welcome”
C++ basics,
very
basics
Numbers and types
Computing the GCD: procedures, recursion, and loops
Bézout’s Identity: passing arguments by reference
Random numbers and Monte Carlo algorithms
Arrays of prime pairs
Points and classes
Containers
A modular class
Inheriting a ring
Material for final assignment (Rings library):
Source code (with incomplete
polynomial.cpp
file)
Documentation on the Rings library