ADMB Documentation  11.1x.2738
 All Classes Files Functions Variables Typedefs Friends Defines
Defines | Functions | Variables
newfmin.cpp File Reference

(* $Id: newfmin.cpp 2682 2014-11-18 19:34:12Z johnoel $)

Source code for quasi-Newton function minimizer. More...

#include <fvar.hpp>
#include <signal.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>

Go to the source code of this file.

Defines

#define getch   getchar

Functions

void clrscr ()
double dafsqrt (double x)
 Robust square root.
ofstream logstream ("fmin.log")
void onintr (int k)
void print_values (const double &f, const dvector &x, const dvector &g)
 Description not yet available.
void tracing_message (int _traceflag, const char *s)
 Description not yet available.
void tracing_message (int _traceflag, const char *s, int *pn)
 Description not yet available.
void tracing_message (int _traceflag, const char *s, double *pd)
 Description not yet available.
void tracing_message (int _traceflag, const char *s, double d)
 Description not yet available.

Variables

int ctlc_flag
 Description not yet available.
int log_values_switch = 0
adtimerpfmintime = 0
int * pointer_to_phase = 0
int traceflag

Detailed Description

Source code for quasi-Newton function minimizer.

Definition in file newfmin.cpp.


Define Documentation

#define getch   getchar

Definition at line 63 of file newfmin.cpp.

Referenced by fmm::fmin().


Function Documentation

void clrscr ( )

Definition at line 14 of file clrscr.cpp.

Referenced by fmm::fmin(), and fmmt1::fmin().

double dafsqrt ( double  x)

Robust square root.

Parameters:
xDouble precision argument $x; x \ge 0$.
Returns:
$\sqrt{x}$ for $x>0$, 0 otherwise.

Definition at line 984 of file newfmin.cpp.

Referenced by fmm::fmin(), and fmmt1::fmin().

ofstream logstream ( "fmin.log"  )

Referenced by print_values().

void onintr ( int  k)

Definition at line 46 of file newfmin.cpp.

Referenced by fmm::fmin(), and fmmt1::fmin().

void print_values ( const double &  f,
const dvector x,
const dvector g 
)

Description not yet available.

Parameters:

Definition at line 141 of file newfmin.cpp.

Referenced by fmm::fmin().

void tracing_message ( int  _traceflag,
const char *  s 
)

Description not yet available.

Parameters:

Definition at line 79 of file newfmin.cpp.

Referenced by function_minimizer::computations(), function_minimizer::computations1(), fmm::fmin(), and function_minimizer::minimize().

void tracing_message ( int  _traceflag,
const char *  s,
int *  pn 
)

Description not yet available.

Parameters:

Definition at line 94 of file newfmin.cpp.

void tracing_message ( int  _traceflag,
const char *  s,
double *  pd 
)

Description not yet available.

Parameters:

Definition at line 109 of file newfmin.cpp.

void tracing_message ( int  _traceflag,
const char *  s,
double  d 
)

Description not yet available.

Parameters:

Definition at line 124 of file newfmin.cpp.


Variable Documentation

int ctlc_flag

Description not yet available.

Parameters:

Definition at line 68 of file gradstrc.cpp.

Definition at line 134 of file newfmin.cpp.

Referenced by fmm::fmin().

Definition at line 147 of file newfmin.cpp.

int* pointer_to_phase = 0

Definition at line 71 of file newfmin.cpp.

Referenced by fmm::fmin(), and initial_params::initial_params().

int traceflag

Definition at line 18 of file fvar1.cpp.