|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfhm.edu.fem.calc.objects.matrix.MatrixHull
fhm.edu.fem.calc.objects.matrix.MatrixHullChain
public class MatrixHullChain
Class Description: Test implementation of a Version of the Hull Matrix which is faster and does not have the "small" speed problems of the original MatrixHull class. ATTENTION: THIS TEST IMPLEMENTATION IS NOT WORKING AND NOT COMPLETE SO DO NOT USE IT IN A WORKING ENVIRONMENT.
Field Summary |
---|
Fields inherited from class fhm.edu.fem.calc.objects.matrix.MatrixHull |
---|
diagPointer, difference, env, hullDiagElementIndex, localLogger, name, prevHullDiagElementIndex, size, targetHullElementIndex |
Constructor Summary | |
---|---|
MatrixHullChain(MatrixHullChain m)
Copy Constructor |
|
MatrixHullChain(java.lang.String name,
int size)
Create a new HullMatrix with the size (x rows and x columns) (all fields are initialized with zeros) |
Method Summary | |
---|---|
Matrix |
cholesky()
Do the cholesky for this matrix |
java.lang.Object |
clone()
Clone the matrix |
void |
displayChain()
|
protected int |
getNextNonZeroIndexForRow(int row,
int column)
Find the next non-zero value starting from the given column index in the given row |
long |
getRequiredMemory()
Retrieve the amount of required memory in this matrix (in byte) |
java.lang.String |
toString()
|
Methods inherited from class fhm.edu.fem.calc.objects.matrix.MatrixHull |
---|
add, asArray, getDiagPointer, getENV, getFirstNonZeroIndexForRow, getName, getValue, isMainDiagonalNotZero, isSymmetric, mult, mult, mult, setLineAndColumn, setName, setValue, size, storeLine, toString, transponate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MatrixHullChain(MatrixHullChain m)
m,
- the hull matrix to copypublic MatrixHullChain(java.lang.String name, int size)
name,
- the name of the matrixsize,
- the number of rows and columns (square matrix only!)Method Detail |
---|
public Matrix cholesky() throws CholeskyFailedException
cholesky
in interface Matrix
cholesky
in class MatrixHull
CholeskyFailedException
public java.lang.Object clone()
clone
in interface Matrix
clone
in class MatrixHull
public void displayChain()
protected int getNextNonZeroIndexForRow(int row, int column) throws java.lang.IndexOutOfBoundsException
row
- column
-
java.lang.IndexOutOfBoundsException
public long getRequiredMemory()
getRequiredMemory
in interface Matrix
getRequiredMemory
in class MatrixHull
public java.lang.String toString()
toString
in interface Matrix
toString
in class MatrixHull
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |