diff options
Diffstat (limited to 'include/vector.h')
-rw-r--r-- | include/vector.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/include/vector.h b/include/vector.h index 81d7e9f..a10c355 100644 --- a/include/vector.h +++ b/include/vector.h @@ -1,20 +1,21 @@ -/* vector.h: operations on vectors and points. +# vector.h: operations on vectors and points. +# +# Copyright (C) 1992, 2011 Free Software Foundation, Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# -Copyright (C) 1992, 2011 Free Software Foundation, Inc. - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef VECTOR_H #define VECTOR_H @@ -67,7 +68,7 @@ extern const coordinate_type Vadd_int_point extern const vector_type Vabs (const vector_type); - + /* Operations on points with real coordinates. It is not orthogonal, but more convenient, to have the subtraction operator return a vector, and the addition operator return a point. */ |