ConicBundle
Classes | Namespaces | Typedefs | Functions
MinorantPointer.hxx File Reference

Header declaring the class ConicBundle::MinorantPointer. More...

#include "MinorantUseData.hxx"
#include "sparsmat.hxx"

Go to the source code of this file.

Classes

class  ConicBundle::MinorantPointer
 points to MinorantUseData that may be shared by many and allows computations with Minorants More...
 

Namespaces

 ConicBundle
 conic bundle method solver for sum of convex functions. See the ConicBundle_Manual for a quick introduction.
 

Typedefs

typedef std::vector< MinorantPointer > ConicBundle::MinorantBundle
 a bundle is a vector with MinorantPointer entries
 

Functions

CH_Matrix_Classes::MatrixConicBundle::genmult (const MinorantBundle &A, const CH_Matrix_Classes::Matrix &B, CH_Matrix_Classes::Matrix &C, CH_Matrix_Classes::Real alpha=1., CH_Matrix_Classes::Real beta=0., int Atrans=0, int Btrans=0, CH_Matrix_Classes::Matrix *Coffset=0)
 computes and returns C=alpha*A*B+beta*C where A and B may be transposed and A is considered to have the gradients of the minorants of the bundle as columns. Because the bundle has no fixed row dimension, the dimension of C has to be compatible at input to serve as size in the untranposed case. If Coffset is given and A is not transposed, the offsets are treated as an extra row to be computed into Coffset, if A is transposed, the vector of offsets is added to Coffset with the same alpha and beta interpretation but without multiplication
 
CH_Matrix_Classes::MatrixConicBundle::genmult (const CH_Matrix_Classes::Matrix &A, const MinorantBundle &B, CH_Matrix_Classes::Matrix &C, CH_Matrix_Classes::Real alpha=1., CH_Matrix_Classes::Real beta=0., int Atrans=0, int Btrans=0, CH_Matrix_Classes::Matrix *Coffset=0)
 computes and returns C=alpha*A*B+beta*C where A and B may be transposed and B is considered to have the gradients of the minorants of the bundle as columns. Because the bundle has no fixed row dimension, the dimension of C has to be compatible at input to serve as size in the tranposed case. If Coffset is given and A is transposed, the offsets are treated as an extra column to be computed into Coffset, if A is not transposed, the row vector of offsets is added to the presized row vector Coffset with the same alpha and beta interpretation but without multiplication
 

Detailed Description

Header declaring the class ConicBundle::MinorantPointer.

Version
1.0
Date
2016-02-17
Author
Christoph Helmberg