Public Member Functions
SymmetricMatrix Class Reference

Abstract base class for interfacing matrix-vector operations tailored to symmetric matrices. More...

#include <Matrices.hpp>

Inheritance diagram for SymmetricMatrix:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual returnValue bilinear (const Indexlist *const icols, int xN, const real_t *x, int xLD, real_t *y, int yLD) const =0

Detailed Description

Abstract base class for interfacing matrix-vector operations tailored to symmetric matrices.

Abstract base class for symmetric matrices. Extends Matrix interface with bilinear form evaluation.

Author:
Andreas Potschka, Christian Kirches, Hans Joachim Ferreau
Version:
3.0beta
Date:
2011

Definition at line 246 of file Matrices.hpp.


Member Function Documentation

virtual returnValue SymmetricMatrix::bilinear ( const Indexlist *const  icols,
int  xN,
const real_t x,
int  xLD,
real_t y,
int  yLD 
) const [pure virtual]

Compute bilinear form y = x'*H*x using submatrix given by index list.

Returns:
SUCCESSFUL_RETURN
Parameters:
icolsIndex list specifying columns of x.
xNNumber of vectors to multiply.
xInput vector to be multiplied (uncompressed).
xLDLeading dimension of input x.
yOutput vector of results (compressed).
yLDLeading dimension of output y.

Implemented in SymSparseMat, and SymDenseMat.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 12:01:40