Toast++
1.0.2 (r.539)
Forward and inverse modelling in optical tomography
Main Page
Related Pages
Modules
Classes
Files
File List
libstoast
lsearch.h
1
// -*-C++-*-
2
// =========================================================================
3
// Generic inexact line search function
4
// Uses a callback function to evaluate objective function at trial steps
5
// =========================================================================
6
7
#ifndef __LSEARCH_H
8
#define __LSEARCH_H
9
10
#include "stoastlib.h"
11
12
typedef
double (*OF_CLBK)(
const
RVector
&x,
double
*ofparts,
void
*context);
13
14
31
STOASTLIB
int
LineSearch (
const
RVector
&x0,
const
RVector
&dx,
double
s0,
double
of0,
32
OF_CLBK of,
double
*smin,
double
*ofmin,
void
*context = 0);
33
34
#endif // !__LSEARCH_H
TVector
Templated vector class.
Definition:
vector.h:39
Generated on Tue Sep 2 2014 17:14:26 for Toast++ by
1.8.6