Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Linear Algebra Module User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

8.1 Kinds of Decompositions

The decomposition classes of the Linear Algebra Module are low-level, concrete, efficient, implementations of the basic orthogonal decompositions of linear algebra. Three decompositions are directly supported:

Each of these decomposition classes is templatized on data types and a calculation class. The decomposition class uses the provided calculation class to perform the decomposition. For example, to construct a singular value decomposition object that uses the Lapack, version 3, divide and conquor algorithm to compute the decomposition, one would write:

RWSVDecomp< double, RWDDivConqCalc<double> > svd;

To construct a singular value decomposition object that uses the classic Lapack algorithm, one would write:

RWSVDecomp< double, RWSVDCalc<double> > svd: 

You can even implement a decomposition class using a calculation class you create yourself. See the Linear Algebra Module Reference Guide for the particular decomposition class and corresponding calculation classes.

An excellent use of these classes is as building blocks for classes meant to handle more specific sorts of problems. The least squares decomposition classes are an example of this approach.



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.