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

RWQRDecompServer<T,QRCalc>

Module:  Linear Algebra   Group:  Decomposition classes


Does not inherit

Local Index

Members

Synopsis

#include <rw/lapack/qr.h>
#include <rw/lapack/qrcalcp3.h>

RWQRDecompServer<double, RWQRCalcP3<double> > server;

Description

The QR decomposition server class, RWQRDecompServer<T,QRCalc>, is used to construct instances of the QR decomposition class, RWQRDecomp<T,QRCalc>. Using a server rather than the standard QR decomposition constructor gives you control over how pivoting is done.

Normally, columns in the input matrix may be moved in order to increase the robustness of the computation of the QR decomposition. This is called pivoting. In some cases, you may want to ensure that certain columns of the input matrix are kept at the front of the QR decomposition, or you may want to disable pivoting altogether. Using a server object gives you this control.


NOTE -- For greater flexibility, the user can implement this method, or the Linear Algebra Module provides two classes to perform this function - RWQRCalc<T> and RWQRCalcP3<T>. Please see their descriptions in this reference guide for more information.

Example

Public Constructor

RWQRDecompServer();

Public Member Functions

void
setFreeIndex(int i);
void
setInitialIndex(int i);
void
setPivoting(bool);

Public Member Operator

RWQRDecomp<T,QRCalc>     
operator()
(const RWGenMat<T>&);


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.