Package: stokes 1.2-1
stokes: The Exterior Calculus
Provides functionality for working with tensors, alternating forms, wedge products, Stokes's theorem, and related concepts from the exterior calculus. Uses 'disordR' discipline (Hankin, 2022, <doi:10.48550/arXiv.2210.03856>). The canonical reference would be M. Spivak (1965, ISBN:0-8053-9021-9) "Calculus on Manifolds". To cite the package in publications please use Hankin (2022) <doi:10.48550/arXiv.2210.17008>.
Authors:
stokes_1.2-1.tar.gz
stokes_1.2-1.zip(r-4.5)stokes_1.2-1.zip(r-4.4)stokes_1.2-1.zip(r-4.3)
stokes_1.2-1.tgz(r-4.4-any)stokes_1.2-1.tgz(r-4.3-any)
stokes_1.2-1.tar.gz(r-4.5-noble)stokes_1.2-1.tar.gz(r-4.4-noble)
stokes_1.2-1.tgz(r-4.4-emscripten)stokes_1.2-1.tgz(r-4.3-emscripten)
stokes.pdf |stokes.html✨
stokes/json (API)
NEWS
# Install 'stokes' in R: |
install.packages('stokes', repos = c('https://robinhankin.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/robinhankin/stokes/issues
Last updated 2 months agofrom:7234fa4183. Checks:OK: 5 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 12 2024 |
R-4.5-win | NOTE | Oct 12 2024 |
R-4.5-linux | NOTE | Oct 12 2024 |
R-4.4-win | OK | Oct 12 2024 |
R-4.4-mac | OK | Oct 12 2024 |
R-4.3-win | OK | Oct 12 2024 |
R-4.3-mac | OK | Oct 12 2024 |
Exports:%^%%X%0form0tensorAltas.1formas.function.kformas.function.ktensoras.kformas.ktensoras.sprayas.symboliccoeffscoeffs<-coeffs<-.kformcoeffs<-.ktensorcoeffs<-.sprayconsolidatecontractcontract_elementaryddiscarddovsegradhodgeinclude_permsinneris.emptyis.kformis.ktensoris.scalaris.volumeis.zeroissmallkeepkformkform_basiskform_generalkform_to_ktensorkill_trivial_rowskinnerktensorloselose.kformlose.ktensorntermsOps.kformOps.ktensorprint.kformprint.ktensorprint.summary.kformprint.summary.ktensorpullbackrformrtensorscalarsortspraystretchsummary.kformsummary.ktensortensorprodtensorprod2vcp3vector_cross_productvolumewedgewedge2zapzap.kformzap.ktensorzeroformzerotensor
Dependencies:abindclidigestdisordRfreealggluegmplatticelifecyclemagicmagrittrmathjaxrMatrixnumberspartitionspermutationspolynomrbibutilsRcppRdpackrlangsetsspraystringistringrvctrs
The Alt() function in the stokes package
Rendered fromAlt.Rmd
usingknitr::rmarkdown
on Oct 12 2024.Last update: 2024-08-15
Started: 2021-05-03
Objects ex, ey, and ez in the stokes package
Rendered fromex.Rmd
usingknitr::rmarkdown
on Oct 12 2024.Last update: 2024-02-29
Started: 2023-02-22
Functions contract() and contract_elementary() in the stokes package
Rendered fromcontract.Rmd
usingknitr::rmarkdown
on Oct 12 2024.Last update: 2024-08-15
Started: 2022-01-01
Function dovs() function in the stokes package
Rendered fromdovs.Rmd
usingknitr::rmarkdown
on Oct 12 2024.Last update: 2023-10-06
Started: 2022-03-05
Objects dx, dy, and dz in the stokes package
Rendered fromdx.Rmd
usingknitr::rmarkdown
on Oct 12 2024.Last update: 2024-06-03
Started: 2022-02-26
The hodge() function in the stokes package
Rendered fromhodge.Rmd
usingknitr::rmarkdown
on Oct 12 2024.Last update: 2024-08-19
Started: 2022-03-04
The inner() function in the stokes package
Rendered frominner.Rmd
usingknitr::rmarkdown
on Oct 12 2024.Last update: 2024-07-27
Started: 2021-05-03
The kinner() function in the stokes package
Rendered fromkinner.Rmd
usingknitr::rmarkdown
on Oct 12 2024.Last update: 2024-06-03
Started: 2022-03-04
Exterior calculus with R
Rendered fromstokes.Rmd
usingknitr::rmarkdown
on Oct 12 2024.Last update: 2024-02-29
Started: 2020-01-22
Functions vector_cross_product() and vcp3() in the stokes package
Rendered fromvector_cross_product.Rmd
usingknitr::rmarkdown
on Oct 12 2024.Last update: 2024-02-16
Started: 2022-01-17
Function volume() in the Stokes package
Rendered fromvolume.Rmd
usingknitr::rmarkdown
on Oct 12 2024.Last update: 2024-06-03
Started: 2022-09-18
Functions wedge() and wedge2() in the stokes package
Rendered fromwedge.Rmd
usingknitr::rmarkdown
on Oct 12 2024.Last update: 2024-08-23
Started: 2019-04-01
Readme and manuals
Help Manual
Help page | Topics |
---|---|
The Exterior Calculus | stokes-package stokes |
Alternating multilinear forms | Alt |
Coerce vectors to 1-forms | as.1form grad |
Extract and manipulate coefficients | as.spray coeff coeffs coeffs,kform-method coeffs,ktensor-method coeffs.kform coeffs.ktensor coeffs<- coeffs<-,kform-method coeffs<-,ktensor-method coeffs<-.kform coeffs<-.ktensor coeffs<-.spray nterms spray value<- |
Various low-level helper functions | consolidate include_perms kform_to_ktensor kill_trivial_rows lose_repeats |
Contractions of k-forms | contract contract_elementary |
Dimension of the underlying vector space | dovs |
Elementary forms in three-dimensional space | dx dy dz |
Basis vectors in three-dimensional space | ex ey ez |
Hodge star operator | Hodge hodge star |
Inner product operator | inner inner.product inner_product |
Is a form zero to within numerical precision? | issmall |
Keep or drop variables | discard keep retain |
k-forms | as.function.kform as.kform d e general_kform is.form is.kform kform kform_basis kform_general |
Inner product of two kforms | kinner |
k-tensors | as.function.ktensor as.ktensor is.ktensor is.tensor ktensor |
Arithmetic Ops Group Methods for 'kform' and 'ktensor' objects | Ops Ops.kform Ops.ktensor Ops.stokes |
Print methods for k-tensors and k-forms | kform_symbolic_print ktensor_symbolic_print polyform print.kform print.ktensor print.stokes stokes_symbolic_print |
Random kforms and ktensors | rform rkform rktensor rtensor |
Scalars and losing attributes | 0form 0tensor drop is.scalar lose lose.kform lose.ktensor scalar |
Summaries of tensors and alternating forms | print.summary.kform print.summary.ktensor print.summary.spray summary summary.kform summary.ktensor summary.stokes |
Symbolic form | as.symbolic symbolic |
Tensor products of k-tensors | %X% tensorprod tensorprod2 |
Linear transforms of k-forms | pull-back pullback push-forward pushforward stretch transform |
The Vector cross product | vcp3 vector_cross_product |
The volume element | is.volume volume |
Wedge products | %^% wedge wedge2 |
Zap small values in k-forms and k-tensors | zap zap.kform zap.ktensor zap.spray zapsmall zaptiny |
Zero tensors and zero forms | is.empty is.zero zero zeroform zerotensor |