Handbook
Glossary
energy ( system -- x )
Vocabulary
benchmark
.
nbody-simd
Inputs
system
an
object
Outputs
x
an
object
Definition
USING:
kernel
math
;
IN:
benchmark.nbody-simd
:
energy
( system -- x )
[
0.0
]
dip
[
newton's-law
-
]
[
inertia
+
]
each-pair
;
inline