Handbook
Glossary
inertia ( body -- e )
Vocabulary
benchmark
.
nbody
Inputs
body
an
object
Outputs
e
an
object
Definition
USING:
accessors
kernel
math
math.vectors
;
IN:
benchmark.nbody
:
inertia
( body -- e )
[
mass>>
]
[
velocity>>
norm-sq
]
bi
*
0.5
*
;