Mathematica ReadMe for Lay's Toolbox
for
Linear Algebra and Its Applications, Updated Second Edition
by
David C. Lay
Addison-Wesley Publishing Company, 2000

The packages in Lay's Toolbox are not part of commercial Mathematica, 
so you need to load them into your copy of Mathematica software.

These files are intended for use with Mathematica 3.0.

The M-files in the Toolbox are designed to accompany Linear Algebra 
and Its Applications, Updated Second Edition, by David C. Lay, 
Addison-Wesley Publishing Co., Reading, Massachusetts, 2000.  The 
Toolbox includes data for over 800 numerical exercises from 
the text, along with custom programs and M-files that will help 
the student learn fundamental concepts of linear algebra. The 
Mathematica commands needed are explained in the Study Guide 
that accompanies the text.

The Toolbox is made up of a LayFunctions package (LayFunctions.m) and 
homework packages (Chapter1.m, Chapter2.m, Chapter3.m, Chapter4.m,
Chapter5.m, Chapter6.m, Chapter7.m, Misc.m).  Numerical data in the 
Toolbox is organized by sections in the text.  For instance, after you
have completely installed Lay's Toolbox, you can open Mathematica and 
type c2s9[30] to obtain the data for exercise 30 in Chapter 2, Section
9. The following supplementary commands work the same as other 
Mathematica commands. 

Supplementary Commands

bgauss - (Backward gauss) Uses the leftmost nonzero entry in a 
selected row as the pivot, and creates zeros in the pivot column 
above the pivot entry.

gauss - Uses the leftmost nonzero entry in a selected row 
as the pivot, and creates zeros in the pivot column, below the 
pivot entry or in specified rows.

gs - Performs the Gram-Schmidt process on the columns of a 
matrix.  The columns need not be linearly independent.

nulbasis - Creates a basis for the null space of a given matrix.

proj - Computes the orthogonal projection onto a subspace.

randint - Creates a matrix with random integer entries.

randstoc - Creates a random stochastic matrix.

ref - Computes the reduced echelon form of a matrix.

replace - Performs one row replacement operation.

scale - Scales one row of a matrix.

swap - Interchanges two rows of a matrix.

-------------------------------------------------------------

INSTALLING THE LAY TOOLBOX PACKAGES

You can access Lay's Toolbox on the CD-ROM that comes with the 
book or on the Web site at http://www.laylinalgebra.com.

FIRST: Create a folder called LayData on your desktop.
Download the Lay's Toolbox from the CD-ROM or Web site.
Unstuff the compressed archive.
Place the unstuffed M-files in this laydata folder on your desktop.

REFER TO THE LAYDATAINSTRUCTIONS.NB FILE FOR DETAILS ON INSTALLING
THE PACKAGES.

The LayDataInstructions.nb file is a Mathematica Notebook file.  Open 
it in Mathematica.  This file instructs you how to store the packages,
how to load packages for use, how to obtain homework data for the text
exercises, and how to get information about the functions.

--------------------------------------------------------------
The author and  Addison-Wesley Publishing Company  make no 
representation or warranty of any kind, expressed or implied, with 
regard to the programs contained herein, including without limitations 
any implied warranties of merchantability or fitness for particular 
purposes,  all of which are expressly  disclaimed.  The author and  
Addison-Wesley  Publishing  Company shall not be liable for incidental 
or consequential damages in connection with or arising out of the use 
of these programs.
 
AL
May 1999