QqpMatrix Class Reference

A class for evaluating the dual function as in QqpDualFunc where the Lagrange multipliers of the quadratic box-constraints are eliminated by $\nabla L(x^\ast;\lambda)=0$. 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

A class for evaluating the dual function as in QqpDualFunc where the Lagrange multipliers of the quadratic box-constraints are eliminated by $\nabla L(x^\ast;\lambda)=0$.

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.
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.


Member Data Documentation

int QqpMatrix::b_num [protected]

The block number.

Definition at line 531 of file dualqqp.h.

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 10 Mar 2013 for LaGO by  doxygen 1.6.1