PolyLog

Implementation of polylogarithms in Julia

https://github.com/expander/polylog.jl

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.2%) to scientific vocabulary

Keywords

julia math polylogarithm special-functions
Last synced: 4 months ago · JSON representation ·

Repository

Implementation of polylogarithms in Julia

Basic Info
  • Host: GitHub
  • Owner: Expander
  • License: mit
  • Language: Julia
  • Default Branch: main
  • Homepage:
  • Size: 11.7 MB
Statistics
  • Stars: 11
  • Watchers: 2
  • Forks: 1
  • Open Issues: 1
  • Releases: 25
Topics
julia math polylogarithm special-functions
Created almost 5 years ago · Last pushed 9 months ago
Metadata Files
Readme License Citation

README.md

PolyLog.jl

test coverage

The PolyLog.jl package provides Julia implementations of real and complex polylogarithms, including the real and complex dilogarithm and trilogarithm.

Example

```.jl using PolyLog

real polylogarithms for real arguments

reli1(1.0) # Re[Li1(x)] reli2(1.0) # ReLi_2(x) reli3(1.0) # ReLi_3(x) reli4(1.0) # Re[Li4(x)] reli(10, 1.0) # Re[Lin(x)] for all integers n (here: n = 10) reli(10, big"1.0") # Re[Lin(x)] for all integers n (here: n = 10) reli(-2, 1.0) # Re[Li_n(x)] for all integers n (here: n = -2)

complex polylogarithms for real or complex arguments

li0(1.0 + 1.0im) # Li0(z) li1(1.0 + 1.0im) # Li1(z) li2(1.0 + 1.0im) # Li2(z) (dilogarithm) li3(1.0 + 1.0im) # Li3(z) (trilogarithm) li4(1.0 + 1.0im) # Li4(z) li5(1.0 + 1.0im) # Li5(z) li6(1.0 + 1.0im) # Li6(z) li(10, 1.0 + 1.0im) # Lin(z) for all integers n (here: n = 10) li(10, big"1.0" + 1im) # Lin(z) for all integers n (here: n = 10) li(-2, 1.0 + 1.0im) # Lin(z) for all integers n (here: n = -2) ```

Example using ForwardDiff

```.jl using ForwardDiff, PolyLog

ForwardDiff.derivative(reli1, 0.5) # Re[Li1]'(x) ForwardDiff.derivative(reli2, 0.5) # Re[Li2]'(x) ForwardDiff.derivative(reli3, 0.5) # Re[Li3]'(x) ForwardDiff.derivative(reli4, 0.5) # Re[Li4]'(x) ForwardDiff.derivative(x -> reli(10, x), 0.5) # Re[Lin]'(x) for n = 10 ForwardDiff.derivative(x -> reli(10, x), big"0.5") # Re[Lin]'(x) for n = 10 ForwardDiff.derivative(x -> reli(-2, x), 0.5) # Re[Li_n]'(x) for n = -2 ```

Documentation

https://docs.juliahub.com/PolyLog/

Notes

The implementation of the real dilogarithm is an adaptation of [arXiv:2201.01678].

The implementation of the complex dilogarithm has been inspired by the implementation in SPheno and has been translated to Julia.

The implementation of the real trilogarithm is an adaptation of [arXiv:2308.11619].

The implementation of the general n-th order polylogarithm is an adaptation of [arXiv:2010.09860].

Contributors

Copying

PolyLog.jl is licenced under the MIT License.

Links

Refer to the package Polylogarithms.jl for a Julia implementation of polylogarithms of arbitrary complex order.

Owner

  • Name: Alexander Voigt
  • Login: Expander
  • Kind: user
  • Location: Flensburg
  • Company: Hochschule Flensburg

since 2019 lecturer at HS Flensburg, 2016-2019 Researcher at RWTH Aachen University, 2014-2016 Researcher at DESY Hamburg, 2010-2014 Researcher at TU Dresden

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Voigt"
  given-names: "Alexander"
  orcid: "https://orcid.org/0000-0001-8963-6512"
title: "PolyLog.jl"
version: 2.6.0
date-released: 2025-04-21
url: "https://github.com/Expander/PolyLog.jl"
license: MIT

GitHub Events

Total
  • Create event: 6
  • Commit comment event: 4
  • Release event: 2
  • Watch event: 3
  • Delete event: 3
  • Issue comment event: 1
  • Push event: 15
  • Pull request event: 9
Last Year
  • Create event: 6
  • Commit comment event: 4
  • Release event: 2
  • Watch event: 3
  • Delete event: 3
  • Issue comment event: 1
  • Push event: 15
  • Pull request event: 9

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 162
  • Total Committers: 3
  • Avg Commits per committer: 54.0
  • Development Distribution Score (DDS): 0.111
Top Committers
Name Email Commits
Alexander Voigt a****t@g****m 144
Alexander Voigt E****r@u****m 15
Alexander Voigt a****t@h****m 3
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 5 months ago

All Time
  • Total issues: 2
  • Total pull requests: 33
  • Average time to close issues: 4 days
  • Average time to close pull requests: 1 day
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 3.0
  • Average comments per pull request: 0.64
  • Merged pull requests: 31
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 5
  • Average time to close issues: N/A
  • Average time to close pull requests: about 3 hours
  • Issue authors: 0
  • Pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.2
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • barton-willis (1)
  • longemen3000 (1)
Pull Request Authors
  • Expander (39)
  • longemen3000 (4)
Top Labels
Issue Labels
bug (1)
Pull Request Labels
enhancement (8) bug (4)

Packages

  • Total packages: 1
  • Total downloads:
    • julia 53 total
  • Total dependent packages: 2
  • Total dependent repositories: 0
  • Total versions: 21
juliahub.com: PolyLog

Implementation of polylogarithms in Julia

  • Versions: 21
  • Dependent Packages: 2
  • Dependent Repositories: 0
  • Downloads: 53 Total
Rankings
Stargazers count: 57.8%
Average: 57.8%
Last synced: 5 months ago

Dependencies

.github/workflows/build.yml actions
  • actions/checkout v2 composite
  • julia-actions/julia-buildpkg latest composite
  • julia-actions/julia-runtest latest composite
  • julia-actions/setup-julia v1 composite