|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectapplicationlayer.linearalgebra.AbstractMatrix
public abstract class AbstractMatrix
Abstraktní třída prezentuje obecnou matici.
| Field Summary | |
|---|---|
protected int |
column
Počet sloupců matice |
static int |
CRAMERS_RULE
Režim řešení soustavy rovnic - cramerovo pravidlo |
static int |
GAUSS_ELIMINATION
Režim řešení soustavy rovnic - Gaussova eliminace |
static int |
GAUSS_JORDAN
Režim řešení soustavy rovnic - Gauss-Jordanova eliminace |
static int |
GAUSS_PARTIAL_PIVOT
Režim řešení soustavy rovnic - Gaussova eliminace s parciální pivotací |
static int |
INVERSION
Režim řešení soustavy rovnic - pomocí inverzné matice |
protected static int |
precision
Přesnost prvků matice |
protected int |
row
Počet řádků matice |
| Constructor Summary | |
|---|---|
protected |
AbstractMatrix()
Vytvoří prázdnou matici. |
|
AbstractMatrix(int row,
int column)
Vytvoří prázdnou matici. |
| Method Summary | |
|---|---|
abstract AbstractMatrix |
add(AbstractMatrix operand)
Vrací součet dvou matic (this + operand) |
abstract java.lang.Object |
cond()
Vrací číslo podmíněnosti této matice. |
abstract AbstractMatrix |
cramersRule(AbstractMatrix a,
AbstractMatrix b)
Řeší soustavu rovnic s cramerovým pravidem. |
abstract java.lang.Object |
determinant()
Vrácí determinant této matice. |
abstract AbstractMatrix |
gaussElimination()
Vrací tuto matici upravenou Gaussovou eliminací. |
abstract AbstractMatrix |
gaussJordan()
Vrací tuto matici upravenou Gauss-Jordanovou eliminací. |
abstract AbstractMatrix |
gaussPartial()
Vrací tuto matici upravenou Gaussovou eliminací s parciální pivotací. |
int |
getColumn()
Vrací počet sloupe. |
int |
getRow()
Vrací počet řádku. |
abstract AbstractMatrix |
inverse()
Vrácí inverzní matici - metoda Gaussova eliminační |
abstract AbstractMatrix |
joinMatrix(AbstractMatrix operand)
Vrací matici ( this + operand). |
abstract AbstractMatrix |
multiply(AbstractMatrix operand)
Vrací součin dvou matic (this * operand) |
abstract java.lang.Object |
normCol()
Sloupcová norma. |
abstract java.lang.Object |
normRow()
Řádková norma. |
abstract AbstractMatrix |
solve(AbstractMatrix a,
AbstractMatrix b,
int method)
Řeší soustavu rovnic s danou metodou. |
abstract AbstractMatrix |
subtract(AbstractMatrix operand)
Vrací rozdíl dvou matic (this - operand). |
abstract AbstractMatrix |
transpose()
Vrací transpanovanou matici. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int row
protected int column
protected static int precision
public static final int INVERSION
public static final int CRAMERS_RULE
public static final int GAUSS_JORDAN
public static final int GAUSS_ELIMINATION
public static final int GAUSS_PARTIAL_PIVOT
| Constructor Detail |
|---|
protected AbstractMatrix()
public AbstractMatrix(int row,
int column)
row - column - | Method Detail |
|---|
public abstract AbstractMatrix joinMatrix(AbstractMatrix operand)
this + operand).
operand - matice, která má být spojena k této matici
public abstract AbstractMatrix add(AbstractMatrix operand)
operand - matice, která má být přičtena k této matici
public abstract AbstractMatrix subtract(AbstractMatrix operand)
operand - matice, která má být odečtena od této matici
public abstract AbstractMatrix multiply(AbstractMatrix operand)
operand - matice, která má být násobena touto maticí
public abstract java.lang.Object cond()
public abstract java.lang.Object normCol()
public abstract java.lang.Object normRow()
public abstract java.lang.Object determinant()
public abstract AbstractMatrix inverse()
public abstract AbstractMatrix transpose()
public abstract AbstractMatrix gaussJordan()
this)public abstract AbstractMatrix gaussPartial()
this)public abstract AbstractMatrix gaussElimination()
this)
public abstract AbstractMatrix cramersRule(AbstractMatrix a,
AbstractMatrix b)
a - matice soustavyb - pravá strana soustavy
public abstract AbstractMatrix solve(AbstractMatrix a,
AbstractMatrix b,
int method)
a - matice soustavyb - pravá strana soustavymethod - metoda, která má být použita při výpočtu řešení soustavy rovnic.
public int getRow()
public int getColumn()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||