|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SLESolver
Solver API for system of linear equations (SLE).
Solver usually reads data using the SLEData
interface from another module..
SLEData
,
SLEDataStore
Field Summary | |
---|---|
static java.lang.String |
OMEGA
Property identifier: over-relaxation factor (non-mandatory). |
static java.lang.String |
STEPS
Property identifier: number of performed iteration steps (if applicable). |
static java.lang.String |
TOTAL_RESIDUAL
Property identifier: sum of all residual entries - accuracy of solution (non-mandatory). |
Fields inherited from interface cz.cuni.jagrlib.iface.Property |
---|
LOGGING, STATISTICS, TEXT_DESCRIPTION |
Method Summary | |
---|---|
int |
actualComponent()
Get actual component number. |
double[] |
getSolution(double[] result)
Reads the whole solution vector. |
double |
getSolution(int col)
Reads a single unknown (element of solution vector). |
double |
refine(int maxIterations,
boolean save)
Refine the solution performing several iterations. |
void |
reset()
Reset iterative solution algorithm (if applicable). |
void |
setComponent(int c)
Set actual component (non-mandatory). |
double |
setEpsilon(double epsilon)
Sets solver accuracy (whatever it means). |
void |
solve(boolean save)
Solve the whole system en bloc. |
void |
update()
Input data was changed, solver should adapt to it. |
Methods inherited from interface cz.cuni.jagrlib.iface.Property |
---|
commit, get, set |
Field Detail |
---|
static final java.lang.String OMEGA
static final java.lang.String STEPS
static final java.lang.String TOTAL_RESIDUAL
Method Detail |
---|
double setEpsilon(double epsilon)
void solve(boolean save)
save
- Solution will be saved into the associated SLEDataStore
.void reset()
double refine(int maxIterations, boolean save)
maxIterations
- Number of iterations requested.save
- Solution will be saved into the associated SLEDataStore
.
void update()
solve(boolean)
or refine(int, boolean)
will be called afterwards..
double getSolution(int col)
double[] getSolution(double[] result)
int actualComponent()
void setComponent(int c)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |