QqpMatrix Class Reference

One block of the block matrix of the modified QQP-Lagrangian. More...

#include <dualqqp.h>

Inheritance diagram for QqpMatrix:

Inheritance graph
[legend]
Collaboration diagram for QqpMatrix:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QqpMatrix (QqpDualFunc &d_, int b_num_)
 Constructor for a QqpDualFunc and a block number.
void MultV (dvector &y, const dvector &x) const
 Multiplies the matrix of the Lagrangian with a dvector.
void MultV (UserVector< double > &y, const UserVector< double > &x) const
 Multiplies with a UserVector<double>.

Public Attributes

QqpDualFuncd
 The QQP dual function.

Protected Attributes

int b_num
 The block number.

Detailed Description

One block of the block matrix of the modified QQP-Lagrangian.

Definition at line 528 of file dualqqp.h.


Constructor & Destructor Documentation

QqpMatrix::QqpMatrix ( QqpDualFunc d_,
int  b_num_ 
) [inline]

Constructor for a QqpDualFunc and a block number.

Parameters:
d_ The dual function, this matrix is based on.
b_num_ The number of the block of the QqpDualFunc, this matrix should evaluate.

Definition at line 541 of file dualqqp.h.


Member Function Documentation

void QqpMatrix::MultV ( dvector y,
const dvector x 
) const

Multiplies the matrix of the Lagrangian with a dvector.

Parameters:
y The dvector to store the result in.
x The dvector to multiply with this matrix.

Referenced by MultV().

void QqpMatrix::MultV ( UserVector< double > &  y,
const UserVector< double > &  x 
) const [inline, virtual]

Multiplies with a UserVector<double>.

Abstract.

Parameters:
y The UserVector<double> to store the result in: y = *this * x.
x The UserVector<double> to multiply with.
See also:
MultV(double*, double*)

Implements UserMatrix.

Definition at line 551 of file dualqqp.h.

References MultV(), and UserVector< Type >::size().


Member Data Documentation

int QqpMatrix::b_num [protected]

The block number.

Definition at line 531 of file dualqqp.h.

QqpDualFunc& QqpMatrix::d

The QQP dual function.

Definition at line 534 of file dualqqp.h.


The documentation for this class was generated from the following file:
Generated on Mon Oct 20 03:12:46 2008 for LaGO by  doxygen 1.4.7