From 93f1069f382636540b64beecbe6e8f5ef27cc8fa Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 15 Jan 2021 16:32:13 +0100 Subject: Moved function to more appropriate header. --- p-spin.hpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'p-spin.hpp') diff --git a/p-spin.hpp b/p-spin.hpp index e5d4f94..13fbd98 100644 --- a/p-spin.hpp +++ b/p-spin.hpp @@ -45,8 +45,3 @@ std::tuple> WdW(const Tensor& J, const Vector< return {W, dW}; } - -template -Vector normalize(const Vector& z) { - return z * sqrt((double)z.size() / (Scalar)(z.transpose() * z)); -} -- cgit v1.2.3-54-g00ecf