Giter Site home page Giter Site logo

arrendi / calculus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eguidotti/calculus

0.0 0.0 0.0 2.3 MB

High Dimensional Numerical and Symbolic Calculus in R

Home Page: https://calculus.guidotti.dev

License: GNU General Public License v3.0

C++ 13.05% R 86.95%

calculus's Introduction

build

High Dimensional Numerical and Symbolic Calculus in R

Efficient C++ optimized functions for numerical and symbolic calculus.

The R package calculus implements C++ optimized functions for numerical and symbolic calculus, such as the Einstein summing convention, fast computation of the Levi-Civita symbol and generalized Kronecker delta, Taylor series expansion, multivariate Hermite polynomials, high-order derivatives, ordinary differential equations, differential operators and numerical integration in arbitrary orthogonal coordinate systems. The library applies numerical methods when working with functions or symbolic programming when working with characters or expressions. The package handles multivariate numerical calculus in arbitrary dimensions and coordinates and implements the symbolic counterpart of the numerical methods whenever possible, without depending on external computer algebra systems. Except for Rcpp, the package has no strict dependencies in order to provide a stable self-contained toolbox that invites re-use.

Quickstart

Install the package.

install.packages("calculus")

Load the package.

library(calculus)

Read or browse the documentation and the vignettes.

Philosophy

The package provides a unified interface to work with mathematical objects in R. The library applies numerical methods when working with functions or symbolic programming when working with characters or expressions. To describe multidimensional objects such as vectors, matrices, and tensors, the package uses the class array regardless of the dimension. This is done to prevent unwanted results due to operations among different classes such as vector for unidimensional objects or matrix for bidimensional objects.

Dependencies

The package integrates seamlessly with cubature for efficient numerical integration in C. However, except for Rcpp, the package has no strict dependencies in order to provide a stable self-contained toolbox that invites re-use.

Testing

Several unit tests are implemented via the standard framework offered by testthat and run via continuous integration.

Contribute

Report a bug and star the repository.

Cite as

Guidotti E (2022). “calculus: High-Dimensional Numerical and Symbolic Calculus in R.” Journal of Statistical Software, 104(5), 1-37. doi:10.18637/jss.v104.i05

A BibTeX entry for LaTeX users is

@Article{calculus,
  title = {{calculus}: High-Dimensional Numerical and Symbolic Calculus in {R}},
  author = {Emanuele Guidotti},
  journal = {Journal of Statistical Software},
  year = {2022},
  volume = {104},
  number = {5},
  pages = {1--37},
  doi = {10.18637/jss.v104.i05},
}

calculus's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.