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:

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

You can even implement a decomposition class using a calculation class you create yourself. See Linear Algebra Module | Decomposition on the Modules tab of the SourcePro C++ API Reference Guide for the decomposition classes 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 DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.