00001 // ---------------------------------------------------------------------------- 00002 // ILSS_PAR 00003 // ---------------------------------------------------------------------------- 00004 // Parallel Interval Linear System Solver 00005 // Matrix multiplication/operation module 00006 // ---------------------------------------------------------------------------- 00007 // Paralleler Verifizierter Loeser fuer lineare Intervallgleichungssysteme 00008 // Modul fuer Matrixoperationen 00009 // ---------------------------------------------------------------------------- 00010 // Copyright (C) 2004-2007 Markus Grimmer 00011 // 00012 // markus.grimmer@math.uni-wuppertal.de 00013 // ---------------------------------------------------------------------------- 00014 00015 // This file is part of the Parallel Interval Linear System Solver ILSS_PAR. 00016 // 00017 // ILSS_PAR is free software; you can redistribute it and/or modify 00018 // it under the terms of the GNU General Public License as published by 00019 // the Free Software Foundation; either version 2 of the License, or 00020 // (at your option) any later version. 00021 // 00022 // ILSS_PAR is distributed in the hope that it will be useful, 00023 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00024 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00025 // GNU General Public License for more details. 00026 // 00027 // You should have received a copy of the GNU General Public License 00028 // along with ILSS_PAR; if not, write to the Free Software 00029 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00030 00031 // ---------------------------------------------------------------------------- 00032 // ---------------------------------------------------------------------------- 00033 // ---------------------------------------------------------------------------- 00034 00050 #ifndef __MATMUL_PAR_HPP 00051 #define __MATMUL_PAR_HPP 00052 00053 #include <fstream> 00054 #include <vector> 00055 #include <rmatrix.hpp> 00056 #include <imatrix.hpp> 00057 00058 using namespace cxsc; 00059 using namespace std; 00060 00061 extern void MatMul ( imatrix&, imatrix&, imatrix&, int, int, int, int, int, int, 00062 int&, int&, ofstream& ); 00063 00064 extern void MatMul ( rmatrix&, rmatrix&, rmatrix&, int, int, int, int, int, int, 00065 int&, int&, ofstream& ); 00066 00067 extern void IminusAB ( rmatrix&, imatrix&, imatrix&, int, int, int, int, int, int, 00068 int&, int&, ofstream& ); 00069 00070 extern void IminusA1A2B ( rmatrix&, rmatrix&, imatrix&, imatrix&, 00071 int, int, int, int, int, int, int&, int&, ofstream& ); 00072 00073 extern void ABminusRndAB ( rmatrix&, rmatrix&, rmatrix&, rmatrix&, 00074 int, int, int, int, int, int, int&, int&, ofstream&); 00075 00076 #endif