Revision 1204
trunk/src/linad99/newfmin.cpp (revision 1204)  

4  4 
* Author: Unknown 
5  5 
* Copyright (c) 20092012 ADMB Foundation 
6  6 
* 
7 
* This file was originally written in FORTRAN II by and unknown author.


7 
* This file was originally written in FORTRAN II by an unknown author. 

8  8 
* In the 1980s, it was ported to C and C++ and extensively modified by 
9  9 
* David Fournier. 
10  10 
* 
11  11 
*/ 
12  12 
/** 
13  13 
\file newfmin.cpp 
14 
Souce code for quasiNewton function minimizer. 

14 
Source code for quasiNewton function minimizer.


15  15 
*/ 
16  16  
17  17 
#include <fvar.hpp> 
...  ...  
872  872  
873  873 
/** 
874  874 
Robust square root. 
875 
\param x Double precision argunent \f$x; x \ge 0\f$.


875 
\param x Double precision argument \f$x; x \ge 0\f$.


876  876 
\return \f$\sqrt{x}\f$ for \f$x>0\f$, 0 otherwise. 
877  877 
*/ 
878  878 
double dafsqrt( double x ) 
Also available in: Unified diff