GLAMERDOC++
Gravitational Lensing Code Library
Loading...
Searching...
No Matches
Utilities::SymmetricMatrix< T > Class Template Reference

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
 

Detailed Description

template<typename T>
class Utilities::SymmetricMatrix< T >

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.


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