00001 /*=============================================================================
00002 File: vector.cpp
00003 Purpose:
00004 Revision: $Id: vector_int.cpp,v 1.2 2002/05/13 21:07:45 philosophil Exp $
00005 Created by: Philippe Lavoie (3 Oct, 1996)
00006 Modified by:
00007
00008 Copyright notice:
00009 Copyright (C) 1996-1998 Philippe Lavoie
00010
00011 This library is free software; you can redistribute it and/or
00012 modify it under the terms of the GNU Library General Public
00013 License as published by the Free Software Foundation; either
00014 version 2 of the License, or (at your option) any later version.
00015
00016 This library is distributed in the hope that it will be useful,
00017 but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00019 Library General Public License for more details.
00020
00021 You should have received a copy of the GNU Library General Public
00022 License along with this library; if not, write to the Free
00023 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00024 =============================================================================*/
00025
00026 #include "vector.cpp"
00027
00028 namespace PLib {
00029
00030 void Vector<int>::qSortStd(){
00031 qsort((char*)memory(),n(),sizeof(int),compareInt) ;
00032 }
00033
00034 #ifdef NO_IMPLICIT_TEMPLATES
00035
00036 template class Vector<int> ;
00037
00038 template Vector<int> operator+(const Vector<int>&, const Vector<int>&);
00039 template Vector<int> operator-(const Vector<int>&, const Vector<int>&);
00040 template int operator*(const Vector<int>&,const Vector<int>&);
00041 template Vector<int> operator*(const Vector<int>& v, const double d);
00042 template Vector<int> operator*(const Vector<int>& v, const Complex d);
00043 template int operator==(const Vector<int>&,const Vector<int>&);
00044 template int operator!=(const Vector<int>&,const Vector<int>&);
00045
00046 #endif
00047
00048 }
1.2.14 written by Dimitri van Heesch,
© 1997-2002