Learn R Programming

gsl (version 2.1-1)

Synchrotron: Synchrotron functions

Description

Synchrotron functions as per the Gnu Scientific Library, reference section 7.29. These functions are declared in header file gsl_sf_synchrotron.h

Usage

synchrotron_1(x, give=FALSE, strict=TRUE) synchrotron_2(x, give=FALSE, strict=TRUE)

Arguments

x
input: real values
give
Boolean with TRUE meaning to return a list of three items: the value, an estimate of the error, and a status number
strict
Boolean, with TRUE meaning to return NaN if status is an error

Examples

Run this code

x <- seq(from=0,to=2,by=0.01)
synchrotron_1(x)
synchrotron_2(x)   

Run the code above in your browser using DataLab