SourcePro C++ 12.0 |
SourcePro® C++ API Reference Guide |
SourcePro C++ Documentation Home |
Abstract base class for the nonsymmetric eigenvalue servers. More...
#include <rw/lapack/eigsrv.h>
Public Member Functions | |
virtual RWEigDecomp< TypeT > | operator() (const RWGenMat< TypeT > &)=0 |
The class RWEigServer<T> is an abstract base class for the nonsymmetric eigenvalue servers. For each precision, the Linear Algebra Module supplies two derived types:
The reason for having a base class for an eigenvalue server is to allow access to the eigenvalue decomposition objects, RWEigDecomp<T>, by the different servers. By making the base class a friend to the decomposition object, then providing protected member functions to access the internals of the RWEigDecomp<T> object, we effectively make all subclasses of RWEigServer<T> friends to the decomposition. This way, servers can be added in the future without changing the decomposition object code.
#include <rw/lapack/eigsrv.h> RWEigDecomp<double> eig = server(A); // server is a // RWEigServer<double>
virtual RWEigDecomp<TypeT> RWEigServer< TypeT >::operator() | ( | const RWGenMat< TypeT > & | ) | [pure virtual] |
Creates a decomposition using the server.
Implemented in RWSchurEigServer< TypeT >, and RWHessEigServer< TypeT >.
© 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.