#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include "lsst/afw/math/minimize.h"
Go to the source code of this file.
◆ declareMinimize()
template<typename ReturnT >
void declareMinimize |
( |
py::module & |
mod | ) |
|
Definition at line 34 of file minimize.cc.
A Function taking two arguments.
Results from minimizing a function.
A Function taking one argument.
◆ PYBIND11_MODULE()
PYBIND11_MODULE |
( |
minimize |
, |
|
|
mod |
|
|
) |
| |
Definition at line 46 of file minimize.cc.
47 py::class_<FitResults> clsFitResults(mod,
"FitResults");
49 clsFitResults.def_readwrite(
"chiSq", &FitResults::chiSq);
50 clsFitResults.def_readwrite(
"parameterList", &FitResults::parameterList);
51 clsFitResults.def_readwrite(
"parameterErrorList", &FitResults::parameterErrorList);
53 declareMinimize<double>(mod);
54 declareMinimize<float>(mod);