Functions
sparse-matrix.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "sparse-matrix.h"
Include dependency graph for sparse-matrix.c:

Go to the source code of this file.

Functions

int accumulateEntryInIMatrix (I_Matrix i_matrix, int row, int col, REAL_VALUE value)
int addEntryToIMatrix (I_Matrix i_matrix, int row, int col, REAL_VALUE value)
I_Matrix_Row_Node addEntryToRow (I_Matrix_Row_Node row, int col, REAL_VALUE value, int *count, int accumulate)
int countEntriesInIMatrix (I_Matrix i_matrix)
void destroyIMatrix (I_Matrix i_matrix)
void destroyMatrix (Matrix matrix)
void destroyRow (I_Matrix_Row_Node row)
void displayIMatrix (I_Matrix i_matrix)
void displayMatrix (Matrix matrix)
void displayRow (I_Matrix_Row_Node row)
REAL_VALUE getEntryMatrix (Matrix matrix, int row, int col)
I_Matrix newIMatrix (int num_rows)
Matrix newMatrix (int num_rows, int num_non_zero)
I_Matrix_Row_Node newRowNode (int col, REAL_VALUE value)
I_Matrix_Row_Node removeRowNode (I_Matrix_Row_Node row, int col, int *count)
REAL_VALUE sumIMatrixRowValues (I_Matrix i_matrix, int row)
REAL_VALUE sumRowValues (Matrix matrix, int row)
Matrix transformIMatrix (I_Matrix i_matrix)

Function Documentation

int accumulateEntryInIMatrix ( I_Matrix  i_matrix,
int  row,
int  col,
REAL_VALUE  value 
)

Definition at line 254 of file sparse-matrix.c.

int addEntryToIMatrix ( I_Matrix  i_matrix,
int  row,
int  col,
REAL_VALUE  value 
)

Definition at line 242 of file sparse-matrix.c.

I_Matrix_Row_Node addEntryToRow ( I_Matrix_Row_Node  row,
int  col,
REAL_VALUE  value,
int *  count,
int  accumulate 
)

Definition at line 110 of file sparse-matrix.c.

int countEntriesInIMatrix ( I_Matrix  i_matrix)

Definition at line 271 of file sparse-matrix.c.

void destroyIMatrix ( I_Matrix  i_matrix)

Definition at line 229 of file sparse-matrix.c.

void destroyMatrix ( Matrix  matrix)

Definition at line 330 of file sparse-matrix.c.

Definition at line 56 of file sparse-matrix.c.

void displayIMatrix ( I_Matrix  i_matrix)

Definition at line 294 of file sparse-matrix.c.

void displayMatrix ( Matrix  matrix)

Definition at line 400 of file sparse-matrix.c.

Definition at line 197 of file sparse-matrix.c.

REAL_VALUE getEntryMatrix ( Matrix  matrix,
int  row,
int  col 
)

Definition at line 422 of file sparse-matrix.c.

I_Matrix newIMatrix ( int  num_rows)

Definition at line 213 of file sparse-matrix.c.

Matrix newMatrix ( int  num_rows,
int  num_non_zero 
)

Definition at line 309 of file sparse-matrix.c.

I_Matrix_Row_Node newRowNode ( int  col,
REAL_VALUE  value 
)

Definition at line 39 of file sparse-matrix.c.

I_Matrix_Row_Node removeRowNode ( I_Matrix_Row_Node  row,
int  col,
int *  count 
)

Definition at line 66 of file sparse-matrix.c.

REAL_VALUE sumIMatrixRowValues ( I_Matrix  i_matrix,
int  row 
)

Definition at line 281 of file sparse-matrix.c.

REAL_VALUE sumRowValues ( Matrix  matrix,
int  row 
)

Definition at line 388 of file sparse-matrix.c.

Definition at line 350 of file sparse-matrix.c.



appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:30