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:
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')) |
Bug tracker:https://github.com/robinhankin/lorentz/issues
Last updated 4 months agofrom:4e406b53e5. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 16 2024 |
R-4.5-win | OK | Nov 16 2024 |
R-4.5-linux | OK | Nov 16 2024 |
R-4.4-win | OK | Nov 16 2024 |
R-4.4-mac | OK | Nov 16 2024 |
R-4.3-win | OK | Nov 16 2024 |
R-4.3-mac | OK | Nov 16 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
Readme and manuals
Help Manual
Help page | Topics |
---|---|
The Lorentz Transform in Relativistic Physics | lorentz-package gyrogroup Lorentz lorentz |
Coerce 3-vectors and 4-vectors to a matrix | as.matrix.3vel as.matrix.4vel |
Lorentz transformations | boost 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 vector | c.3cel c.3vel c.4vel |
Celerity and rapidity | as.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 plots | ass_fail comm_fail comm_fail1 comm_fail2 my_seg |
Coordinate names for relativity | coordnames flob |
Direction cosines | cosine cosines dcosines direction.cosines |
Extract or replace parts of three-velocity | Extract.3vel extract.3vel [.3vel [.4vel [.vel [<-.3vel [<-.4vel [<-.vel |
Four momentum | 4-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 velocities | 4-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 light | classical Galilean galilean Galileo galileo Newton newton Newtonian newtonian |
Gamma correction | gam gam.3cel gam.3vel gam.4vel gam.default gamm1 gamm1.3vel gamm1.4vel gamm1.default gam_ur speed speed.3vel speed.4vel speedsquared |
Gyr function | gyr gyr.a gyrfun |
Arithmetic Ops Group Methods for 3vel objects | add3 dot3 equal3 massage3 neg3 Ops Ops.3vel Ops.4vel Ops.gyr prod3 |
Photons | as.photon is.consistent.nullvec light null vector nullvec nullvector photon |
Print methods for three-velocities and four-velocities | print.3cel print.3vel print.4mom print.4vel |
Random relativistic velocities | r3vel r4vel rboost |
Mirrors | mirror mirrors reflect reflection |
seq method for three velocities | seq.3vel |
Speed of light and Minkowski metric | eta lightspeed minkowski ptm sol |
Three velocities | 3-velocity 3vel 3velocity as.3vel is.3vel length.vec names.vec names<-.vec three-velocity threevel threevelocity |
The energy-momentum tensor | dust energy-momentum energy-momentum-tensor lower perfectfluid photongas raise SET stress stress-energy stress-energy-tensor transform transform_dd transform_ud transform_uu |