Classes | Public Types | Public Member Functions | Static Public Member Functions

LowerTriangular< N, value > Class Template Reference
[Small Matrix Classes]

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

#include <ocean/eagle/Matrix.hpp>

Inherits @593::Vector< value, N *(N+1)/2 >.

List of all members.

Classes

Public Types

Public Member Functions

Static Public Member Functions


Detailed Description

template<int N, class value>
class LowerTriangular< N, value >

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: