One extended block of the block matrix of the modified QQP-Lagrangian. More...
#include <dualqqp.h>
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 | |
QqpDualFunc & | d |
The QQP dual function. | |
Protected Attributes | |
int | b_num |
The block number. |
One extended block of the block matrix of the modified QQP-Lagrangian.
Definition at line 563 of file dualqqp.h.
QqpExtMatrix::QqpExtMatrix | ( | QqpDualFunc & | d_, | |
int | b_num_ | |||
) | [inline] |
Constructor for a QqpDualFunc and a block number.
d_ | The dual function, this matrix is based on. | |
b_num_ | The number of the block of the QqpDualFunc, this matrix should evaluate. |
Multiplies the matrix of the Lagrangian with a dvector.
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.
y | The UserVector<double> to store the result in: y = *this * x. | |
x | The UserVector<double> to multiply with. |
Implements UserMatrix.
int QqpExtMatrix::b_num [protected] |