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