Main Page | Namespace List | Class List | File List | Namespace Members | Class Members | File Members

matmul_par.cpp File Reference

#include <mpi.h>
#include <rmatrix.hpp>
#include <imatrix.hpp>
#include <dot.hpp>
#include <idot.hpp>
#include <intvector.hpp>
#include <intmatrix.hpp>
#include <mvi_util.hpp>
#include <cmath>
#include <vector>
#include <iterator>
#include <algorithm>
#include <iostream>
#include "cxsc_mpicomm_templ.hpp"
#include "vectoroperations.hpp"
#include "matmul_par.hpp"

Functions

void MatMul (imatrix &A, imatrix &B, imatrix &R, int r, int s, int t, int root, int startproc, int endproc, int &errc, int &commerrc, ofstream &ausg)
void MatMul (rmatrix &A, rmatrix &B, rmatrix &R, int r, int s, int t, int root, int startproc, int endproc, int &errc, int &commerrc, ofstream &ausg)
void IminusAB (rmatrix &A, imatrix &B, imatrix &R, int r, int s, int t, int root, int startproc, int endproc, int &errc, int &commerrc, ofstream &ausg)
void IminusA1A2B (rmatrix &A1, rmatrix &A2, imatrix &B, imatrix &R, int r, int s, int t, int root, int startproc, int endproc, int &errc, int &commerrc, ofstream &ausg)
void ABminusRndAB (rmatrix &A, rmatrix &B, rmatrix &C1, rmatrix &C2, int r, int s, int t, int root, int startproc, int endproc, int &errc, int &commerrc, ofstream &ausg)

Detailed Description

ILSS_PAR Parallel Interval Linear System Solver Matrix multiplication/operation module.

Copyright (C) 2004-2007 Markus Grimmer

Contains a number of parallel matrix operations (including matrix multiplication) for the parallel verified linear system solver ILSS_PAR.


Function Documentation

void ABminusRndAB rmatrix &  A,
rmatrix &  B,
rmatrix &  C1,
rmatrix &  C2,
int  r,
int  s,
int  t,
int  root,
int  startproc,
int  endproc,
int &  errc,
int &  commerrc,
ofstream &  ausg
 

C1+C2:=#*(A*B-#*(A*B)) for rmatrices; A:r x s, B:s x t

Parameters:
[in] A Input matrix
[in] B Input matrix
[out] C1 Result
[out] C2 Result
[in] r Matrix dimension 1
[in] s Matrix dimension 2
[in] t Matrix dimension 3
[in] root Master process
[in] startproc ID of first involved proc (to date: expected to be =root)
[in] endproc ID of last involved proc
[out] errc Error code
[out] commerrc Error code
[in,out] ausg Output file stream

void IminusA1A2B rmatrix &  A1,
rmatrix &  A2,
imatrix &  B,
imatrix &  R,
int  r,
int  s,
int  t,
int  root,
int  startproc,
int  endproc,
int &  errc,
int &  commerrc,
ofstream &  ausg
 

I-A1*B-A2*B for A1,A2 rmatrix, B imatrix; A1/2:r x s, B:s x t

Parameters:
[in] A1 Input matrix
[in] A2 Input matrix
[in] B Input matrix
[out] R Result
[in] r Matrix dimension 1
[in] s Matrix dimension 2
[in] t Matrix dimension 3
[in] root Master process
[in] startproc ID of first involved proc (to date: expected to be =root)
[in] endproc ID of last involved proc
[out] errc Error code
[out] commerrc Error code
[in,out] ausg Output file stream

void IminusAB rmatrix &  A,
imatrix &  B,
imatrix &  R,
int  r,
int  s,
int  t,
int  root,
int  startproc,
int  endproc,
int &  errc,
int &  commerrc,
ofstream &  ausg
 

I-A*B for rmatrix*imatrix; A:r x s, B:s x t

Parameters:
[in] A Input matrix
[in] B Input matrix
[out] R Result
[in] r Matrix dimension 1
[in] s Matrix dimension 2
[in] t Matrix dimension 3
[in] root Master process
[in] startproc ID of first involved proc (to date: expected to be =root)
[in] endproc ID of last involved proc
[out] errc Error code
[out] commerrc Error code
[in,out] ausg Output file stream

void MatMul rmatrix &  A,
rmatrix &  B,
rmatrix &  R,
int  r,
int  s,
int  t,
int  root,
int  startproc,
int  endproc,
int &  errc,
int &  commerrc,
ofstream &  ausg
 

Matrix multiplication rmatrix*rmatrix A:r x s, B:s x t

Parameters:
[in] A Input matrix
[in] B Input matrix
[out] R Result
[in] r Matrix dimension 1
[in] s Matrix dimension 2
[in] t Matrix dimension 3
[in] root Master process
[in] startproc ID of first involved proc (to date: expected to be =root)
[in] endproc ID of last involved proc
[out] errc Error code
[out] commerrc Error code
[in,out] ausg Output file stream

void MatMul imatrix &  A,
imatrix &  B,
imatrix &  R,
int  r,
int  s,
int  t,
int  root,
int  startproc,
int  endproc,
int &  errc,
int &  commerrc,
ofstream &  ausg
 

Matrix multiplication imatrix*imatrix A:r x s, B:s x t

Parameters:
[in] A Input matrix
[in] B Input matrix
[out] R Result
[in] r Matrix dimension 1
[in] s Matrix dimension 2
[in] t Matrix dimension 3
[in] root Master process
[in] startproc ID of first involved proc (to date: expected to be =root)
[in] endproc ID of last involved proc
[out] errc Error code
[out] commerrc Error code
[in,out] ausg Output file stream


Generated on Tue Feb 27 21:19:13 2007 for VFIS by  doxygen 1.4.4