00001 /*=============================================================================
00002 File: matrix.cpp
00003 Purpose:
00004 Revision: $Id: matrix_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 "matrix.cpp"
00027
00028 namespace PLib {
00029
00030 void Matrix<double>::qSort(){
00031 qsort((char*)m,rows()*cols(),sizeof(double),compareDouble) ;
00032 }
00033
00034 #ifdef NO_IMPLICIT_TEMPLATES
00035
00036 template class Matrix<double> ;
00037
00038 template Matrix<double> operator+(const Matrix<double>&,const Matrix<double>&);
00039 template Matrix<double> operator-(const Matrix<double>&,const Matrix<double>&);
00040 template Matrix<double> operator*(const Matrix<double>&,const Matrix<double>&);
00041 template Matrix<double> operator*(const double,const Matrix<double>&);
00042 template Matrix<double> operator*(const Complex&,const Matrix<double>&);
00043 template Vector<double> operator*(const Matrix<double>&,const Vector<double>&);
00044 template int operator==(const Matrix<double>&,const Matrix<double>&);
00045 //template int operator!=(const Matrix<double>&,const Matrix<double>&);
00046 template Matrix<double> comm(const Matrix<double>&,const Matrix<double>&);
00047
00048
00049 #endif
00050
00051 }
1.2.14 written by Dimitri van Heesch,
© 1997-2002