private static class FastFourierTransformer.MultiDimensionalComplexMatrix extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected int[] |
dimensionSize
Size in all dimensions.
|
protected Object |
multiDimensionalComplexArray
Storage array.
|
Constructor and Description |
---|
FastFourierTransformer.MultiDimensionalComplexMatrix(Object multiDimensionalComplexArray)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
private void |
clone(FastFourierTransformer.MultiDimensionalComplexMatrix mdcm)
Copy contents of current array into mdcm.
|
Complex |
get(int... vector)
Get a matrix element.
|
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.
|
protected int[] dimensionSize
protected Object multiDimensionalComplexArray
public FastFourierTransformer.MultiDimensionalComplexMatrix(Object multiDimensionalComplexArray)
multiDimensionalComplexArray
- array containing the matrix elementspublic Complex get(int... vector) throws IllegalArgumentException
vector
- indices of the elementIllegalArgumentException
- if dimensions do not matchpublic Complex set(Complex magnitude, int... vector) throws IllegalArgumentException
magnitude
- magnitude of the elementvector
- indices of the elementIllegalArgumentException
- if dimensions do not matchpublic int[] getDimensionSizes()
public Object getArray()
private void clone(FastFourierTransformer.MultiDimensionalComplexMatrix mdcm)
mdcm
- array where to copy dataCopyright (c) 2003-2014 Apache Software Foundation