coordnames: Coordinate names for relativity

Description Usage Arguments Details Note Author(s) Examples

Description

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

Usage

1
2

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

1
2
3
4
5
6
7
8
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 documentation built on Oct. 23, 2020, 5:50 p.m.