Rotations in the plane and Prolog

  • Authors:
  • Attila Csenki

  • Affiliations:
  • School of Computing and Mathematics, University of Bradford, Bradford BD7 1DP, West Yorkshire, United Kingdom

  • Venue:
  • Science of Computer Programming
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Rotation is a well-known operation on lists. We define its two-dimensional analogue and discuss its implementation in Prolog using difference lists. An application to the iterative solution of a system of linear equations by the Gauss-Seidel method is given.