The Wolfram Technology Guide


Technology Guide

More About Mathematica
Sparse Arrays  
PreviousNext
 
   
 
Dramatic time savings can result from using sparse data representation. The graph compares the time taken to solve systems of linear equations utilizing sparse (orange) and dense (gray) representations. The effect becomes particularly pronounced as the size of the calculation grows.

Note: Times are for a 3.6 GHz Pentium 4 processor running Windows XP.

Sparse arrays are those in which most of the elements (sparse matrices, or vectors, or tensors) are zero or--more generally--a common value.

Mathematica's SparseArray technology offers a uniquely efficient way to store and manipulate large sparse objects. In fact, Mathematica can perform very-large-scale linear algebra operations at higher speeds--and with smaller memory footprints--than specialized numerical systems can.

Related Links
Advanced documentation: Sparse arrays
Function documentation: SparseArray
Mathematica product information: High-speed sparse linear algebra
The Mathematica Book: Sections 2.4.5, A.9.4





© 2006 Wolfram Research, Inc.