VISH  0.2
Classes | Public Types | Public Member Functions | Static Public Member Functions
Eagle::LowerTriangular Class Reference

A symmetric matrix stored in lower triangular form. More...

#include </home/werner/origo/vish/ocean/eagle/Matrix.hpp>

List of all members.

Classes

Public Types

Public Member Functions

Static Public Member Functions


Detailed Description

A symmetric matrix stored in lower triangular form.

For a 3x3 symmetric matrix (six independent components) we get the following layout:

0 1 3
1 2 4
3 4 5

and for a 4x4 symmetric matrix with ten components we get:

0 1 3 6
1 2 4 7
3 4 5 8
6 7 8 9

This layout ensures that the upper left submatrix of lower dimension is always contained in higher dimensional matrices. I.e. a matrix of type LowerTriangular<N> may always be casted to a matrix of type LowerTriangular<N-n> with n<N.

Examples:

Matrix.cpp.


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