ESYS13  Revision_
Classes | Typedefs | Functions
SparseMatrix.h File Reference
#include "Common.h"
#include "Pattern.h"
#include "Options.h"
#include "Paso.h"

Go to the source code of this file.

Classes

struct  Paso_SparseMatrix

Typedefs

typedef int Paso_SparseMatrixType
typedef struct Paso_SparseMatrix Paso_SparseMatrix

Functions

Paso_SparseMatrixPaso_SparseMatrix_alloc (Paso_SparseMatrixType, Paso_Pattern *, dim_t, dim_t, const bool_t)
Paso_SparseMatrixPaso_SparseMatrix_getReference (Paso_SparseMatrix *)
dim_t Paso_SparseMatrix_getNumColors (Paso_SparseMatrix *)
void Paso_SparseMatrix_applyDiagonal_CSR_OFFSET0 (Paso_SparseMatrix *A, const double *left, const double *right)
index_tPaso_SparseMatrix_borrowColoringPointer (Paso_SparseMatrix *)
void Paso_SparseMatrix_free (Paso_SparseMatrix *)
void Paso_SparseMatrix_MatrixVector_CSC_OFFSET0 (const double alpha, const Paso_SparseMatrix *A, const double *in, const double beta, double *out)
void Paso_SparseMatrix_MatrixVector_CSC_OFFSET1 (const double alpha, const Paso_SparseMatrix *A, const double *in, const double beta, double *out)
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0 (const double alpha, const Paso_SparseMatrix *A, const double *in, const double beta, double *out)
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET1 (const double alpha, const Paso_SparseMatrix *A, const double *in, const double beta, double *out)
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0_DIAG (const double alpha, const Paso_SparseMatrix *A, const double *in, const double beta, double *out)
void Paso_SparseMatrix_copy (Paso_SparseMatrix *, double *)
void Paso_SparseMatrix_maxAbsRow_CSR_OFFSET0 (const Paso_SparseMatrix *, double *)
void Paso_SparseMatrix_addAbsRow_CSR_OFFSET0 (const Paso_SparseMatrix *, double *)
void Paso_SparseMatrix_addRow_CSR_OFFSET0 (Paso_SparseMatrix *, double *)
void Paso_SparseMatrix_nullifyRowsAndCols_CSC_BLK1 (Paso_SparseMatrix *A, double *mask_row, double *mask_col, double main_diagonal_value)
void Paso_SparseMatrix_nullifyRowsAndCols_CSR_BLK1 (Paso_SparseMatrix *A, double *mask_row, double *mask_col, double main_diagonal_value)
void Paso_SparseMatrix_nullifyRowsAndCols_CSC (Paso_SparseMatrix *A, double *mask_row, double *mask_col, double main_diagonal_value)
void Paso_SparseMatrix_nullifyRowsAndCols_CSR (Paso_SparseMatrix *A, double *mask_row, double *mask_col, double main_diagonal_value)
void Paso_SparseMatrix_nullifyRows_CSR_BLK1 (Paso_SparseMatrix *A, double *mask_row, double main_diagonal_value)
void Paso_SparseMatrix_saveHB_CSC (Paso_SparseMatrix *, FILE *)
Paso_SparseMatrixPaso_SparseMatrix_getSubmatrix (Paso_SparseMatrix *A, dim_t, dim_t, index_t *, index_t *)
Paso_SparseMatrixPaso_SparseMatrix_getBlock (Paso_SparseMatrix *A, int blockid)
Paso_SparseMatrixPaso_SparseMatrix_MatrixMatrix (const Paso_SparseMatrix *A, const Paso_SparseMatrix *B)
void Paso_SparseMatrix_MatrixMatrix_DD (Paso_SparseMatrix *C, const Paso_SparseMatrix *A, const Paso_SparseMatrix *B)
void Paso_SparseMatrix_MatrixMatrix_DB (Paso_SparseMatrix *C, const Paso_SparseMatrix *A, const Paso_SparseMatrix *B)
void Paso_SparseMatrix_MatrixMatrix_BD (Paso_SparseMatrix *C, const Paso_SparseMatrix *A, const Paso_SparseMatrix *B)
void Paso_SparseMatrix_MatrixMatrix_BB (Paso_SparseMatrix *C, const Paso_SparseMatrix *A, const Paso_SparseMatrix *B)
Paso_SparseMatrixPaso_SparseMatrix_MatrixMatrixTranspose (const Paso_SparseMatrix *A, const Paso_SparseMatrix *B, const Paso_SparseMatrix *T)
void Paso_SparseMatrix_MatrixMatrixTranspose_DD (Paso_SparseMatrix *C, const Paso_SparseMatrix *A, const Paso_SparseMatrix *B, const Paso_SparseMatrix *T)
void Paso_SparseMatrix_MatrixMatrixTranspose_DB (Paso_SparseMatrix *C, const Paso_SparseMatrix *A, const Paso_SparseMatrix *B, const Paso_SparseMatrix *T)
void Paso_SparseMatrix_MatrixMatrixTranspose_BD (Paso_SparseMatrix *C, const Paso_SparseMatrix *A, const Paso_SparseMatrix *B, const Paso_SparseMatrix *T)
void Paso_SparseMatrix_MatrixMatrixTranspose_BB (Paso_SparseMatrix *C, const Paso_SparseMatrix *A, const Paso_SparseMatrix *B, const Paso_SparseMatrix *T)
Paso_SparseMatrixPaso_SparseMatrix_unroll (const Paso_SparseMatrixType type, const Paso_SparseMatrix *A)
Paso_SparseMatrixPaso_SparseMatrix_getTranspose (Paso_SparseMatrix *P)
void Paso_SparseMatrix_setValues (Paso_SparseMatrix *, double)
void Paso_SparseMatrix_saveMM_CSC (Paso_SparseMatrix *, FILE *)
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0_stripe (const double alpha, const dim_t nRows, const dim_t row_block_size, const dim_t col_block_size, const index_t *ptr, const index_t *index, const double *val, const double *in, const double beta, double *out)
Paso_SparseMatrixPaso_SparseMatrix_loadMM_toCSR (char *fileName_p)
void Paso_SparseMatrix_saveMM (Paso_SparseMatrix *A_p, char *fileName_p)
void Paso_SparseMatrix_nullifyRows_CSR (Paso_SparseMatrix *, double *, double)
index_tPaso_SparseMatrix_borrowMainDiagonalPointer (Paso_SparseMatrix *A_p)
void Paso_SparseMatrix_copyFromMainDiagonal (Paso_SparseMatrix *A_p, double *out)
void Paso_SparseMatrix_copyToMainDiagonal (Paso_SparseMatrix *A_p, const double *in)
void Paso_SparseMatrix_copyBlockFromMainDiagonal (Paso_SparseMatrix *A_p, double *out)
void Paso_SparseMatrix_copyBlockToMainDiagonal (Paso_SparseMatrix *A_p, const double *in)
void Paso_SparseMatrix_applyBlockMatrix (Paso_SparseMatrix *A_p, double *block_diag, int *pivot, double *x, double *b)
void Paso_SparseMatrix_invMain (Paso_SparseMatrix *A_p, double *inv_diag, int *pivot)
dim_t Paso_SparseMatrix_maxDeg (Paso_SparseMatrix *A_p)
dim_t Paso_SparseMatrix_getTotalNumRows (const Paso_SparseMatrix *A)
dim_t Paso_SparseMatrix_getTotalNumCols (const Paso_SparseMatrix *A)
dim_t Paso_SparseMatrix_getNumRows (const Paso_SparseMatrix *A)
dim_t Paso_SparseMatrix_getNumCols (const Paso_SparseMatrix *A)
double Paso_SparseMatrix_getSize (const Paso_SparseMatrix *A)
double Paso_SparseMatrix_getSparsity (const Paso_SparseMatrix *A)

