ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
df1b2f19.cpp
Go to the documentation of this file.
1 /*
2  * $Id$
3  *
4  * Author: David Fournier
5  * Copyright (c) 2008-2012 Regents of the University of California
6  */
11 #include <df1b2fun.h>
12 
17 double sqrt_m5(double x) {return .5/sqrt(x);}
18 
23 double sqrt_m32(double x) {return -.25/(sqrt(x)*x);}
24 
29 double sqrt_m52(double x) {return 3.0/(8.0*sqrt(x)*x*x);}
30 
32 
38 {
39  return ADf1b2_sqrt(x);
40 }
df1b2function1 ADf1b2_sqrt(::sqrt,::sqrt_m5,::sqrt_m32,::sqrt_m52,"sqrt")
double sqrt_m32(double x)
Description not yet available.
Definition: df1b2f19.cpp:23
#define x
Description not yet available.
Definition: df1b2fun.h:266
This is a function object for a function of one variable which stores the functions which calculate t...
Definition: df1b2fun.h:407
d3_array sqrt(const d3_array &arr3)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Definition: d3arr2c.cpp:11
double sqrt_m52(double x)
Description not yet available.
Definition: df1b2f19.cpp:29
Description not yet available.
double sqrt_m5(double x)
Description not yet available.
Definition: df1b2f19.cpp:17