
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Spring 2008
This assignment seeks to exercise your transformation and matrix skills. And yes, for better or for worse, it also tries to remind you that work on your project should be proceeding concurrently.
There are three parts to this assignment; they indi- vidually should not take too much time, and two weeks should be enough for all of them.
Commit a plain text file called progress.txt in your /projects/cmsi371 directories. In that file, include dated entries stating what you’ve done about your graphics project as of that date. The file may have as many entries as you wish, up to April 10. Feel free to also commit this file as frequently as neces- sary (just like the rest of your work!).
Write a Java method that performs matrix multipli- cation for matrices of arbitrary size, as well as a suite of JUnit tests for verifying that method’s cor- rectness. Implement the method within a class called math.Matrices, with this signature: public static double[][] multiply( double[][] m, double[][] n); Assume a [row][column] indexing scheme, and throw an IllegalArgumentException if the matrix arguments cannot be multiplied to each other. Commit your code under /homework/cmsi371/ matrices , with math.Matrices residing under src/ main/java and its test suite residing under src/test/ java within the matrices directory.
Answer the following questions on hardcopy:
You’ll get extra credit if you write up the answers to the written exercises (including intermediate ex- pressions, if necessary) in LaTeX, and commit the .tex source file under /homework/cmsi371/matrices (i.e., on the same level as the src directory).