#include <PreCMatrix.h>
Public Member Functions | |
void | addEntries (int a, int b, double c) |
SharedPointer< SparseMatrix > | convertSparseMatrix () |
PreSparseMatrix () | |
PreSparseMatrix (int a, int b) | |
void | removeDuplicates () |
void | sortEntries () |
std::ostream & | write (std::ostream &out) |
Public Attributes | |
vector< PreCEntry > | preCEntries |
int | value_a |
int | value_b |
Definition at line 25 of file PreCMatrix.h.
Definition at line 5 of file PreCMatrix.cpp.
PreSparseMatrix::PreSparseMatrix | ( | int | a, |
int | b | ||
) |
Definition at line 10 of file PreCMatrix.cpp.
void PreSparseMatrix::addEntries | ( | int | a, |
int | b, | ||
double | c | ||
) |
Definition at line 15 of file PreCMatrix.cpp.
Definition at line 24 of file PreCMatrix.cpp.
void PreSparseMatrix::removeDuplicates | ( | ) |
Definition at line 36 of file PreCMatrix.cpp.
void PreSparseMatrix::sortEntries | ( | ) |
Definition at line 20 of file PreCMatrix.cpp.
std::ostream & PreSparseMatrix::write | ( | std::ostream & | out | ) |
Definition at line 53 of file PreCMatrix.cpp.
Definition at line 34 of file PreCMatrix.h.
Definition at line 28 of file PreCMatrix.h.
Definition at line 29 of file PreCMatrix.h.