THE JAMPACK OWNER'S MANUAL
G. W. Stewart
Department of Computer Science
Institute for Advanced Computer Studies
University of Maryland
Mathematical and Computations Sciences Division
NIST
stewart@cs.umd.edu
http://www.cs.umd.edu/~stewart/
This document describes a pre-alpha release of Jampack--a package
for manipulating matrices in Java. It is not a tutorial and assumes
that the reader is familiar with matrices and Java programming.
Nontheless it should serve to get you started.
Jampack, like its author, has one foot in the University of Maryland
and the other in NIST. In preparing Jampack, I have been particularly
indebted to my friends at NIST--Ron Boisvert, Bruce Miller, Roldan
Pozo, and Karen Remmington. There willingness to listen to my ideas
and their helpful advice turned what might have been a long, lonely
slog of coding into a stimulating project.
Contents
- Overview
- What is Jampack?
- The classes of Jampack
- Indexing
- History
- I/O
- Parameters
- The base index
- History
- Printing
- Complex numbers and arithmetic (the
class Z)
- Complex numbers
- Complex arithmetic
- Complex arrays (the class Z1)
- Matrix classes
- The base index and looping
- The class Zmat
- The tag classes (Zutmat,
Zltmat, Zpsdmat)
- The class Zdiagmat
- Operations
- The Plus suite
- The Minus suite
- The Times suite
- The H suite
- Linear Systems
- Inverses and linear systems
- The Solve suite
- Matrix Functions
- The matrix inverse
(the Inv Suit)
- The Norm suite
- The trace
- New Matrices
-
Identity matrices (the Eye suite)
-
Partitioning matrices (the Block suite)
-
Concatenating matrices (the Merge suite)
-
Random matrices (the Rand suite)
- Input/Output
-
The Print suite
- Decompositions
-
The LU decomposition (Zludpp)
-
The Cholesky decomposition (Zchol)
-
The QR decomposition (Zqrd, Zhqrd)
-
The spectral decomposition of a
Hermitian matrix (Zspec )
-
The singular value decomposition (Zsvd)
- Hessenberg form (Zhess)
- Schur form (Schur)
- Eigenvalue-vector form (Eig)
- Transformations
-
Householder Transformations
(The House Suite)
- Pivoting (the Pivot suite)
- Plane rotations (the Rot suite)
- Swapping Rows and Columns
(the Swap suite)
- Class index with pointer to java
and javadoc files and manual entries)