gsl - Wrapper for the Gnu Scientific Library
An R wrapper for some of the functionality of the Gnu Scientific Library.
Last updated
gsl
12.41 score 19 stars 237 dependents 509 scripts 25k downloadspartitions - Additive Partitions of Integers
Additive partitions of integers. Enumerates the partitions, unequal partitions, and restricted partitions of an integer; the three corresponding partition functions are also given. Set partitions and now compositions and riffle shuffles are included.
Last updated
cpp
12.07 score 10 stars 78 dependents 2.1k scripts 13k downloadsmagic - Create and Investigate Magic Squares
A collection of functions for the manipulation and analysis of arbitrarily dimensioned arrays. The original motivation for the package was the development of efficient, vectorized algorithms for the creation and investigation of magic squares and high-dimensional magic hypercubes.
Last updated
11.08 score 4 stars 260 dependents 416 scripts 23k downloadsBrobdingnag - Very Large Numbers in R
Very large numbers in R. Real numbers are held using their natural logarithms, plus a logical flag indicating sign. Functionality for complex numbers is also provided. The package includes a vignette that gives a step-by-step introduction to using S4 methods.
Last updated
10.69 score 6 stars 78 dependents 85 scripts 54k downloadshypergeo - The Gauss Hypergeometric Function
The Gaussian hypergeometric function for complex numbers.
Last updated
cpp
9.39 score 2 stars 78 dependents 112 scripts 19k downloadselliptic - Weierstrass and Jacobi Elliptic Functions
A suite of elliptic and related functions including Weierstrass and Jacobi forms. Also includes various tools for manipulating and visualizing complex functions.
Last updated
8.73 score 3 stars 80 dependents 74 scripts 20k downloadspermutations - The Symmetric Group: Permutations of a Finite Set
Manipulates invertible functions from a finite set to itself. Can transform from word form to cycle form and back. To cite the package in publications please use Hankin (2020) "Introducing the permutations R package", SoftwareX, volume 11 <doi:10.1016/j.softx.2020.100453>.
Last updated
8.57 score 7 stars 3 dependents 54 scripts 510 downloadshyper2 - The Hyperdirichlet Distribution, Mark 2
A suite of routines for the hyperdirichlet distribution and reified Bradley-Terry; supersedes the 'hyperdirichlet' package; uses 'disordR' discipline <doi:10.48550/ARXIV.2210.03856>. To cite in publications please use Hankin 2017 <doi:10.32614/rj-2017-061>, and for Generalized Plackett-Luce likelihoods use Hankin 2024 <doi:10.18637/jss.v109.i08>.
Last updated
cpp
8.19 score 7 stars 1 dependents 43 scripts 667 downloadscontfrac - Continued Fractions
Various utilities for evaluating continued fractions.
Last updated
8.15 score 79 dependents 13 scripts 18k downloadsonion - Octonions and Quaternions
Quaternions and Octonions are four- and eight- dimensional extensions of the complex numbers. They are normed division algebras over the real numbers and find applications in spatial rotations (quaternions), and string theory and relativity (octonions). The quaternions are noncommutative and the octonions nonassociative. See the package vignette for more details.
Last updated
7.15 score 6 stars 3 dependents 52 scripts 400 downloadsmvp - Fast Symbolic Multivariate Polynomials
Fast manipulation of symbolic multivariate polynomials using the 'Map' class of the Standard Template Library. The package uses print and coercion methods from the 'mpoly' package but offers speed improvements. It is comparable in speed to the 'spray' package for sparse arrays, but retains the symbolic benefits of 'mpoly'. To cite the package in publications, use Hankin 2022 <doi:10.48550/ARXIV.2210.15991>. Uses 'disordR' discipline.
Last updated
cpp
7.03 score 9 stars 1 dependents 40 scripts 522 downloadsfreealg - The Free Algebra
The free algebra in R with non-commuting indeterminates. Uses 'disordR' discipline (Hankin, 2022, <doi:10.48550/ARXIV.2210.03856>). To cite the package in publications please use Hankin (2022) <doi:10.48550/ARXIV.2211.04002>.
Last updated
cpp
6.81 score 3 stars 11 dependents 864 downloadsdisordR - Non-Ordered Vectors
Functionality for manipulating values of associative maps. The package is a dependency for mvp-type packages that use the STL map class: it traps plausible idiom that is ill-defined (implementation-specific) and returns an informative error, rather than returning a possibly incorrect result. To cite the package in publications please use Hankin (2022) <doi:10.48550/ARXIV.2210.03856>.
Last updated
6.75 score 1 stars 19 dependents 1.1k downloadsuntb - Ecological Drift under the UNTB
Hubbell's Unified Neutral Theory of Biodiversity.
Last updated
6.50 score 4 stars 75 scripts 410 downloadsspray - Sparse Arrays and Multivariate Polynomials
Sparse arrays interpreted as multivariate polynomials. Uses 'disordR' discipline (Hankin, 2022, <doi:10.48550/ARXIV.2210.03856>). To cite the package in publications please use Hankin (2022) <doi:10.48550/ARXIV.2210.10848>.
Last updated
cpp
6.41 score 2 stars 2 dependents 36 scripts 464 downloadsknotR - Knot Diagrams using Bezier Curves
Makes visually pleasing diagrams of knot projections using optimized Bezier curves.
Last updated
6.19 score 6 stars 171 scripts 196 downloadsfreegroup - The Free Group
The free group in R; juxtaposition is represented by a plus. Includes inversion, multiplication by a scalar, group-theoretic power operation, and Tietze forms. To cite the package in publications please use Hankin (2022) <doi:10.48550/ARXIV.2212.05883>.
Last updated
5.15 score 35 scripts 342 downloadsweyl - The Weyl Algebra
A suite of routines for Weyl algebras. Notation follows Coutinho (1995, ISBN 0-521-55119-6, "A Primer of Algebraic D-Modules"). Uses 'disordR' discipline (Hankin 2022 <doi:10.48550/arXiv.2210.03856>). To cite the package in publications, use Hankin 2022 <doi:10.48550/arXiv.2212.09230>.
Last updated
5.15 score 2 stars 4 scripts 302 downloadslorentz - The Lorentz Transformation in Relativistic Physics
The Lorentz transformation in special relativity; also the gyrogroup structure of three-velocities. Performs active and passive transformations and has the ability to use units in which the speed of light is not unity. Includes some experimental functionality for celerity and rapidity. For general relativity, see the 'schwarzschild' package.
Last updated
5.08 score 4 stars 15 scripts 250 downloadsfrab - How to Add Two R Tables
Methods to "add" two R tables; also an alternative interpretation of named vectors as generalized R tables, so that c(a=1,b=2,c=3) + c(b=3,a=-1) will return c(b=5,c=3). Uses 'disordR' discipline (Hankin, 2022, <doi:10.48550/arXiv.2210.03856>). Extraction and replacement methods are provided. The underlying mathematical structure is the Free Abelian group, hence the name. To cite in publications please use Hankin (2023) <doi:10.48550/arXiv.2307.13184>.
Last updated
cpp
5.08 score 1 stars 2 dependents 333 downloadscalibrator - Bayesian Calibration of Complex Computer Codes
Performs Bayesian calibration of computer models as per Kennedy and O'Hagan 2001. The package includes routines to find the hyperparameters and parameters; see the help page for stage1() for a worked example using the toy dataset. A tutorial is provided in the calex.Rnw vignette; and a suite of especially simple one dimensional examples appears in inst/doc/one.dim/.
Last updated
5.02 score 1 stars 3 dependents 50 scripts 2.3k downloadsquadform - Efficient Evaluation of Quadratic Forms
A range of quadratic forms are evaluated, using efficient methods. Unnecessary transposes are not performed. Complex values are handled consistently.
Last updated
4.92 score 7 dependents 317 downloadsResistorArray - Electrical Properties of Resistor Networks
Electrical properties of resistor networks using matrix methods.
Last updated
4.83 score 1 dependents 15 scripts 352 downloadsvfunc - Manipulate Virtual Functions
If f <- function(x){x^2} and g <- function(x){x+1} it is a constant source of annoyance that "f+g" is not defined. Package 'vfunc' allows you to do this, and we have (f+g)(2) returning 6. The other arithmetic operators are similarly implemented. A wide class of coding bugs is eliminated.
Last updated
4.54 score 1 stars 205 downloadsMM - The Multiplicative Multinomial Distribution
Various utilities for the Multiplicative Multinomial distribution.
Last updated
4.41 score 26 scripts 604 downloadsmultipol - Multivariate Polynomials
Various utilities to manipulate multivariate polynomials. The package is almost completely superceded by the 'spray' and 'mvp' packages, which are much more efficient.
Last updated
4.39 score 4 dependents 20 scripts 1.0k downloadsmultivator - A Multivariate Emulator
A multivariate generalization of the emulator package.
Last updated
3.92 score 21 scripts 320 downloadsapproximator - Bayesian Prediction of Complex Computer Codes
Performs Bayesian prediction of complex computer codes when fast approximations are available. It uses a hierarchical version of the Gaussian process, originally proposed by Kennedy and O'Hagan (2000), Biometrika 87(1):1.
Last updated
3.82 score 1 dependents 22 scripts 357 downloadscmvnorm - The Complex Multivariate Gaussian Distribution
Various utilities for the complex multivariate Gaussian distribution and complex Gaussian processes.
Last updated
3.70 score 2 stars 7 scripts 268 downloadsDavies - The Davies Quantile Function
Various utilities for the Davies distribution.
Last updated
3.38 score 16 scripts 382 downloadsOarray - Arrays with Arbitrary Offsets
Generalise the starting point of the array index.
Last updated
3.18 score 1 dependents 2 scripts 353 downloads