gsl - Wrapper for the Gnu Scientific Library
An R wrapper for some of the functionality of the Gnu Scientific Library.
Last updated
gsl
12.42 score 19 stars 237 dependents 459 scripts 28k 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.44 score 4 stars 262 dependents 421 scripts 26k 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.17 score 10 stars 73 dependents 247 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 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.79 score 3 stars 80 dependents 71 scripts 24k downloadshypergeo - The Gauss Hypergeometric Function
The Gaussian hypergeometric function for complex numbers.
Last updated
cpp
8.30 score 2 stars 78 dependents 123 scripts 23k downloadscontfrac - Continued Fractions
Various utilities for evaluating continued fractions.
Last updated
8.21 score 79 dependents 13 scripts 21k 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.16 score 7 stars 1 dependents 42 scripts 422 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 412 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
6.92 score 9 stars 1 dependents 36 scripts 234 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 675 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
6.79 score 7 stars 3 dependents 52 scripts 407 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.78 score 1 stars 19 dependents 1.3k downloadsuntb - Ecological Drift under the UNTB
Hubbell's Unified Neutral Theory of Biodiversity.
Last updated
6.54 score 4 stars 82 scripts 329 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 286 downloadsknotR - Knot Diagrams using Bezier Curves
Makes visually pleasing diagrams of knot projections using optimized Bezier curves.
Last updated
6.17 score 6 stars 166 scripts 207 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.20 score 1 stars 3 dependents 48 scripts 3.6k 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 203 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.06 score 33 scripts 373 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 225 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 286 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.88 score 1 stars 1 dependents 266 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 311 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.48 score 1 stars 151 downloadsResistorArray - Electrical Properties of Resistor Networks
Electrical properties of resistor networks using matrix methods.
Last updated
4.32 score 1 dependents 14 scripts 607 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.80 score 1 dependents 21 scripts 287 downloadsmultivator - A Multivariate Emulator
A multivariate generalization of the emulator package.
Last updated
3.62 score 21 scripts 205 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
3.43 score 4 dependents 16 scripts 1.4k downloadsMM - The Multiplicative Multinomial Distribution
Various utilities for the Multiplicative Multinomial distribution.
Last updated
3.41 score 26 scripts 668 downloadsDavies - The Davies Quantile Function
Various utilities for the Davies distribution.
Last updated
3.38 score 16 scripts 702 downloadsOarray - Arrays with Arbitrary Offsets
Generalise the starting point of the array index.
Last updated
3.18 score 1 dependents 2 scripts 276 downloads