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.CloneableDeprecated.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[]dimensionSizeDeprecated.Size in all dimensions.protected java.lang.ObjectmultiDimensionalComplexArrayDeprecated.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.Objectclone()Deprecated.private voidclone(FastFourierTransformer.MultiDimensionalComplexMatrix mdcm)Deprecated.Copy contents of current array into mdcm.Complexget(int... vector)Deprecated.Get a matrix element.java.lang.ObjectgetArray()Deprecated.Get the underlying storage array.int[]getDimensionSizes()Deprecated.Get the size in all dimensions.Complexset(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:
clonein 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
-
-