|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgausselim.GaussElimModel
public class GaussElimModel
Gaussian elimination for solving systems of linear equations.
Constructor Summary | |
---|---|
GaussElimModel(int order,
java.math.MathContext mc)
Create a new model for Gaussian elimination. |
Method Summary | |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener l)
Add a ChangeListener. |
void |
fireStateChanged(javax.swing.event.ChangeEvent e)
Notify all ChangeListeners. |
java.math.BigDecimal |
getA(int row,
int column)
|
java.math.BigDecimal |
getB(int row)
|
ExampleSystem |
getExampleSystem()
|
java.math.BigDecimal |
getL(int row,
int column)
|
java.math.MathContext |
getMathContext()
|
int |
getOrder()
|
PivotingMethod |
getPivotingMethod()
|
java.lang.String |
getStatus()
|
int |
getStep()
|
java.math.BigDecimal |
getX(int row)
|
void |
initialize(java.math.BigDecimal[][] a,
java.math.BigDecimal[] b)
Initialize the system with the specified input matrices. |
boolean |
isSolved()
|
void |
removeChangeListener(javax.swing.event.ChangeListener l)
Remove a ChangeListener. |
void |
reset()
Reset the system. |
void |
setA(int row,
int column,
java.math.BigDecimal value)
Assign a new value to A(row, column). |
void |
setB(int row,
java.math.BigDecimal value)
Assign a new value to b(row). |
void |
setExampleSystem(ExampleSystem es)
Assign a new ExampleSystem to the system. |
void |
setMathContext(java.math.MathContext mc)
Assign a new MathContext to the system. |
void |
setOrder(int order)
Assign a new order (>= 2) to the system. |
void |
setPivotingMethod(PivotingMethod pm)
Assign a new PivotingMethod to the system. |
void |
solve()
Solve the system using backwards substitution. |
void |
step()
Perform a single elimination step. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GaussElimModel(int order, java.math.MathContext mc)
Method Detail |
---|
public void reset()
public void initialize(java.math.BigDecimal[][] a, java.math.BigDecimal[] b)
public java.math.BigDecimal getA(int row, int column)
public java.math.BigDecimal getL(int row, int column)
public void setA(int row, int column, java.math.BigDecimal value)
public java.math.BigDecimal getB(int row)
public void setB(int row, java.math.BigDecimal value)
public java.math.BigDecimal getX(int row)
public int getOrder()
public void setOrder(int order)
public int getStep()
public boolean isSolved()
public java.lang.String getStatus()
public java.math.MathContext getMathContext()
public void setMathContext(java.math.MathContext mc)
public ExampleSystem getExampleSystem()
public void setExampleSystem(ExampleSystem es)
public PivotingMethod getPivotingMethod()
public void setPivotingMethod(PivotingMethod pm)
public void step()
public void solve()
public void addChangeListener(javax.swing.event.ChangeListener l)
public void removeChangeListener(javax.swing.event.ChangeListener l)
public void fireStateChanged(javax.swing.event.ChangeEvent e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |