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

7.3 Servers

For both symmetric and nonsymmetric eigenvalue problems, you can increase your control over the computation of the decomposition by using an eigenvalue server object.

There are two nonsymmetric eigenvalue server classes:

Both types of servers can be configured to return only selected eigenvectors. Here is how to use the RWHessEigServer<double> to compute only the first five right eigenvectors:

//1

First the matrix is defined and read in from standard input.

//2

When the eigenvalue server is constructed, the algorithm parameters are all set to default values.

//3

Here we change the setting of a parameter so that the left eigenvectors are not computed.

//4

Here we set the range in which we are interested using a subscripting object. The string is used as a constructor to an RWSlice object.

//5

This computes the decomposition.



Previous fileTop of DocumentContentsIndex pageNext 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.
Contact Rogue Wave about documentation or support issues.