ifp_spmm.cpp File Reference

#include <stdlib.h>
#include <iostream>
#include "ifp_spblas.h"

Include dependency graph for ifp_spmm.cpp:

Go to the source code of this file.

Defines

#define _SpMatVal(_a, _lda, _row, _col)   ((_a)[(_lda)*(_col)+(_row)])

Functions

void CoordMatVec_float (int m, int n, int k, const float &alpha, const float *val, const int *indx, const int *jndx, const int &nnz, const float *b, int ldb, float *c, int ldc)
void CoordMatVec_double (int m, int n, int k, const double &alpha, const double *val, const int *indx, const int *jndx, const int &nnz, const double *b, int ldb, double *c, int ldc)
void CompColMatVec_double (int m, int n, int k, const double &alpha, const double *val, const int *indx, const int *pntr, const double *b, int ldb, double *c, int ldc)
void CompColMatVec_float (int m, int n, int k, const float &alpha, const float *val, const int *indx, const int *pntr, const float *b, int ldb, float *c, int ldc)
void CompRowMatVec_double (int m, int n, int k, const double &alpha, const double *val, const int *indx, const int *pntr, const double *b, int ldb, double *c, int ldc)
void CompRowMatVec_float (int m, int n, int k, const float &alpha, const float *val, const int *indx, const int *pntr, const float *b, int ldb, float *c, int ldc)
void ScaleRectangularArray_double (int m, int n, double *c, int ldc, const double &beta)
void ScaleRectangularArray_float (int m, int n, float *c, int ldc, const double &beta)

Variables

void F77NAME( scoomm )(const int &transa, const int &m, const int &n, const int &k, const float &alpha, const int descra[], const float *val, const int *indx, const int *jndx, const int &nnz, const float *b, const int &ldb, const float &beta, float *c, const int &ldc, float *work, const int &lwork)
void F77NAME( dcoomm )(const int &transa, const int &m, const int &n, const int &k, const double &alpha, const int descra[], const double *val, const int *indx, const int *jndx, const int &nnz, const double *b, const int &ldb, const double &beta, double *c, const int &ldc, double *work, const int &lwork)
void F77NAME( scscmm )(const int &transa, const int &m, const int &n, const int &k, const float &alpha, const int descra[], const float *val, const int *indx, const int *pntr, const float *b, int &ldb, const float &beta, float *c, const int &ldc, float *work, const int &lwork)
void F77NAME( dcscmm )(const int &transa, const int &m, const int &n, const int &k, const double &alpha, const int descra[], const double *val, const int *indx, const int *pntr, const double *b, int &ldb, const double &beta, double *c, const int &ldc, double *work, const int &lwork)
void F77NAME( scsrmm )(const int &transa, const int &m, const int &n, const int &k, const float &alpha, const int descra[], const float *val, const int *indx, const int *pntr, const float *b, int &ldb, const float &beta, float *c, const int &ldc, float *work, const int &lwork)
void F77NAME( dcsrmm )(const int &transa, const int &m, const int &n, const int &k, const double &alpha, const int descra[], const double *val, const int *indx, const int *pntr, const double *b, int &ldb, const double &beta, double *c, const int &ldc, double *work, const int &lwork)


Define Documentation

#define _SpMatVal _a,
_lda,
_row,
_col   )     ((_a)[(_lda)*(_col)+(_row)])
 

Definition at line 46 of file ifp_spmm.cpp.


Function Documentation

void CoordMatVec_float int  m,
int  n,
int  k,
const float &  alpha,
const float *  val,
const int *  indx,
const int *  jndx,
const int &  nnz,
const float *  b,
int  ldb,
float *  c,
int  ldc
[static]
 

Definition at line 48 of file ifp_spmm.cpp.

void CoordMatVec_double int  m,
int  n,
int  k,
const double &  alpha,
const double *  val,
const int *  indx,
const int *  jndx,
const int &  nnz,
const double *  b,
int  ldb,
double *  c,
int  ldc
[static]
 

Definition at line 83 of file ifp_spmm.cpp.

void CompColMatVec_double int  m,
int  n,
int  k,
const double &  alpha,
const double *  val,
const int *  indx,
const int *  pntr,
const double *  b,
int  ldb,
double *  c,
int  ldc
[static]
 

Definition at line 119 of file ifp_spmm.cpp.

void CompColMatVec_float int  m,
int  n,
int  k,
const float &  alpha,
const float *  val,
const int *  indx,
const int *  pntr,
const float *  b,
int  ldb,
float *  c,
int  ldc
[static]
 

Definition at line 161 of file ifp_spmm.cpp.

void CompRowMatVec_double int  m,
int  n,
int  k,
const double &  alpha,
const double *  val,
const int *  indx,
const int *  pntr,
const double *  b,
int  ldb,
double *  c,
int  ldc
[static]
 

Definition at line 205 of file ifp_spmm.cpp.

void CompRowMatVec_float int  m,
int  n,
int  k,
const float &  alpha,
const float *  val,
const int *  indx,
const int *  pntr,
const float *  b,
int  ldb,
float *  c,
int  ldc
[static]
 

Definition at line 249 of file ifp_spmm.cpp.

void ScaleRectangularArray_double int  m,
int  n,
double *  c,
int  ldc,
const double &  beta
[static]
 

Definition at line 292 of file ifp_spmm.cpp.

void ScaleRectangularArray_float int  m,
int  n,
float *  c,
int  ldc,
const double &  beta
[static]
 

Definition at line 320 of file ifp_spmm.cpp.


Variable Documentation

void F77NAME( scoomm)(const int &transa, const int &m, const int &n, const int &k, const float &alpha, const int descra[], const float *val, const int *indx, const int *jndx, const int &nnz, const float *b, const int &ldb, const float &beta, float *c, const int &ldc, float *work, const int &lwork)
 

Definition at line 403 of file ifp_spmm.cpp.

void F77NAME( dcoomm)(const int &transa, const int &m, const int &n, const int &k, const double &alpha, const int descra[], const double *val, const int *indx, const int *jndx, const int &nnz, const double *b, const int &ldb, const double &beta, double *c, const int &ldc, double *work, const int &lwork)
 

Definition at line 436 of file ifp_spmm.cpp.

void F77NAME( scscmm)(const int &transa, const int &m, const int &n, const int &k, const float &alpha, const int descra[], const float *val, const int *indx, const int *pntr, const float *b, int &ldb, const float &beta, float *c, const int &ldc, float *work, const int &lwork)
 

Definition at line 521 of file ifp_spmm.cpp.

void F77NAME( dcscmm)(const int &transa, const int &m, const int &n, const int &k, const double &alpha, const int descra[], const double *val, const int *indx, const int *pntr, const double *b, int &ldb, const double &beta, double *c, const int &ldc, double *work, const int &lwork)
 

Definition at line 547 of file ifp_spmm.cpp.

void F77NAME( scsrmm)(const int &transa, const int &m, const int &n, const int &k, const float &alpha, const int descra[], const float *val, const int *indx, const int *pntr, const float *b, int &ldb, const float &beta, float *c, const int &ldc, float *work, const int &lwork)
 

Definition at line 625 of file ifp_spmm.cpp.

void F77NAME( dcsrmm)(const int &transa, const int &m, const int &n, const int &k, const double &alpha, const int descra[], const double *val, const int *indx, const int *pntr, const double *b, int &ldb, const double &beta, double *c, const int &ldc, double *work, const int &lwork)
 

Definition at line 651 of file ifp_spmm.cpp.


Generated on Thu Sep 18 12:37:24 2008 for Ifpack Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1