HW8-instructions

HW8-instructions - Homework Assignment #8 LU-Based...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Homework Assignment #8 LU-Based Determinant Function in C++ Margot Gerritsen Shela Aboud Emmet Caulfield March 1, 2010 1 1 Introduction In this homework assignment, you are given a partially complete matrix class , written in C++ . Your task, virtually identical Homework #5 , is to add an LU-based determinant function to the class. As before, you will use svn to interact with your personal Subversion repository, as used from Homework #2 onward and, again, with the structure prescribed in Homework #2 . You may collaborate and consult freely with other people, but this is not a team or group assignment your solution must be your own. 2 Instructions Read every word of this entire document right through closely before you do anything else. Absolutely do not skim. 2.1 Directory Structure and Import First, export the content of http://cees-svn.stanford.edu/homeworks/HW8/ trunk into an empty temporary directory and import it into your personal repository at http://cees-svn.stanford.edu/ your-sunet-id with the struc- ture prescribed in HW2, just as you should have done in previous homeworks. You can read more about Subversion in the online book, Version Control with Subversion . After these export and import operations, the trunk for this homework assign- ment should be at http://cees-svn.stanford.edu/ your-sunet-id /HW8/trunk this is what we will collect from cees-svn at the assignment deadline. If you cannot svn checkout your work from http://cees-svn.stanford.edu/ your- sunet-id /HW8/trunk , then neither can we. If we cant, you automatically get zero for non-submission, so make absolutely certain that you can checkout your submission from that URL before the deadline. 2.2 The Task You are given an incomplete matrix class, whose implementation is in Matrix.cc and whose interface is in Matrix.hh . Your task is to fill in the correct functionality for the ludet() method using the overloaded parentheses operator to access individual elements in the matrix . It should compute the determinant of the Matrix and return the determinant as a value of type double , using the product of the diagonal elements of the LU decomposition of the matrix passed to it (see 4 )....
View Full Document

Page1 / 7

HW8-instructions - Homework Assignment #8 LU-Based...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online