From cf4dae88483f0f55edf71d1dc4c04bdc93001539 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Wed, 19 Feb 2020 15:56:21 -0500 Subject: Unsucessfully implemented showing the reflection plane. --- euclidean.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'euclidean.hpp') diff --git a/euclidean.hpp b/euclidean.hpp index b1a5e80..49ec2d9 100644 --- a/euclidean.hpp +++ b/euclidean.hpp @@ -25,10 +25,14 @@ public: r = r0; } + Vector act(const Vector& x) const { + return t + r * x; + } + template Spin act(const Spin& s) const { Spin s_new; - s_new.x = t + r * s.x; + s_new.x = this->act(s.x); s_new.s = s.s; return s_new; -- cgit v1.2.3-70-g09d2