Synchrotron functions as per the Gnu Scientific Library, reference section 7.29. These functions are declared in header file gsl_sf_synchrotron.h
gsl_sf_synchrotron.h
synchrotron_1(x, give=FALSE, strict=TRUE) synchrotron_2(x, give=FALSE, strict=TRUE)
input: real values
Boolean with TRUE meaning to return a list of three items: the value, an estimate of the error, and a status number
TRUE
Boolean, with TRUE meaning to return NaN if status is an error
NaN
# NOT RUN { x <- seq(from=0,to=2,by=0.01) synchrotron_1(x) synchrotron_2(x) # }
Run the code above in your browser using DataCamp Workspace