Class FastFourierTransformer.MultiDimensionalComplexMatrix
- java.lang.Object
-
- org.apache.commons.math3.transform.FastFourierTransformer.MultiDimensionalComplexMatrix
-
- All Implemented Interfaces:
java.lang.Cloneable
- Enclosing class:
- FastFourierTransformer
@Deprecated private static class FastFourierTransformer.MultiDimensionalComplexMatrix extends java.lang.Object implements java.lang.Cloneable
Deprecated.see MATH-736Complex 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
Fields Modifier and Type Field Description protected int[]
dimensionSize
Deprecated.Size in all dimensions.protected java.lang.Object
multiDimensionalComplexArray
Deprecated.Storage array.
-
Constructor Summary
Constructors Constructor Description MultiDimensionalComplexMatrix(java.lang.Object multiDimensionalComplexArray)
Deprecated.Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Object
clone()
Deprecated.private void
clone(FastFourierTransformer.MultiDimensionalComplexMatrix mdcm)
Deprecated.Copy contents of current array into mdcm.Complex
get(int... vector)
Deprecated.Get a matrix element.java.lang.Object
getArray()
Deprecated.Get the underlying storage array.int[]
getDimensionSizes()
Deprecated.Get the size in all dimensions.Complex
set(Complex magnitude, int... vector)
Deprecated.Set a matrix element.
-
-
-
Method Detail
-
get
public Complex get(int... vector) throws DimensionMismatchException
Deprecated.Get a matrix element.- Parameters:
vector
- indices of the element- Returns:
- matrix element
- Throws:
DimensionMismatchException
- if dimensions do not match
-
set
public Complex set(Complex magnitude, int... vector) throws DimensionMismatchException
Deprecated.Set a matrix element.- Parameters:
magnitude
- magnitude of the elementvector
- indices of the element- Returns:
- the previous value
- Throws:
DimensionMismatchException
- if dimensions do not match
-
getDimensionSizes
public int[] getDimensionSizes()
Deprecated.Get the size in all dimensions.- Returns:
- size in all dimensions
-
getArray
public java.lang.Object getArray()
Deprecated.Get the underlying storage array.- Returns:
- underlying storage array
-
clone
public java.lang.Object clone()
Deprecated.- Overrides:
clone
in classjava.lang.Object
-
clone
private void clone(FastFourierTransformer.MultiDimensionalComplexMatrix mdcm)
Deprecated.Copy contents of current array into mdcm.- Parameters:
mdcm
- array where to copy data
-
-