root / branches / pthreads737 / src / df1b2separable / df1b2f19.cpp @ 765
History  View  Annotate  Download (752 Bytes)
1 
/*


2 
* $Id: df1b2f19.cpp 542 20120710 21:04:06Z johnoel $

3 
*

4 
* Author: David Fournier

5 
* Copyright (c) 20082012 Regents of the University of California

6 
*/

7 
/**

8 
* \file

9 
* Description not yet available.

10 
*/

11 
#include <df1b2fun.h> 
12  
13 
/**

14 
* Description not yet available.

15 
* \param

16 
*/

17 
double sqrt_m5(double x) {return .5/sqrt(x);} 
18  
19 
/**

20 
* Description not yet available.

21 
* \param

22 
*/

23 
double sqrt_m32(double x) {return .25/(sqrt(x)*x);} 
24  
25 
/**

26 
* Description not yet available.

27 
* \param

28 
*/

29 
double sqrt_m52(double x) {return 3.0/(8.0*sqrt(x)*x*x);} 
30  
31 
df1b2function1 ADf1b2_sqrt(::sqrt,::sqrt_m5,::sqrt_m32,::sqrt_m52,"sqrt");

32  
33 
/**

34 
* Description not yet available.

35 
* \param

36 
*/

37  
38 
df1b2variable sqrt(const df1b2variable& x)

39 
{ 
40 
return ADf1b2_sqrt(x);

41 
} 