Ifpack Package Browser (Single Doxygen Collection) Development
Defines | Functions
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

static 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 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 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 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 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 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 void ScaleRectangularArray_double (int m, int n, double *c, int ldc, const double &beta)
static void ScaleRectangularArray_float (int m, int n, float *c, int ldc, const double &beta)
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

static 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.

static 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.

static 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.

static 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.

static 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.

static 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.

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

Definition at line 292 of file ifp_spmm.cpp.

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

Definition at line 320 of file ifp_spmm.cpp.

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines