Public Member Functions
SymDenseMat Class Reference

Interfaces matrix-vector operations tailored to symmetric dense matrices. More...

#include <Matrices.hpp>

Inheritance diagram for SymDenseMat:
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
virtual Matrixduplicate () const
 SymDenseMat ()
 SymDenseMat (int m, int n, int lD, real_t *v)

Detailed Description

Interfaces matrix-vector operations tailored to symmetric dense matrices.

Symmetric dense matrix class.

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

Definition at line 404 of file Matrices.hpp.


Constructor & Destructor Documentation

Default constructor.

Definition at line 408 of file Matrices.hpp.

SymDenseMat::SymDenseMat ( int  m,
int  n,
int  lD,
real_t v 
) [inline]

Constructor from vector of values.

Parameters:
mNumber of rows.
nNumber of columns.
lDLeading dimension.
vValues.

Definition at line 411 of file Matrices.hpp.


Member Function Documentation

returnValue SymDenseMat::bilinear ( const Indexlist *const  icols,
int  xN,
const real_t x,
int  xLD,
real_t y,
int  yLD 
) const [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.

Implements SymmetricMatrix.

Definition at line 445 of file Matrices.cpp.

Matrix * SymDenseMat::duplicate ( ) const [virtual]

Returns a deep-copy of the Matrix object.

Returns:
Deep-copy of Matrix object

Reimplemented from DenseMatrix.

Definition at line 424 of file Matrices.cpp.


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


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