#include <u2d_Problem.h>
Public Member Functions | |
u2d_LinearProblem (int _size) | |
u2d_LinearProblem (const u2d_LinearProblem &orig) | |
void | addTerm (int i, int j, double val) |
void | setTerm (int i, int j, double val) |
void | addRHSTerm (int i, double val) |
void | setRHSTerm (int i, double val) |
int | getSize () |
Public Attributes | |
Matrix | A |
dense_vector | b |
matrix::inserter< Matrix > | setter |
matrix::inserter< Matrix, update_plus< double > > | adder |
This is a template for linear problems that should work with all the matrix formats supported by MTL4. It is just a easy way of generating a subclass of u2d_Problem with the right matrix type in it. The most basic type is naturally one with a dense2D matrix type like: u2d_LinearProblem<dense2D>.