Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica Products
-----
 /
Mathematica
*Fast Dense Numerical Linear Algebra
<High-Speed Sparse Linear Algebra
*Large-Scale Linear Systems
*Big-Number Arithmetic
*64-Bit Platform Support
*Faster MathLink
*Numerical Solving of Differential Equations
*Numerical Equation Solving
*Fitting Data
*Numeric Optimization
*DSolve
*RSolve
*Reduce
*Resolve
*FindInstance
*Symbolic Global Optimization
*Wider Support For Domain Specifications
*Connection Technology
*Importing and Exporting
*Statistical Plots
*Collecting Expressions During Evaluation
*New Linear Algebra Functions
*Algebraic Number Objects
*Authoring and Presentation
*Summary of New Features
*Ask about this page

High-Speed Sparse Linear Algebra

See What's New in Wolfram Mathematica 6

Mathematica 5 utilizes specialized techniques to make computations involving sparse matrices (matrices in which most of the elements are zero) vastly more efficient for large-scale problems. These improvements make Mathematica highly suitable for large-scale simulations, optimization, or solving of partial or ordinary differential equations--all examples in which sparse matrices are typically involved.

Mathematica 5's implementation of sparse linear algebra is unique because:

  • Symbolic preprocessing optimizes the formation of sparse matrices.
  • Sparse algorithms are automatically utilized where they would improve performance, without user intervention. (They can be manually evoked where required, too--for example, for comparison with traditional numerical systems.)
  • Any dimension (or rank) of array is handled.

The performance in speed and memory utilization of sparse linear algebra operations is on a par with, or better than, those in dedicated numerical systems.

More Details PreviousNext

The following graph shows the large difference in size between sparse and dense representations of a matrix with three nonzero elements per row.

Graph: Memory required to store the dense and sparse form of an n-x-n array with 3 entries per row

Many common matrix operations on sparse arrays are significantly faster than operations on dense arrays. The following graph shows the time it takes to invert a matrix with three nonzero elements per row in Mathematica 5 and 4.2.

Graph: Time needed to invert an n-x-n matrix with 3 nonzero entries per row


Related Links


Documentation from The Mathematica Book Documentation from The Mathematica Book
Manipulating Lists: Sparse Arrays
Linear Algebra: Sparse Arrays
Matrix Inversion
  
Link from Advanced Documentation Advanced Documentation
Linear Algebra
  
Documnetation from the Reference Guide Documentation from the Reference Guide
SparseArray
Inverse
  
Other Links Other Links
gigaNumerics (Key Technology)



Back to Top PreviousNext



 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja]