GLAMERDOC++
Gravitational Lensing Code Library
|
Symetric matrix. More...
#include <utilities_slsim.h>
Public Member Functions | |
SymmetricMatrix (size_t n) | |
T & | operator() (int i, int j) |
T & | operator[] (size_t k) |
int | size () |
size_t | oned_index (int i, int j) |
convertion from 2d to 1d index | |
Symetric matrix.
This is a class to represent symmetric maticies so that they can be accessed as normal but takes up n(n+1)/2 in memory.