1 2 3 4 5 6 7 8 9 10 11 12 13
#pragma once #include "vector.hpp" template <class T, int D, class S> class Spin { public: Vector<T, D> x; S s; Spin() { x = Vector<T, D>::Zero(); } };