Skip to main content

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:

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.