Hw7 - CS1372 Fall 2006 HW 07 Vector and Matrices The goal of this assignment is to construct Magic Squares of arbitrary size and then write enough

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

View Full Document Right Arrow Icon
CS1372 Fall 2006 HW 07 – Vector and Matrices The goal of this assignment is to construct Magic Squares of arbitrary size and then write enough code to validate their properties. You will be writing a number of functions that should be ready for incorporation in the matrix and vector library. However, do not import them into the library. Use the solution structure provided to you as StudentMatrixLib. Write a header file called myLibrary.h for the functions you create that are not already in the library, and write one separate file called myLibrary.cpp containing the code for all the functions you create, including those that are defined in the library header files but not written. The Assignment There is a good discussion and algorithm for building magic squares at: http://www.jcu.edu/math/vignettes/magicsquares.htm Following their advice, we will stick to building magic squares with odd numbers only for the side count. We want to verify the following properties of magic squares:
Background image of page 1

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

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

This note was uploaded on 06/17/2008 for the course CS 1372 taught by Professor Smith during the Fall '07 term at Georgia Institute of Technology.

Page1 / 2

Hw7 - CS1372 Fall 2006 HW 07 Vector and Matrices The goal of this assignment is to construct Magic Squares of arbitrary size and then write enough

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

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