diff options
Diffstat (limited to 'stereographic.hpp')
-rw-r--r-- | stereographic.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/stereographic.hpp b/stereographic.hpp index 7dd871c..4109bc7 100644 --- a/stereographic.hpp +++ b/stereographic.hpp @@ -1,3 +1,6 @@ +#include <eigen3/Eigen/Cholesky> + +#include "p-spin.hpp" Vector stereographicToEuclidean(const Vector& ζ) { unsigned N = ζ.size() + 1; @@ -67,8 +70,7 @@ Matrix stereographicMetric(const Vector& ζ) { return g; } -std::tuple<std::complex<double>, Vector, Matrix> stereographicHamGradHess(const Tensor3& J, - const Vector& ζ) { +std::tuple<Scalar, Vector, Matrix> stereographicHamGradHess(const Tensor& J, const Vector& ζ) { Vector grad; Matrix hess; |