Grid 0.7.0
Grid::PowerSpectrum Class Reference

#include <PowerSpectrum.h>

Public Member Functions

 PowerSpectrum (std::vector< RealD > &bins, std::vector< int > &_order)
template<class Field>
RealD operator() (LinearOperatorBase< Field > &HermOp, const Field &src)

Static Public Member Functions

template<typename T>
static RealD normalise (T &v)

Data Fields

std::vector< RealDranges
std::vector< int > order

Detailed Description

Definition at line 22 of file PowerSpectrum.h.

Constructor & Destructor Documentation

◆ PowerSpectrum()

Grid::PowerSpectrum::PowerSpectrum ( std::vector< RealD > & bins,
std::vector< int > & _order )
inline

Definition at line 37 of file PowerSpectrum.h.

References order, and ranges.

Member Function Documentation

◆ normalise()

template<typename T>
RealD Grid::PowerSpectrum::normalise ( T & v)
inlinestatic

Definition at line 26 of file PowerSpectrum.h.

References norm2(), and sqrt().

◆ operator()()

template<class Field>
RealD Grid::PowerSpectrum::operator() ( LinearOperatorBase< Field > & HermOp,
const Field & src )
inline

Field Documentation

◆ ranges

std::vector<RealD> Grid::PowerSpectrum::ranges

Definition at line 34 of file PowerSpectrum.h.

Referenced by operator()(), and PowerSpectrum().

◆ order

std::vector<int> Grid::PowerSpectrum::order

Definition at line 35 of file PowerSpectrum.h.

Referenced by operator()(), and PowerSpectrum().


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