Package: lorentz 1.1-2

lorentz: The Lorentz Transform in Relativistic Physics

The Lorentz transform in special relativity; also the gyrogroup structure of three-velocities. Performs active and passive transforms 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.

Authors:Robin K. S. Hankin [aut, cre]

lorentz_1.1-2.tar.gz
lorentz_1.1-2.zip(r-4.5)lorentz_1.1-2.zip(r-4.4)lorentz_1.1-2.zip(r-4.3)
lorentz_1.1-2.tgz(r-4.4-any)lorentz_1.1-2.tgz(r-4.3-any)
lorentz_1.1-2.tar.gz(r-4.5-noble)lorentz_1.1-2.tar.gz(r-4.4-noble)
lorentz_1.1-2.tgz(r-4.4-emscripten)lorentz_1.1-2.tgz(r-4.3-emscripten)
lorentz.pdf |lorentz.html
lorentz/json (API)

# Install 'lorentz' in R:
install.packages('lorentz', repos = c('https://robinhankin.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/robinhankin/lorentz/issues

On CRAN:

104 exports 4 stars 1.71 score 5 dependencies 15 scripts 285 downloads

Last updated 2 months agofrom:4e406b53e5. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 17 2024
R-4.5-winOKSep 17 2024
R-4.5-linuxOKSep 17 2024
R-4.4-winOKSep 17 2024
R-4.4-macOKSep 17 2024
R-4.3-winOKSep 17 2024
R-4.3-macOKSep 17 2024

Exports:[<-.4vel4veladd3as.3celas.3velas.4momas.4velas.matrix.3velas.matrix.4velas.photonass_failboostc.3celc.3velc.4velcel_to_velceleritycelerity_urcelerity.3velcelerity.4velcelerity.defaultcomm_fail1comm_fail2coordnamescosinesdot3dustequal3etaflobfourmom_addfourmom_multfourvelgamgam_urgam.3celgam.3velgam.4velgam.defaultgamm1gamm1.3velgamm1.4velgamm1.defaultgyrgyr.agyrfuninner4is.3celis.3velis.4momis.4velis.consistent.4velis.consistent.boostis.consistent.boost.galileanis.consistent.nullveclength.veclowermassage3my_segnames.vecnames<-.vecneg3Ops.3velOps.4momOps.4velorthogorthog.galileanp_to_4momperfectfluidphotongasprint.3celprint.3velprint.4momprint.4velprod3ptmpureboostpureboost.galileanr3velr4velraiserapidityrapidity_urrapidity.3velrapidity.4velrapidity.defaultrboostreflectrotseq.3velsolspeedspeed.3velspeed.4velspeedsquaredsum.4momthreecelthreevelto3transform_ddtransform_udtransform_uuvel_to_4momvel_to_cel

Dependencies:abindmagicmagrittrquadformtensor

The lorentz package

Rendered fromlorentz.Rnwusingutils::Sweaveon Sep 17 2024.

Last update: 2024-05-21
Started: 2018-08-27

Readme and manuals

Help Manual

Help pageTopics
The Lorentz Transform in Relativistic Physicslorentz-package gyrogroup Lorentz lorentz
Coerce 3-vectors and 4-vectors to a matrixas.matrix.3vel as.matrix.4vel
Lorentz transformationsboost boostfun decompose is.consistent.boost is.consistent.boost.galilean is.consistent.galilean.boost orthog orthog.galilean precession pureboost pureboost.galilean rot Thomas thomas Thomas rotation Wigner wigner Wigner rotation
Combine vectors of three-velocities and four-velocities into a single vectorc.3cel c.3vel c.4vel
Celerity and rapidityas.3cel celerity celerity.3vel celerity.4vel celerity.default celerity_ur cel_to_vel is.3cel rapidity rapidity.3vel rapidity.4vel rapidity.default rapidity_ur threecel vel_to_cel
Failure of commutativity and associativity using visual plotsass_fail comm_fail comm_fail1 comm_fail2 my_seg
Coordinate names for relativitycoordnames flob
Direction cosinescosine cosines dcosines direction.cosines
Extract or replace parts of three-velocityExtract.3vel extract.3vel [.3vel [.4vel [.vel [<-.3vel [<-.4vel [<-.vel
Four momentum4-momentum 4mom 4momentum as.4mom four-momentum fourmom fourmomentum fourmom_add fourmom_mult is.4mom Ops.4mom p_to_4mom sum.4mom vel_to_4mom
Four velocities4-velocity 4vel 4velocity as.4vel four-velocity fourvel fourvelocity inner product inner4 is.4vel is.consistent.4vel to3
Classical mechanics; Newtonian approximation; infinite speed of lightclassical Galilean galilean Galileo galileo Newton newton Newtonian newtonian
Gamma correctiongam gam.3cel gam.3vel gam.4vel gam.default gamm1 gamm1.3vel gamm1.4vel gamm1.default gam_ur speed speed.3vel speed.4vel speedsquared
Gyr functiongyr gyr.a gyrfun
Arithmetic Ops Group Methods for 3vel objectsadd3 dot3 equal3 massage3 neg3 Ops Ops.3vel Ops.4vel Ops.gyr prod3
Photonsas.photon is.consistent.nullvec light null vector nullvec nullvector photon
Print methods for three-velocities and four-velocitiesprint.3cel print.3vel print.4mom print.4vel
Random relativistic velocitiesr3vel r4vel rboost
Mirrorsmirror mirrors reflect reflection
seq method for three velocitiesseq.3vel
Speed of light and Minkowski metriceta lightspeed minkowski ptm sol
Three velocities3-velocity 3vel 3velocity as.3vel is.3vel length.vec names.vec names<-.vec three-velocity threevel threevelocity
The energy-momentum tensordust energy-momentum energy-momentum-tensor lower perfectfluid photongas raise SET stress stress-energy stress-energy-tensor transform transform_dd transform_ud transform_uu