SymmetricMatrix< size, T > Class Template Reference

This class holds a symmetric matrix. More...

#include <Matrix.h>

Inheritance diagram for SymmetricMatrix:

Inheritance graph
[legend]
Collaboration diagram for SymmetricMatrix< size, T >:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { nColumns = size }
enum  { nRows = size }

Public Methods

 SymmetricMatrix ()
 SymmetricMatrix (const parentType &p)
 SymmetricMatrix (const MtxAsymmetric &m)
_Myt operator- (const _Myt &m) const
_Myt operator+ (const _Myt &m) const
_Myt operator * (int n) const
_Myt operator * (float f) const
_Myt operator * (double f) const
_Myt operator/ (int n) const
_Myt operator/ (float n) const
_Myt operator/ (double n) const
bool operator== (_Myt &m) const
void operator+= (_Myt &m)
void operator-= (_Myt &m)
void operator= (const _Myt &m)
T & operator() (int col, int row)
T & operator[] (int n)
operator[] (int n) const
void print (char *str="") const
template<int N> Matrix< N, nRows, T > operator * (const SymmetricMatrix< N, T > &m) const
template<int theirCols, int theirRows> Matrix< theirCols, nRows, T > operator * (const Matrix< theirCols, theirRows, T > &m) const
void operator= (const Matrix< size, size, T > &m)
T & elementAt (int col, int row)
elementAt (int col, int row) const

Detailed Description

template<int size, typename T>
class SymmetricMatrix< size, T >

This class holds a symmetric matrix.

It supports most operations with...

* other "SymmetricMatrix" objects * "Matrix" objects * floats and doubles

It takes up only the space a symmetrical matrix needs, which is the triangular of the width. (note that all symmetrical matrices are also square matrices).

Definition at line 204 of file Matrix.h.


The documentation for this class was generated from the following file:
Generated on Tue May 21 03:35:14 2002 for Archimedes by doxygen1.2.15