scale all coordinates by s
addition
substraction
inverse-scale (divide) all coordinates by s
direct access to coordinates
direct access to coordinates
val p=new Point(1,2,3); p(0)=3
coordinates list
dimension
distance to other point
squared distance to some other point
dot product
norm of the vector
pretty printing
pretty printing
A generic class to deal with n-dimensional points (or vectors) in cartesian coordinates with some basic operations
Author:
Stephane Plaszczynski