{"id":13665817,"url":"https://github.com/eguidotti/calculus","last_synced_at":"2025-12-24T12:03:41.764Z","repository":{"id":57684126,"uuid":"217919483","full_name":"eguidotti/calculus","owner":"eguidotti","description":"High Dimensional Numerical and Symbolic Calculus in R","archived":false,"fork":false,"pushed_at":"2023-03-10T10:28:53.000Z","size":2451,"stargazers_count":47,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-11T00:37:11.190Z","etag":null,"topics":["calculus","coordinate-systems","curl","divergence","einstein","finite-difference","gradient","hermite","hessian","jacobian","laplacian","numerical-derivation","numerical-derivatives","numerical-differentiation","r","r-package","symbolic-computation","symbolic-differentiation","taylor"],"latest_commit_sha":null,"homepage":"http://calculus.eguidotti.com","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eguidotti.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-27T21:33:03.000Z","updated_at":"2024-08-30T03:21:45.000Z","dependencies_parsed_at":"2024-11-11T00:41:49.107Z","dependency_job_id":null,"html_url":"https://github.com/eguidotti/calculus","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eguidotti%2Fcalculus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eguidotti%2Fcalculus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eguidotti%2Fcalculus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eguidotti%2Fcalculus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eguidotti","download_url":"https://codeload.github.com/eguidotti/calculus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250960991,"owners_count":21514561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calculus","coordinate-systems","curl","divergence","einstein","finite-difference","gradient","hermite","hessian","jacobian","laplacian","numerical-derivation","numerical-derivatives","numerical-differentiation","r","r-package","symbolic-computation","symbolic-differentiation","taylor"],"created_at":"2024-08-02T06:00:51.264Z","updated_at":"2025-12-24T12:03:41.669Z","avatar_url":"https://github.com/eguidotti.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"[![](https://www.r-pkg.org/badges/version/calculus)](https://cran.r-project.org/package=calculus) \n[![](https://www.r-pkg.org/badges/last-release/calculus)](https://cran.r-project.org/package=calculus) \n[![](https://cranlogs.r-pkg.org/badges/grand-total/calculus)](https://cran.r-project.org/package=calculus)\n[![build](https://github.com/eguidotti/calculus/actions/workflows/build.yaml/badge.svg)](https://github.com/eguidotti/calculus/actions/workflows/build.yaml)\n\n# High Dimensional Numerical and Symbolic Calculus in R \u003cimg src=\"man/figures/logo.png\" width=\"128\" align=\"right\" /\u003e\n\n\u003e Efficient C++ optimized functions for numerical and symbolic calculus. \n\nThe R package **calculus** implements C++ optimized functions for numerical and symbolic calculus, such as the [Einstein summing convention](https://calculus.eguidotti.com/articles/einstein.html), fast computation of the [Levi-Civita](https://calculus.eguidotti.com/reference/epsilon.html) symbol and generalized [Kronecker delta](https://calculus.eguidotti.com/reference/delta.html), [Taylor series expansion](https://calculus.eguidotti.com/articles/taylor.html), multivariate [Hermite polynomials](https://calculus.eguidotti.com/articles/hermite.html), high-order [derivatives](https://calculus.eguidotti.com/articles/derivatives.html), [ordinary differential equations](https://calculus.eguidotti.com/articles/ode.html), [differential operators](https://calculus.eguidotti.com/articles/differential-operators.html) and [numerical integration](https://calculus.eguidotti.com/articles/integrals.html) 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](https://cran.r-project.org/package=Rcpp), the package has no strict dependencies in order to provide a stable self-contained toolbox that invites re-use. \n\n## Quickstart \n\nInstall the package.\n\n```R\ninstall.packages(\"calculus\")\n```\nLoad the package.\n\n```R\nlibrary(calculus)\n```\n\n[Read](https://CRAN.R-project.org/package=calculus/calculus.pdf) or [browse](https://calculus.eguidotti.com/reference/index.html) the documentation and the [vignettes](https://calculus.eguidotti.com/articles/index.html).\n\n## Philosophy\n\nThe 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.\n\n\n## Dependencies\n\nThe package integrates seamlessly with [cubature](https://cran.r-project.org/package=cubature) for efficient numerical integration in C. However, except for [Rcpp](https://cran.r-project.org/package=Rcpp), the package has no strict dependencies in order to provide a stable self-contained toolbox that invites re-use. \n\n## Testing\n\nSeveral [unit tests](https://github.com/eguidotti/calculus/tree/master/tests/testthat) are implemented via the standard framework offered by [testthat](https://cran.r-project.org/package=testthat) and run via continuous integration.\n\n## Contribute\n\n[Report a bug](https://github.com/eguidotti/calculus/issues) and star the [repository](https://github.com/eguidotti/calculus/).\n\n## Cite as\n\nGuidotti 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](https://doi.org/10.18637/jss.v104.i05)\n\nA BibTeX entry for LaTeX users is\n\n```bibtex\n@Article{calculus,\n  title = {{calculus}: High-Dimensional Numerical and Symbolic Calculus in {R}},\n  author = {Emanuele Guidotti},\n  journal = {Journal of Statistical Software},\n  year = {2022},\n  volume = {104},\n  number = {5},\n  pages = {1--37},\n  doi = {10.18637/jss.v104.i05},\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feguidotti%2Fcalculus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feguidotti%2Fcalculus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feguidotti%2Fcalculus/lists"}