/* Example programs from the book Scientific and Engineering Programming in C++: An Introduction with Advanced Techniques and Examples, Addison-Wesley, 1994. (c) COPYRIGHT INTERNATIONAL BUSINESS MACHINES CORPORATION 1994. ALL RIGHTS RESERVED. See README file for further details. */ #ifndef PeakModelParametersH #define PeakModelParametersH #include "DataModeling/ModelParameter.h" template class PeakModelParameters3d { public: PeakModelParameters3d(double a, double m, double w): the_area(a), the_mean(m), the_width(w) { } ModelParameter area() const { return the_area; } ModelParameter mean() const { return the_mean; } ModelParameter width() const { return the_width; } private: ModelParameter the_area; ModelParameter the_mean; ModelParameter the_width; }; #endif