Interfaces matrix-vector operations tailored to symmetric dense matrices. More...
#include <Matrices.hpp>

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 Matrix * | duplicate () const |
| SymDenseMat () | |
| SymDenseMat (int m, int n, int lD, real_t *v) | |
Interfaces matrix-vector operations tailored to symmetric dense matrices.
Symmetric dense matrix class.
Definition at line 404 of file Matrices.hpp.
| SymDenseMat::SymDenseMat | ( | ) | [inline] |
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.
| m | Number of rows. |
| n | Number of columns. |
| lD | Leading dimension. |
| v | Values. |
Definition at line 411 of file Matrices.hpp.
| 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.
| icols | Index list specifying columns of x. |
| xN | Number of vectors to multiply. |
| x | Input vector to be multiplied (uncompressed). |
| xLD | Leading dimension of input x. |
| y | Output vector of results (compressed). |
| yLD | Leading 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.
Reimplemented from DenseMatrix.
Definition at line 424 of file Matrices.cpp.