Skip to content

Instantly share code, notes, and snippets.

@moble
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moble/1cef404fc6c7b56eb650 to your computer and use it in GitHub Desktop.
Save moble/1cef404fc6c7b56eb650 to your computer and use it in GitHub Desktop.
Show how to efficiently store and access Wigner 3j coefficients when one of the m values is <=2

The notebook is viewable as such here. The storage isn't quite as efficient as it could be, but I think it's about as good as can be expected with simple indexing. The size of that storage only goes as jmax**4.

Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment