One
modification of this code is a necessary one: the implementation of
the real-space energy was left as an exercise. Other modifications
made easily include embedding the main program inside a double loop
over desired and
values.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.