Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

jagot/WIGXJPF.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIGXJPF

DEPRECATED in favour of https://github.com/Jutho/WignerSymbols.jl

https://travis-ci.org/jagot/WIGXJPF.jl.svg?branch=master

Julia wrapper for the WIGXJPF library used to calculate Wigner 3j, 6j and 9j symbols. Since the original library is release under the GPLv3 license, so is this Julia wrapper.

Example usage

The original library expects all arguments to multiplied by two. For instance, to calculate the 3j symbol (1 1 0; 0 0 0) = -1/√3, one would say

using WIGXJPF

wig3jj(2, 2, 0,
       0, 0, 0)
-0.5773502691896258

This Julia library also provides a wrapper which performs the multiplication by two under the hood:

wig3j(1, 1, 0,
      0, 0, 0)
-0.5773502691896258

It also works for rational arguments:

wig3j(1//2,  1//2, 0,
      1//2, -1//2, 0)
0.7071067811865475

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages