00001 /*=============================================================================
00002 File: vector.cpp
00003 Purpose:
00004 Revision: $Id: vector_double.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<double>::qSortStd(){
00031 qsort((char*)memory(),n(),sizeof(float),compareDouble) ;
00032 }
00033
00034
00035
00036 #ifdef NO_IMPLICIT_TEMPLATES
00037
00038 template class Vector<double> ;
00039
00040 template Vector<double> operator+(const Vector<double>&, const Vector<double>&);
00041 template Vector<double> operator-(const Vector<double>&, const Vector<double>&);
00042 template double operator*(const Vector<double>&,const Vector<double>&);
00043 template Vector<double> operator*(const Vector<double>& v, const double d);
00044 template Vector<double> operator*(const double d,const Vector<double>& v);
00045 template Vector<double> operator*(const Vector<double>& v, const Complex d);
00046 template int operator==(const Vector<double>&,const Vector<double>&);
00047 template int operator!=(const Vector<double>&,const Vector<double>&);
00048
00049 #endif
00050
00051 }
1.2.14 written by Dimitri van Heesch,
© 1997-2002