Learn R Programming

lorentz (version 1.1-1)

galileo: Classical mechanics; Newtonian approximation; infinite speed of light

Description

The Lorentz transforms reduce to their classical limit, the Galilean transforms, if speeds are low compared with \(c\). Package idiom for working in a classical framework is to use an infinite speed of light: sol(Inf). Here I show examples of this.

Arguments

Author

Robin K. S. Hankin

See Also

boost

Examples

Run this code
sol(Inf)
boost(as.3vel(1:3))
as.3vel(1:3) + as.3vel(c(-1,4,5))     # classical velocity addition
rot(as.3vel(1:3),as.3vel(c(-4,5,2)))  # identity matrix


B <- boost(as.3vel(1:3))
orthog(B) %*% pureboost(B)  # should be B

sol(1)

Run the code above in your browser using DataLab