Programming Assignment 3
1 Overview
For this assignment you must implement a
Matrix
class
that works with your
Vector
class from
programming assignment 2.
This assignment is about matrix arithmetic. It does not use any new
features of C++.
2 Detailed Specification
The specifications for the classes in this assignment are available
in "documentation format". That is, you are being provided with the
documentation for the classes and your implementation must conform
to the documentation.
3 Unit Testing
You are responsible for testing your implementation. Again, you
should feel free to use either a third-party test
harness/framework or the "home grown" system from PA2. Obviously,
whatever framework/harness you use, you should continue to test
your Vector
class with all of your unit tests from
PA2.
4 Submission
You must submit a file named
pa3.zip
that contains
Vector.h
,
Vector.cpp
,
Matrix.h
, and
Matrix.cpp
using
Autolab.
5 A Special Note About Collaboration on this Assignment
You may share code from your unit tests (only) with other
students. However, if you include code in your unit tests that
you did not write you must include a comment (for each test case)
that credits the source. In either words, you may form a team to
create test cases (to reduce the burden on any individual but
still ensure that your code is adequately tested).
6 Grading
Points will be awarded as follows:
- Style: 15 points (Partial Credit)
- Documentation: 15 points (Partial Credit)
- Correctness: 70 points (Partial Credit)
7 Looking Ahead
In the next assignment you will modify your Vector
class so that it does not duplicate the functionality provided by
your Matrix
class. Instead, it will specialize your
Matrix
class.