Skip to content

Commit

Permalink
Update references
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuele Guidotti committed Sep 26, 2022
1 parent ee73d51 commit 63d7603
Show file tree
Hide file tree
Showing 64 changed files with 179 additions and 170 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Package: calculus
Type: Package
Title: High Dimensional Numerical and Symbolic Calculus
Version: 0.3.4
Version: 1.0.0
Authors@R: person(given = "Emanuele", family = "Guidotti", email = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-8961-6623"))
Description: Efficient C++ optimized functions for numerical and symbolic calculus as described in Guidotti (2020) <arXiv:2101.00086>. It includes basic arithmetic, tensor calculus, 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 (Gradient, Jacobian, Hessian, Divergence, Curl, Laplacian) and numerical integration in arbitrary orthogonal coordinate systems: cartesian, polar, spherical, cylindrical, parabolic or user defined by custom scale factors.
Description: Efficient C++ optimized functions for numerical and symbolic calculus as described in Guidotti (2022) <doi:10.18637/jss.v104.i05>. It includes basic arithmetic, tensor calculus, 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 (Gradient, Jacobian, Hessian, Divergence, Curl, Laplacian) and numerical integration in arbitrary orthogonal coordinate systems: cartesian, polar, spherical, cylindrical, parabolic or user defined by custom scale factors.
License: GPL-3
URL: https://calculus.guidotti.dev
BugReports: https://github.com/eguidotti/calculus/issues
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# calculus 1.0.0

- JSS publication

# calculus 0.3.4

- fix CRAN check
Expand Down
2 changes: 1 addition & 1 deletion R/contraction.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#' @family tensor algebra
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/delta.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#' @family tensor algebra
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/derivative.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
#' @family differential operators
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/einstein.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#' @family tensor algebra
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/epsilon.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#' @family tensor algebra
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/evaluate.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#' @family utilities
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/hermite.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#' @family polynomials
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/integral.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
#' @family integrals
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/mxdet.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#' @family matrix algebra
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/mxinv.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#' @family matrix algebra
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/mxtr.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#' @family matrix algebra
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/ode.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
#' @family integrals
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
32 changes: 16 additions & 16 deletions R/operators.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#' @family basic arithmetic
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -74,7 +74,7 @@
#' @family basic arithmetic
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -131,7 +131,7 @@
#' @family basic arithmetic
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -188,7 +188,7 @@
#' @family basic arithmetic
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -250,7 +250,7 @@
#' @family matrix algebra
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -336,7 +336,7 @@ mx <- function(x, y){
#' @family basic arithmetic
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -382,7 +382,7 @@ mx <- function(x, y){
#' @family basic arithmetic
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -435,7 +435,7 @@ mx <- function(x, y){
#' @family basic arithmetic
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -477,7 +477,7 @@ mx <- function(x, y){
#' @family basic arithmetic
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -518,7 +518,7 @@ mx <- function(x, y){
#' @family vector algebra
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -622,7 +622,7 @@ cross <- function(...){
#' @family differential operators
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -717,7 +717,7 @@ gradient <- function(f, var, params = list(), coordinates = 'cartesian', accurac
#' @family differential operators
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -793,7 +793,7 @@ jacobian <- function(f, var, params = list(), coordinates = 'cartesian', accurac
#' @family differential operators
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -910,7 +910,7 @@ hessian <- function(f, var, params = list(), accuracy = 4, stepsize = NULL, drop
#' @family differential operators
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -1085,7 +1085,7 @@ divergence <- function(f, var, params = list(), coordinates = 'cartesian', accur
#' @family differential operators
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -1244,7 +1244,7 @@ curl <- function(f, var, params = list(), coordinates = 'cartesian', accuracy =
#' @family differential operators
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/partitions.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#' partitions(3, equal = FALSE, length = 2, fill = TRUE, perm = TRUE)
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion R/taylor.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#' @family derivatives
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
10 changes: 5 additions & 5 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#' @family utilities
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -53,7 +53,7 @@ wrap <- function(x){
#' @family utilities
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -88,7 +88,7 @@ e2c <- function(x){
#' @family utilities
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -125,7 +125,7 @@ c2e <- function(x){
#' @family tensor algebra
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down Expand Up @@ -182,7 +182,7 @@ index <- function(x){
#' @family tensor algebra
#'
#' @references
#' Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". \url{https://arxiv.org/abs/2101.00086}
#' 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}
#'
#' @export
#'
Expand Down
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,20 @@ Several [unit tests](https://github.com/eguidotti/calculus/tree/master/tests/tes

## Cite as

*Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". https://arxiv.org/abs/2101.00086*
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](https://doi.org/10.18637/jss.v104.i05)

A BibTeX entry for LaTeX users is

```latex
@Misc{,
title = {calculus: High Dimensional Numerical and Symbolic Calculus in R},
author = {Emanuele Guidotti},
year = {2020},
eprint = {2101.00086},
archiveprefix = {arXiv},
primaryclass = {cs.MS},
url = {https://arxiv.org/abs/2101.00086}
```bibtex
@Article{,
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},
}
```

23 changes: 12 additions & 11 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
bibentry(
bibtype = "Misc",
header = "Cite as:",
title = "calculus: High Dimensional Numerical and Symbolic Calculus in R",
author = "Emanuele Guidotti",
year = "2020",
eprint = "2101.00086",
archivePrefix = "arXiv",
primaryClass = "cs.MS",
url = "https://arxiv.org/abs/2101.00086",
textVersion = 'Guidotti, E. (2020). "calculus: High dimensional numerical and symbolic calculus in R". https://arxiv.org/abs/2101.00086'
bibentry(bibtype = "Article",
title = "{calculus}: High-Dimensional Numerical and Symbolic Calculus in {R}",
author = person(given = "Emanuele",
family = "Guidotti",
email = "[email protected]"),
journal = "Journal of Statistical Software",
year = "2022",
volume = "104",
number = "5",
pages = "1--37",
doi = "10.18637/jss.v104.i05",
header = "To cite calculus in publications use:"
)
2 changes: 1 addition & 1 deletion man/c2e.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 63d7603

Please sign in to comment.