rotateSpinor method

Vector rotateSpinor (
  1. Vector vec
)

Implementation

Vector rotateSpinor(Vector vec) {
  return Vector(x * vec.x - y * vec.y, x * vec.y + y * vec.x);
}