csr_matrix.h File Reference

#include "realtype.h"

Go to the source code of this file.

Classes

struct  csr_matrix_row_struct
struct  csr_matrix_struct

Functions

int ergo_CSR_create (csr_matrix_struct *csr, int symmetryFlag, int n, int nnz, int *rowind, int *colind)
int ergo_CSR_destroy (csr_matrix_struct *csr)
int ergo_CSR_copy (csr_matrix_struct *csrDest, const csr_matrix_struct *csrSource)
int ergo_CSR_add_equal_structure (csr_matrix_struct *csrDest, const csr_matrix_struct *csrSource)
int ergo_CSR_add_to_element (csr_matrix_struct *csr, int row, int col, ergo_real value)
ergo_real ergo_CSR_get_element (const csr_matrix_struct *csr, int row, int col)
ergo_real ergo_CSR_get_max_abs_element (const csr_matrix_struct *csr)
int ergo_CSR_get_nvalues (const csr_matrix_struct *csr)
int ergo_CSR_get_values (const csr_matrix_struct *csr, int *rowind, int *colind, ergo_real *values, int nvalues)
int ergo_CSR_get_nvalues_singlerow (const csr_matrix_struct *csr, int row)
int ergo_CSR_get_values_singlerow (const csr_matrix_struct *csr, int row, int *colind, ergo_real *values, int nvalues)


Function Documentation

int ergo_CSR_add_equal_structure ( csr_matrix_struct csrDest,
const csr_matrix_struct csrSource 
)

int ergo_CSR_add_to_element ( csr_matrix_struct csr,
int  row,
int  col,
ergo_real  value 
)

int ergo_CSR_copy ( csr_matrix_struct csrDest,
const csr_matrix_struct csrSource 
)

int ergo_CSR_create ( csr_matrix_struct csr,
int  symmetryFlag,
int  n,
int  nnz,
int *  rowind,
int *  colind 
)

int ergo_CSR_destroy ( csr_matrix_struct csr  ) 

ergo_real ergo_CSR_get_element ( const csr_matrix_struct csr,
int  row,
int  col 
)

ergo_real ergo_CSR_get_max_abs_element ( const csr_matrix_struct csr  ) 

int ergo_CSR_get_nvalues ( const csr_matrix_struct csr  ) 

int ergo_CSR_get_nvalues_singlerow ( const csr_matrix_struct csr,
int  row 
)

int ergo_CSR_get_values ( const csr_matrix_struct csr,
int *  rowind,
int *  colind,
ergo_real values,
int  nvalues 
)

int ergo_CSR_get_values_singlerow ( const csr_matrix_struct csr,
int  row,
int *  colind,
ergo_real values,
int  nvalues 
)


Generated on Wed Nov 21 09:32:12 2012 for ergo by  doxygen 1.4.7