ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtS800
lmfit
lmcurve.h
Go to the documentation of this file.
1
/*
2
* Project: LevenbergMarquardtLeastSquaresFitting
3
*
4
* File: lmcurve.h
5
*
6
* Contents: Simplified interface for one-dimensional curve fitting
7
*
8
* Author: Joachim Wuttke 2010
9
*
10
* Homepage: joachimwuttke.de/lmfit
11
*/
12
13
#include "
lmmin.h
"
14
15
#ifndef LMCURVE_H
16
#define LMCURVE_H
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
22
void
lmcurve_fit
(
int
n_par,
double
*par,
int
m_dat,
const
double
*t,
const
double
*
y
,
23
double
(*
f
)(
double
t,
const
double
*par),
const
lm_control_struct
*control,
lm_status_struct
*status);
24
25
#ifdef __cplusplus
26
}
27
#endif
28
29
#endif
/* LMCURVE_H */
lmmin.h
lmcurve_fit
void lmcurve_fit(int n_par, double *par, int m_dat, const double *t, const double *y, double(*f)(double t, const double *par), const lm_control_struct *control, lm_status_struct *status)
Definition:
lmcurve.cxx:33
lm_control_struct
Definition:
lmmin.h:23
f
double(* f)(double t, const double *par)
Definition:
lmcurve.cxx:21
lm_status_struct
Definition:
lmmin.h:35
y
const double * y
Definition:
lmcurve.cxx:20
Generated on Sat Nov 11 2023 15:30:38 for ATTPCROOT by
1.8.18