Homework Assignment #4
Recursive Determinant Function
Margot Gerritsen
Shela Aboud
Emmet Caulfield
January 22, 2010
1
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
1
Introduction
In this homework assignment, you are given a partially complete matrix utility
library. Your task is to add a determinant function to the library that computes
the determinant of a given square matrix
recursively
.
As before, you will use
svn
to interact with your personal Subversion repository,
used in
Homework #3
, 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.
You can examine the (beautified) sourcecode and documentation, generated
with
Doxygen
, for the partially complete library at
http://www.stanford.
edu/
~
emmetc/CME211/HW4
.
2
Instructions
Read this entire document right through closely before you do anything else.
2.1
Directory Structure and Import
First,
export
the content of
http://ceessvn.stanford.edu/homeworks/HW4/
trunk
into an empty temporary directory and
import
it into your personal
repository with the prescribed structure (explained in HW2), just as you did in
Homework #3
.
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://ceessvn.stanford.edu/
yoursunetid
/HW4/trunk
— this is what we will collect from
ceessvn
at the assignment deadline.
2.2
The Task
You are given an incomplete matrix utility library, whose implementation (all
the function definitions) is in
matrix.c
and whose interface (all the function dec
larations) is in
matrix.h
. Your task is to add a
recursive
function that computes
the determinant of a matrix of arbitrary order
1
specified on the commandline.
This is the end of the preview.
Sign up
to
access the rest of the document.
 Winter '10
 Staff
 Determinant, Recursion, Laplace, Laplace expansion, matrix utility library

Click to edit the document details