Learn R Programming

gsl (version 2.1-1)

Coupling: Coupling functions

Description

Coupling functions as per the Gnu Scientific Library, reference manual section 7.8. These functions are declared in header file gsl_sf_coupling.h

Usage

coupling_3j(two_ja, two_jb, two_jc, two_ma, two_mb, two_mc, give=FALSE, strict=TRUE) coupling_6j(two_ja, two_jb, two_jc, two_jd, two_je, two_jf, give=FALSE, strict=TRUE) coupling_9j(two_ja, two_jb, two_jc, two_jd, two_je, two_jf, two_jg, two_jh, two_ji, give=FALSE, strict=TRUE)

Arguments

two_ja, two_jb, two_jc, two_jd, two_je, two_jf, two_jg, two_jh, two_ji, two_ma, two_mb, two_mc
Arguments as per the GSL manual
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

References

http://www.gnu.org/software/gsl

Examples

Run this code
coupling_3j(1,2,3,4,5,6)
coupling_6j(1,2,3,4,5,6)
coupling_9j(1,2,3,4,5,6,7,8,9)

Run the code above in your browser using DataLab