An open API service indexing awesome lists of open source software.

https://github.com/stla/hypergeomat

Hypergeometric function of a matrix argument (Koev & Edelman's algorithm)
https://github.com/stla/hypergeomat

hypergeometric-function julia r rcpp special-functions

Last synced: 10 months ago
JSON representation

Hypergeometric function of a matrix argument (Koev & Edelman's algorithm)

Awesome Lists containing this project

README

          

---
title: "HypergeoMat"
output: github_document
---

[![R-CMD-check](https://github.com/stla/HypergeoMat/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/stla/HypergeoMat/actions/workflows/R-CMD-check.yaml)

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE, collapse = TRUE)
```

```{r packages}
library(HypergeoMat)
library(microbenchmark)
```

```{r juliafun}
jhpq <- hypergeomPFQ_julia()
```

```{r benchmarks}
microbenchmark(
Rcpp = hypergeomPFQ(m = 30, a = c(1, 2, 3), b = c(4, 5), x = c(0.1, 0.2, 0.3)),
Julia = jhpq(m = 30, a = c(1, 2, 3), b = c(4, 5), x = c(0.1, 0.2, 0.3)),
times = 10
)
```