Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

coordnames

Coordinate names for relativity


Description

Trivial function to set coordinate names to “t”, “x”, “y”, “z”.

Usage

coordnames(...)
flob(x)

Arguments

...

Further arguments, currently ignored

x

A matrix

Details

Function coordnames() simply returns the character string c("t","x","y","z"). It may be overwritten. Function flob() sets the row and columnnames of a 4*4 matrix to coordnames().

Note

If anyone can think of a better name than flob() let me know.

Author(s)

Robin K. S. Hankin

Examples

coordnames()

flob(diag(3))
flob(matrix(1,4,4))

## You can change the names if you wish:
coordnames <- function(x){letters[1:4]}
flob(outer(1:4,1:4))

lorentz

The Lorentz Transform in Relativistic Physics

v1.0-5
GPL-3
Authors
Robin K. S. Hankin [aut, cre] (<https://orcid.org/0000-0001-5982-0415>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.