libfitter.h 1.2 KB

123456789101112131415161718192021222324252627282930
  1. /*
  2. libfitter - a library to fit values to sinus using ROOT
  3. Copyright (C) 2015 Andrew A Savchenko <bircoph@gentoo.org>
  4. Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU Affero General Public License as
  7. published by the Free Software Foundation, either version 3 of the
  8. License, or (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU Affero General Public License for more details.
  13. You should have received a copy of the GNU Affero General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #include <stdint.h>
  17. #include "analyzer_root.h"
  18. extern void _Z11fitter_initmPd (uint64_t history_size, double *par);
  19. extern void _Z13fitter_deinitv ();
  20. extern double _Z7fitfuncPdS_ ( double *x, double *par );
  21. extern double _Z6fitteriP12history_itemmfPd ( int thread_id, history_item_t *history, uint64_t filled, float frequency, double *par );