Classes
nl_ex.cpp File Reference
#include "newmatnl.h"
#include "newmatio.h"
Include dependency graph for nl_ex.cpp:

Go to the source code of this file.

Classes

class  Model_3pe
#define WANT_STREAM
#define WANT_MATH
int my_main ()
int main ()

Detailed Description

Example of non-linear least squares fit.

This is an example of a non-linear least squares fit. The example is from "Nonlinear estimation" by Gavin Ross (Springer,1990), p 63. There are better ways of doing the fit in this case so this example is just an example.

The model is E(y) = a + b exp(-kx) and there are 6 data points.

Definition in file nl_ex.cpp.


Define Documentation

#define WANT_MATH

Definition at line 15 of file nl_ex.cpp.

#define WANT_STREAM

Definition at line 14 of file nl_ex.cpp.


Function Documentation

int main ( void  )

Definition at line 104 of file nl_ex.cpp.

int my_main ( )

Definition at line 52 of file nl_ex.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


kni
Author(s): Neuronics AG (see AUTHORS.txt); ROS wrapper by Martin Günther
autogenerated on Tue May 28 2013 14:52:55