Hint:
tells you that the object revtex is contained in the package
apt-cache search revtex
texlive-publishers. You can read about the object revtex in the
package with
And you can install the package with
apt-cache show texlive-publishers | grep revtex
sudo apt-get install texlive-publishers
gsl_multimin_function, what are the members of the structure
and where in GSL is this structure used.
Hint:
find the include directory with gsl-config --cflags and
grep --before-context=9 "gsl_multimin_function;" /usr/include/gsl/*.h
gsl_multiroot_fsolver, what are the members of the structure
and where in GSL is this structure is used.
Hint:
find the include directory with gsl-config --cflags and
grep --before-context=9 "gsl_multiroot_fsolver;" /usr/include/gsl/*.h
erf(x) and the complimentary error function erfc(x) using
the integration routines from GSL.
Hint: you can implement mutually recursive functions:
double erfc(double x);
double erf(double x){
if(x < 0) return -erf(-x);
if(x > 1) return 1-erfc(x);
/* calculate erf(x) where 0≤x≤1 */
return result;
}
double erfc(double x){
if(x < 0) return 2-erfc(-x);
if(x < 1) return 1-erf(x);
/* calculate erfc(x) where 1≤x */
return result;
}