Skip to contents

Print methods for three-velocities

Usage

# S3 method for class '3vel'
print(x, ...)
# S3 method for class '3cel'
print(x, ...)
# S3 method for class '4vel'
print(x, ...)
# S3 method for class '4mom'
print(x, ...)

Arguments

x

Vector of three-velocities

...

Further arguments, currently ignored

Value

Returns a vector of three-velocities

Author

Robin K. S. Hankin

Examples

r3vel(10)
#> A vector of three-velocities (speed of light = 1)
#>                 x          y            z
#>  [1,]  0.21589506 -0.5334974  0.261671421
#>  [2,]  0.76132869 -0.5567015 -0.109789563
#>  [3,]  0.06965428 -0.4683866  0.180048179
#>  [4,] -0.17881626  0.8282777  0.371393794
#>  [5,]  0.34220120 -0.1044797 -0.611713759
#>  [6,]  0.38128990 -0.0995559  0.905975890
#>  [7,] -0.32594615  0.2686894 -0.251137753
#>  [8,]  0.37760696  0.1404866  0.657255575
#>  [9,] -0.75105993  0.2925092  0.004428411
#> [10,]  0.34632357 -0.3072119  0.820895253