Introduction
Assignment 0: Writing a 2x2 Matrix Class
This assignment has two purposes. The first is to introduce you to writing code in TypeScript, which we will be using for assignments 1, 2, and your final projects. The second is provide you with the experience of writing a math library. Or, at least a small part of one... specifically, you will write a Mat2
class to represent 2x2 matrices.
We have provided detailed tutorials for:
- Setting up your environment
- Forking the assignment repo
- Getting started with TypeScript
- Implementing the missing parts of the
Mat2
class - Running tests to check your work
- Running the demo application at the end of the assignment
We also provide links to some external resources that may be useful under Additional Resources.
Do not wait until the last minute to complete this assignment! Some of you will no doubt have unusual settings on whatever device you plan to use. We can help if you bring these issues to us early.