npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
matrixIndexPairs.hh File Reference

Utility for enumerating pairs on diagonals of symmetric matrices. More...

#include <vector>
#include <utility>

Go to the source code of this file.

Namespaces

 npstat
 

Typedefs

typedef std::pair< unsigned, unsigned > npstat::UUPair
 

Functions

std::vector< UUPair > npstat::matrixIndexPairs (unsigned nDiagonalsToUse, unsigned nRows, bool remove00=false, bool addAllZeroPairs=false)
 

Detailed Description

Utility for enumerating pairs on diagonals of symmetric matrices.

Author: I. Volobouev

July 2018