QqpExtMatrix Class Reference

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

#include <dualqqp.h>

Inheritance diagram for QqpExtMatrix:
Inheritance graph
[legend]
Collaboration diagram for QqpExtMatrix:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 QqpExtMatrix (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 extended block of the block matrix of the modified QQP-Lagrangian.

Definition at line 563 of file dualqqp.h.


Constructor & Destructor Documentation

QqpExtMatrix::QqpExtMatrix ( 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 575 of file dualqqp.h.


Member Function Documentation

void QqpExtMatrix::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.
void QqpExtMatrix::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 585 of file dualqqp.h.


Member Data Documentation

int QqpExtMatrix::b_num [protected]

The block number.

Definition at line 566 of file dualqqp.h.

The QQP dual function.

Definition at line 569 of file dualqqp.h.


The documentation for this class was generated from the following file:

Generated on 10 Mar 2013 for LaGO by  doxygen 1.6.1