gsl - Wrapper for the Gnu Scientific Library
An R wrapper for some of the functionality of the Gnu Scientific Library.
Last updated
gsl
12.45 score 19 stars 236 dependents 516 scripts 27k 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.34 score 4 stars 264 dependents 415 scripts 28k 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
11.12 score 10 stars 78 dependents 246 scripts 15k 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.45 score 6 stars 79 dependents 82 scripts 40k downloadshypergeo - The Gauss Hypergeometric Function
The Gaussian hypergeometric function for complex numbers.
Last updated
cpp
9.33 score 2 stars 80 dependents 105 scripts 21k 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.75 score 3 stars 83 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.56 score 7 stars 3 dependents 53 scripts 323 downloadscontfrac - Continued Fractions
Various utilities for evaluating continued fractions.
Last updated
8.17 score 82 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 484 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 396 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.87 score 3 stars 11 dependents 635 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.69 score 1 stars 19 dependents 1.1k downloadsuntb - Ecological Drift under the UNTB
Hubbell's Unified Neutral Theory of Biodiversity.
Last updated
6.56 score 4 stars 87 scripts 337 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.48 score 2 stars 2 dependents 36 scripts 743 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
6.29 score 7 stars 1 dependents 43 scripts 750 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 214 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.29 score 1 stars 3 dependents 50 scripts 4.4k 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 349 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 207 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
4.95 score 4 stars 15 scripts 290 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 233 downloadscmvnorm - The Complex Multivariate Gaussian Distribution
Various utilities for the complex multivariate Gaussian distribution and complex Gaussian processes.
Last updated
4.70 score 2 stars 7 scripts 334 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
4.65 score 1 stars 1 dependents 277 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 581 downloadsResistorArray - Electrical Properties of Resistor Networks
Electrical properties of resistor networks using matrix methods.
Last updated
4.38 score 1 dependents 16 scripts 603 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.38 score 4 dependents 20 scripts 858 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 362 downloadsmultivator - A Multivariate Emulator
A multivariate generalization of the emulator package.
Last updated
3.62 score 21 scripts 205 downloadsDavies - The Davies Quantile Function
Various utilities for the Davies distribution.
Last updated
3.38 score 16 scripts 679 downloadsOarray - Arrays with Arbitrary Offsets
Generalise the starting point of the array index.
Last updated
3.18 score 1 dependents 2 scripts 169 downloads