Typedef Documentation

typedef int Paso_SparseMatrixType

Function Documentation

void Paso_SparseMatrix_addAbsRow_CSR_OFFSET0 ( const Paso_SparseMatrix ,
double *   
)
void Paso_SparseMatrix_applyBlockMatrix ( Paso_SparseMatrix A_p,
double *  block_diag,
int *  pivot,
double *  x,
double *  b 
)
void Paso_SparseMatrix_applyDiagonal_CSR_OFFSET0 ( Paso_SparseMatrix A,
const double *  left,
const double *  right 
)
void Paso_SparseMatrix_copy ( Paso_SparseMatrix ,
double *   
)
void Paso_SparseMatrix_copyBlockToMainDiagonal ( Paso_SparseMatrix A_p,
const double *  in 
)
void Paso_SparseMatrix_copyFromMainDiagonal ( Paso_SparseMatrix A_p,
double *  out 
)
void Paso_SparseMatrix_copyToMainDiagonal ( Paso_SparseMatrix A_p,
const double *  in 
)
void Paso_SparseMatrix_invMain ( Paso_SparseMatrix A_p,
double *  inv_diag,
int *  pivot 
)
void Paso_SparseMatrix_MatrixVector_CSC_OFFSET0 ( const double  alpha,
const Paso_SparseMatrix A,
const double *  in,
const double  beta,
double *  out 
)
void Paso_SparseMatrix_MatrixVector_CSC_OFFSET1 ( const double  alpha,
const Paso_SparseMatrix A,
const double *  in,
const double  beta,
double *  out 
)
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0 ( const double  alpha,
const Paso_SparseMatrix A,
const double *  in,
const double  beta,
double *  out 
)
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0_DIAG ( const double  alpha,
const Paso_SparseMatrix A,
const double *  in,
const double  beta,
double *  out 
)
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET0_stripe ( const double  alpha,
const dim_t  nRows,
const dim_t  row_block_size,
const dim_t  col_block_size,
const index_t ptr,
const index_t index,
const double *  val,
const double *  in,
const double  beta,
double *  out 
)
void Paso_SparseMatrix_MatrixVector_CSR_OFFSET1 ( const double  alpha,
const Paso_SparseMatrix A,
const double *  in,
const double  beta,
double *  out 
)
void Paso_SparseMatrix_maxAbsRow_CSR_OFFSET0 ( const Paso_SparseMatrix ,
double *   
)
void Paso_SparseMatrix_nullifyRows_CSR ( Paso_SparseMatrix ,
double *  ,
double   
)
void Paso_SparseMatrix_nullifyRows_CSR_BLK1 ( Paso_SparseMatrix A,
double *  mask_row,
double  main_diagonal_value 
)
void Paso_SparseMatrix_nullifyRowsAndCols_CSC ( Paso_SparseMatrix A,
double *  mask_row,
double *  mask_col,
double  main_diagonal_value 
)
void Paso_SparseMatrix_nullifyRowsAndCols_CSC_BLK1 ( Paso_SparseMatrix A,
double *  mask_row,
double *  mask_col,
double  main_diagonal_value 
)
void Paso_SparseMatrix_nullifyRowsAndCols_CSR ( Paso_SparseMatrix A,
double *  mask_row,
double *  mask_col,
double  main_diagonal_value 
)
void Paso_SparseMatrix_nullifyRowsAndCols_CSR_BLK1 ( Paso_SparseMatrix A,
double *  mask_row,
double *  mask_col,
double  main_diagonal_value 
)
void Paso_SparseMatrix_saveHB_CSC ( Paso_SparseMatrix ,
FILE *   
)
void Paso_SparseMatrix_saveMM ( Paso_SparseMatrix A_p,
char *  fileName_p 
)
void Paso_SparseMatrix_saveMM_CSC ( Paso_SparseMatrix ,
FILE *   
)
void Paso_SparseMatrix_setValues ( Paso_SparseMatrix ,
double   
)