7 #ifndef BALL_NMR_PEAKLIST_H
8 #define BALL_NMR_PEAKLIST_H
10 #ifndef BALL_NMR_PEAK_H
21 template <
typename PT>
23 :
public std::list<PT>
59 : std::list<
PT>(peak_list)
79 Iterator it = std::list<PT>::begin();
80 for (; it != std::list<PT>::end(); ++it)
82 it->setIntensity(it->getIntensity() * x);
93 for (; it != std::list<PT>::end(); ++it)
95 max =
std::max(max, it->getIntensity());
108 for (; it != std::list<PT>::end(); ++it)
110 min =
std::min(min, it->getIntensity());
137 #endif // BALL_NMR_PEAKLIST_H