Separate compilation, part 1
Created by: twesterhout
Compile times are becoming an issue with NetKet. Also, since we have no C++ tests, there's almost no way to check that all the headers are included etc. This PR splits a few of the header files into header and source files which can be compiled independently and in parallel and are later linked together into a shared library.
In part 1 I converted the Dynamcs/
, Graph/
, Hilbert/
, and most of the Machine/
to separate compilation mode. The API remains the same, and tests pass (https://travis-ci.com/twesterhout/netket/builds/114785649) on my fork.