SprsMtrx - Sparse matrix demo
Copyright (c) 1997 SoftCircuits Programming (R)
Redistributed by Permission.

This Visual Basic 5.0 example program demonstrates a simple sparse
matrix class. A sparse matrix class behaves like a 2-dimensional
array. However, it is indended for enormous arrays that are mostly
empty. For example, if you used a two-dimensional array to represent
a spreadsheet with 500 rows and 500 columns, the array would contain
250,000 elements. This would be an incredible waste of memory if the
spreadsheet only contained a handful of items.

Here, a sparse matrix class can be used to handle large arrays that
are only sparsely populated. The sparse matrix class takes advantage
of Visual Basic's property Let and Get statements to provide the
functionality of a sparse matrix with the same simple syntax required
for a two-dimensional array.

This program may be distributed on the condition that it is
distributed in full and unchanged, and that no fee is charged for
such distribution with the exception of reasonable shipping and media
charged. In addition, the code in this program may be incorporated
into your own programs and the resulting programs may be distributed
without payment of royalties.
