polylog.rs

Rust implementation of polylogarithms.

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

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
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.4%) to scientific vocabulary

Keywords

math polylogarithm rust special-functions
Last synced: 6 months ago · JSON representation ·

Repository

Rust implementation of polylogarithms.

Basic Info
  • Host: GitHub
  • Owner: Expander
  • Language: Rust
  • Default Branch: master
  • Homepage:
  • Size: 7.05 MB
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • Open Issues: 1
  • Releases: 33
Topics
math polylogarithm rust special-functions
Created over 7 years ago · Last pushed about 1 year ago
Metadata Files
Readme Citation

README.md

polylog

Build Status Documentation Coverage Status

The polylog package provides Rust implementations of real and complex polylogarithms, including the dilogarithm and trilogarithm.

The polylog package depends on the num crate.

Example

```rust use num::complex::Complex; use polylog::{Li, Li0, Li1, Li2, Li3, Li4, Li5, Li6};

let x = 1.0; let z = Complex::new(1.0, 1.0); let n = 10;

// real polylogarithms for real arguments println!("Li0({}) = {}", x, x.li0()); // Re[Li0(x)] println!("Li1({}) = {}", x, x.li1()); // Re[Li1(x)] println!("Li2({}) = {}", x, x.li2()); // ReLi_2(x) println!("Li3({}) = {}", x, x.li3()); // ReLi_3(x) println!("Li4({}) = {}", x, x.li4()); // Re[Li4(x)] println!("Li{}({}) = {}", n, x, x.li(n)); // Re[Li_n(x)]

// complex polylogarithms for complex arguments println!("Li0({}) = {}", z, z.li0()); // Li0(z) println!("Li1({}) = {}", z, z.li1()); // Li1(z) println!("Li2({}) = {}", z, z.li2()); // Li2(z) (dilogarithm) println!("Li3({}) = {}", z, z.li3()); // Li3(z) (trilogarithm) println!("Li4({}) = {}", z, z.li4()); // Li4(z) println!("Li5({}) = {}", z, z.li5()); // Li5(z) println!("Li6({}) = {}", z, z.li6()); // Li6(z) println!("Li{}({}) = {}", n, z, z.li(n)); // Li_n(z) ```

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 Rust.

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].

Copying

polylog is licenced under the GNU Lesser General Public License (GNU LGPL) version 3.

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.rs"
version: 2.6.0
date-released: 2024-03-06
url: "https://github.com/Expander/polylog"
license: LGPL-3.0-only

GitHub Events

Total
  • Watch event: 2
  • Delete event: 1
  • Push event: 5
  • Pull request event: 2
  • Create event: 1
Last Year
  • Watch event: 2
  • Delete event: 1
  • Push event: 5
  • Pull request event: 2
  • Create event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 11
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 day
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 37 minutes
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • Expander (10)
Top Labels
Issue Labels
Pull Request Labels
bug (1)

Dependencies

Cargo.toml cargo
  • rand 0.8 development
  • num 0.4
.github/workflows/build.yml actions
  • actions-rs/cargo v1 composite
  • actions-rs/toolchain v1 composite
  • actions/checkout v2 composite
.github/workflows/coverage.yml actions
  • actions-rs/toolchain v1 composite
  • actions/checkout v2 composite
  • coverallsapp/github-action v2 composite