|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.math.transform.FastFourierTransformer.MultiDimensionalComplexMatrix
private static class FastFourierTransformer.MultiDimensionalComplexMatrix
Complex matrix implementation. Not designed for synchronized access may eventually be replaced by jsr-83 of the java community process http://jcp.org/en/jsr/detail?id=83 may require additional exception throws for other basic requirements.
| Field Summary | |
|---|---|
protected int[] |
dimensionSize
Size in all dimensions. |
protected java.lang.Object |
multiDimensionalComplexArray
Storage array. |
| Constructor Summary | |
|---|---|
FastFourierTransformer.MultiDimensionalComplexMatrix(java.lang.Object multiDimensionalComplexArray)
Simple constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
private void |
clone(FastFourierTransformer.MultiDimensionalComplexMatrix mdcm)
Copy contents of current array into mdcm. |
Complex |
get(int... vector)
Get a matrix element. |
java.lang.Object |
getArray()
Get the underlying storage array |
int[] |
getDimensionSizes()
Get the size in all dimensions. |
Complex |
set(Complex magnitude,
int... vector)
Set a matrix element. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int[] dimensionSize
protected java.lang.Object multiDimensionalComplexArray
| Constructor Detail |
|---|
public FastFourierTransformer.MultiDimensionalComplexMatrix(java.lang.Object multiDimensionalComplexArray)
multiDimensionalComplexArray - array containing the matrix elements| Method Detail |
|---|
public Complex get(int... vector)
throws java.lang.IllegalArgumentException
vector - indices of the element
java.lang.IllegalArgumentException - if dimensions do not match
public Complex set(Complex magnitude,
int... vector)
throws java.lang.IllegalArgumentException
magnitude - magnitude of the elementvector - indices of the element
java.lang.IllegalArgumentException - if dimensions do not matchpublic int[] getDimensionSizes()
public java.lang.Object getArray()
public java.lang.Object clone()
clone in class java.lang.Objectprivate void clone(FastFourierTransformer.MultiDimensionalComplexMatrix mdcm)
mdcm - array where to copy data
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||