u2d_LinearProblem< Matrix > Class Template Reference

#include <u2d_Problem.h>

Inheritance diagram for u2d_LinearProblem< Matrix >:
u2d_Problem

List of all members.

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

Detailed Description

template<typename Matrix>
class u2d_LinearProblem< Matrix >

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>.


The documentation for this class was generated from the following file:
 All Classes Functions
Generated by  doxygen 1.6.2-20100208