Functions
Waveform.cxx File Reference
#include "WireCellUtil/Waveform.h"
#include <algorithm>
#include <Eigen/Core>
#include <unsupported/Eigen/FFT>
#include <complex>

Go to the source code of this file.

Functions

template<class Func >
Waveform::realseq_t c2r (const Waveform::compseq_t &seq, Func func)
 

Function Documentation

template<class Func >
Waveform::realseq_t c2r ( const Waveform::compseq_t seq,
Func  func 
)

Definition at line 48 of file Waveform.cxx.

49 {
50  Waveform::realseq_t ret(seq.size());
51  std::transform(seq.begin(), seq.end(), ret.begin(), func);
52  return ret;
53 }
Sequence< real_t > realseq_t
Definition: Waveform.h:31
tagset_t transform(const tagset_t &ts, const ruleset_t &rs, bool all_rules=true)
Definition: TagRules.cxx:43
def func()
Definition: docstring.py:7