Documentation of 'pl.edu.icm.jlargearrays.ComplexFloatLargeArray' Java class
ComplexFloatLargeArray
pl.edu.icm.jlargearrays

Class ComplexFloatLargeArray

  • All Implemented Interfaces:
    java.io.Serializable


    public class ComplexFloatLargeArray
    extends LargeArray
    An array of complex numbers (double precision) that can store up to 263 elements.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      ComplexFloatLargeArray clone() 
      boolean equals(java.lang.Object o)
      Indicates whether some other object is "equal to" this one.
      float[] get(long i)
      Returns a complex value ({re, im}) at index i.
      FloatLargeArray getAbsArray()
      Returns the absolute value of this array.
      FloatLargeArray getArgArray()
      Returns the argument of this array.
      boolean getBoolean(long i)
      Returns a boolean value that corresponds to the real part at index i.
      boolean[] getBooleanData()
      If the size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns boolean data that correspond to the real part of this object.
      boolean[] getBooleanData(boolean[] a, long startPos, long endPos, long step)
      If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of the real part of this object.
      byte getByte(long i)
      Returns a signed byte value that corresponds to the real part at index i.
      byte[] getByteData()
      If the size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns byte data that correspond to the real part of this object.
      byte[] getByteData(byte[] a, long startPos, long endPos, long step)
      If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of the real part of this object.
      float[] getComplexData()
      If 2 * size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns complex data in the interleaved layout.
      float[] getComplexData(float[] a, long startPos, long endPos, long step)
      If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of an array.
      double[] getComplexDouble(long i)
      Returns a complex value ({re, im}) at index i.
      float[] getComplexFloat(long i)
      Returns a complex value ({re, im}) at index i.
      float[][] getData()
      Returns a reference to the internal data arrays in the form of result[2][length], where result[0] holds the reference to the real part and result[1] holds the reference to the imaginary part.
      double getDouble(long i)
      Returns a double value that corresponds to the real part at index i.
      double[] getDoubleData()
      If the size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns double data that correspond to the real part of this object.
      double[] getDoubleData(double[] a, long startPos, long endPos, long step)
      If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of the real part of this object.
      float getFloat(long i)
      Returns a float value that corresponds to the real part at index i.
      float[] getFloatData()
      If the size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns float data that correspond to the real part of this object.
      float[] getFloatData(float[] a, long startPos, long endPos, long step)
      If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of the real part of this object.
      float[] getFromNative(long i)
      Returns a complex value ({re, im}) at index i.
      FloatLargeArray getImaginaryArray()
      Returns the imaginary part of this array.
      int getInt(long i)
      Returns an int value that corresponds to the real part at index i.
      int[] getIntData()
      If the size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns int data that correspond to the real part of this object.
      int[] getIntData(int[] a, long startPos, long endPos, long step)
      If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of the real part of this object.
      long getLong(long i)
      Returns a long value that corresponds to the real part at index i.
      long[] getLongData()
      If the size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns long data that correspond to the real part of this object.
      long[] getLongData(long[] a, long startPos, long endPos, long step)
      If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of the real part of this object.
      FloatLargeArray getRealArray()
      Returns the real part of this array.
      short getShort(long i)
      Returns a short value that corresponds to the real part at index i.
      short[] getShortData()
      If the size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns short data that correspond to the real part of this object.
      short[] getShortData(short[] a, long startPos, long endPos, long step)
      If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of the real part of this object.
      short getUnsignedByte(long i)
      Returns an unsigned byte value that corresponds to the real part at index i.
      int hashCode(float quality)
      Generates an approximate hash code using a quality argument.
      boolean isConstant()
      Return true if the array is constant.
      boolean isLarge()
      Returns true if the off-heap memory is used to store array elements.
      void set(long i, java.lang.Object value)
      Sets a complex value ({re, im}) at index i.
      void setBoolean(long i, boolean value)
      Sets a boolean value as a real part at index i.
      void setByte(long i, byte value)
      Sets a signed byte value as a real part at index i.
      void setComplexDouble(long i, double[] value)
      Sets a complex value ({re, im}) at index i.
      void setComplexFloat(long i, float[] value)
      Sets a complex value ({re, im}) at index i.
      void setDouble(long i, double value)
      Sets a double value as a real part at index i.
      void setFloat(long i, float value)
      Sets a float value as a real part at index i.
      void setInt(long i, int value)
      Sets an int value as a real part at index i.
      void setLong(long i, long value)
      Sets a long value as a real part at index i.
      void setShort(long i, short value)
      Sets a short value as a real part at index i.
      void setToNative(long i, java.lang.Object value)
      Sets a complex value at index i.
      void setUnsignedByte(long i, short value)
      Sets an unsigned byte value as a real part at index i.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ComplexFloatLargeArray

        public ComplexFloatLargeArray(long length)
        Creates new instance of this class.
        Parameters:
        length - number of elements
      • ComplexFloatLargeArray

        public ComplexFloatLargeArray(long length,
                                      boolean zeroNativeMemory)
        Creates new instance of this class.
        Parameters:
        length - number of elements
        zeroNativeMemory - if true, then the native memory is zeroed.
      • ComplexFloatLargeArray

        public ComplexFloatLargeArray(long length,
                                      float[] initValue)
        Creates new instance of this class

        Parameters:
        length - number of elements
        initValue - initialization value
      • ComplexFloatLargeArray

        public ComplexFloatLargeArray(long length,
                                      float[] initValue,
                                      boolean createConstant)
        Creates new instance of this class

        Parameters:
        length - number of elements
        initValue - initialization value
        createConstant - if true, then a constant array is created
      • ComplexFloatLargeArray

        public ComplexFloatLargeArray(float[] data)
        Creates new instance of this class.
        Parameters:
        data - data array, this reference is not used internally.
      • ComplexFloatLargeArray

        public ComplexFloatLargeArray(FloatLargeArray data)
        Creates new instance of this class.
        Parameters:
        data - data array, this reference is not used internally.
      • ComplexFloatLargeArray

        public ComplexFloatLargeArray(float[] dataRe,
                                      float[] dataIm)
        Creates new instance of this class.

        Parameters:
        dataRe - real part, this reference is used internally.
        dataIm - imaginary part, this reference not used internally.
      • ComplexFloatLargeArray

        public ComplexFloatLargeArray(FloatLargeArray dataRe,
                                      FloatLargeArray dataIm)
        Creates new instance of this class.

        Parameters:
        dataRe - real part, this reference is used internally.
        dataIm - imaginary part, this reference is used internally.
    • Method Detail

      • equals

        public boolean equals(java.lang.Object o)
        Description copied from class: LargeArray
        Indicates whether some other object is "equal to" this one. The equals method implements "deep comparison": all properties are compared and all corresponding elements in both arrays are compared.
        Specified by:
        equals in class LargeArray
        Parameters:
        o - the reference object with which to compare.
        Returns:
        true if this object is the same as the o argument; false otherwise.
        See Also:
        LargeArray.hashCode(), HashMap
      • hashCode

        public int hashCode(float quality)
        Description copied from class: LargeArray
        Generates an approximate hash code using a quality argument. For quality equal to 1 this method is equivalent to hashCode().
        Overrides:
        hashCode in class LargeArray
        Parameters:
        quality - a number between 0 and 1.
        Returns:
        an approximate hash code
      • isLarge

        public boolean isLarge()
        Description copied from class: LargeArray
        Returns true if the off-heap memory is used to store array elements.
        Overrides:
        isLarge in class LargeArray
        Returns:
        true if the off-heap memory is used to store array elements, false otherwise.
      • isConstant

        public boolean isConstant()
        Description copied from class: LargeArray
        Return true if the array is constant. Constant arrays cannot be modified, i.e. all setters throw an IllegalAccessError exception.
        Overrides:
        isConstant in class LargeArray
        Returns:
        true if the arrays is constant, false otherwise
      • getRealArray

        public final FloatLargeArray getRealArray()
        Returns the real part of this array.

        Returns:
        reference to the real part.
      • getImaginaryArray

        public final FloatLargeArray getImaginaryArray()
        Returns the imaginary part of this array.

        Returns:
        reference to the imaginary part.
      • getAbsArray

        public final FloatLargeArray getAbsArray()
        Returns the absolute value of this array.

        Returns:
        the absolute value.
      • getArgArray

        public final FloatLargeArray getArgArray()
        Returns the argument of this array.

        Returns:
        the argument
      • get

        public final float[] get(long i)
        Returns a complex value ({re, im}) at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        get in class LargeArray
        Parameters:
        i - an index
        Returns:
        a value at index i ({re, im}).
      • getFromNative

        public final float[] getFromNative(long i)
        Returns a complex value ({re, im}) at index i. Array bounds are not checked. If isLarge() returns false for a given array or the index argument is invalid, then calling this method will cause JVM crash.
        Specified by:
        getFromNative in class LargeArray
        Parameters:
        i - an index
        Returns:
        a value at index i ({re, im}).
      • getBoolean

        public final boolean getBoolean(long i)
        Returns a boolean value that corresponds to the real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        getBoolean in class LargeArray
        Parameters:
        i - an index
        Returns:
        a value that corresponds to the real part at index i.
      • getByte

        public final byte getByte(long i)
        Returns a signed byte value that corresponds to the real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        getByte in class LargeArray
        Parameters:
        i - an index
        Returns:
        a value that corresponds to the real part at index i.
      • getUnsignedByte

        public final short getUnsignedByte(long i)
        Returns an unsigned byte value that corresponds to the real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        getUnsignedByte in class LargeArray
        Parameters:
        i - an index
        Returns:
        a value that corresponds to the real part at index i.
      • getShort

        public final short getShort(long i)
        Returns a short value that corresponds to the real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        getShort in class LargeArray
        Parameters:
        i - an index
        Returns:
        a value that corresponds to the real part at index i.
      • getInt

        public final int getInt(long i)
        Returns an int value that corresponds to the real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        getInt in class LargeArray
        Parameters:
        i - an index
        Returns:
        a value that corresponds to the real part at index i.
      • getLong

        public final long getLong(long i)
        Returns a long value that corresponds to the real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        getLong in class LargeArray
        Parameters:
        i - an index
        Returns:
        a value that corresponds to the real part at index i.
      • getFloat

        public final float getFloat(long i)
        Returns a float value that corresponds to the real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        getFloat in class LargeArray
        Parameters:
        i - an index
        Returns:
        a value that corresponds to the real part at index i.
      • getDouble

        public final double getDouble(long i)
        Returns a double value that corresponds to the real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        getDouble in class LargeArray
        Parameters:
        i - an index
        Returns:
        a value that corresponds to the real part at index i.
      • getComplexFloat

        public final float[] getComplexFloat(long i)
        Returns a complex value ({re, im}) at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Parameters:
        i - an index
        Returns:
        a value at index i ({re, im}).
      • getComplexDouble

        public final double[] getComplexDouble(long i)
        Returns a complex value ({re, im}) at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Parameters:
        i - an index
        Returns:
        a value at index i ({re, im}).
      • getData

        public final float[][] getData()
        Returns a reference to the internal data arrays in the form of result[2][length], where result[0] holds the reference to the real part and result[1] holds the reference to the imaginary part. If isLarge() returns true, then this method returns null.
        Specified by:
        getData in class LargeArray
        Returns:
        reference to the internal data arrays or null
      • getBooleanData

        public final boolean[] getBooleanData()
        If the size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns boolean data that correspond to the real part of this object. Otherwise, it returns null.
        Specified by:
        getBooleanData in class LargeArray
        Returns:
        an array containing the elements of the real part of this object or null
      • getBooleanData

        public final boolean[] getBooleanData(boolean[] a,
                                              long startPos,
                                              long endPos,
                                              long step)
        If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of the real part of this object. Otherwise, it returns null. If (endPos - startPos) / step is smaller or equal to a.length, it is returned therein. Otherwise, a new array is allocated and returned. Array bounds are checked.
        Specified by:
        getBooleanData in class LargeArray
        Parameters:
        a - the array into which the elements are to be stored, if it is big enough; otherwise, a new array of is allocated for this purpose.
        startPos - starting position (included)
        endPos - ending position (excluded)
        step - step size
        Returns:
        an array containing the elements of the real part this object or null
      • getByteData

        public final byte[] getByteData()
        If the size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns byte data that correspond to the real part of this object. Otherwise, it returns null.
        Specified by:
        getByteData in class LargeArray
        Returns:
        an array containing the elements of the real part of this object or null
      • getByteData

        public final byte[] getByteData(byte[] a,
                                        long startPos,
                                        long endPos,
                                        long step)
        If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of the real part of this object. Otherwise, it returns null. If (endPos - startPos) / step is smaller or equal to a.length, it is returned therein. Otherwise, a new array is allocated and returned. Array bounds are checked.
        Specified by:
        getByteData in class LargeArray
        Parameters:
        a - the array into which the elements are to be stored, if it is big enough; otherwise, a new array of is allocated for this purpose.
        startPos - starting position (included)
        endPos - ending position (excluded)
        step - step size
        Returns:
        an array containing the elements of the real part this object or null
      • getShortData

        public final short[] getShortData()
        If the size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns short data that correspond to the real part of this object. Otherwise, it returns null.
        Specified by:
        getShortData in class LargeArray
        Returns:
        an array containing the elements of the real part of this object or null
      • getShortData

        public final short[] getShortData(short[] a,
                                          long startPos,
                                          long endPos,
                                          long step)
        If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of the real part of this object. Otherwise, it returns null. If (endPos - startPos) / step is smaller or equal to a.length, it is returned therein. Otherwise, a new array is allocated and returned. Array bounds are checked.
        Specified by:
        getShortData in class LargeArray
        Parameters:
        a - the array into which the elements are to be stored, if it is big enough; otherwise, a new array of is allocated for this purpose.
        startPos - starting position (included)
        endPos - ending position (excluded)
        step - step size
        Returns:
        an array containing the elements of the real part this object or null
      • getIntData

        public final int[] getIntData()
        If the size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns int data that correspond to the real part of this object. Otherwise, it returns null.
        Specified by:
        getIntData in class LargeArray
        Returns:
        an array containing the elements of the real part of this object or null
      • getIntData

        public final int[] getIntData(int[] a,
                                      long startPos,
                                      long endPos,
                                      long step)
        If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of the real part of this object. Otherwise, it returns null. If (endPos - startPos) / step is smaller or equal to a.length, it is returned therein. Otherwise, a new array is allocated and returned. Array bounds are checked.
        Specified by:
        getIntData in class LargeArray
        Parameters:
        a - the array into which the elements are to be stored, if it is big enough; otherwise, a new array of is allocated for this purpose.
        startPos - starting position (included)
        endPos - ending position (excluded)
        step - step size
        Returns:
        an array containing the elements of the real part this object or null
      • getLongData

        public final long[] getLongData()
        If the size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns long data that correspond to the real part of this object. Otherwise, it returns null.
        Specified by:
        getLongData in class LargeArray
        Returns:
        an array containing the elements of the real part of this object or null
      • getLongData

        public final long[] getLongData(long[] a,
                                        long startPos,
                                        long endPos,
                                        long step)
        If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of the real part of this object. Otherwise, it returns null. If (endPos - startPos) / step is smaller or equal to a.length, it is returned therein. Otherwise, a new array is allocated and returned. Array bounds are checked.
        Specified by:
        getLongData in class LargeArray
        Parameters:
        a - the array into which the elements are to be stored, if it is big enough; otherwise, a new array of is allocated for this purpose.
        startPos - starting position (included)
        endPos - ending position (excluded)
        step - step size
        Returns:
        an array containing the elements of the real part this object or null
      • getFloatData

        public final float[] getFloatData()
        If the size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns float data that correspond to the real part of this object. Otherwise, it returns null.
        Specified by:
        getFloatData in class LargeArray
        Returns:
        an array containing the elements of the real part of this object or null
      • getFloatData

        public final float[] getFloatData(float[] a,
                                          long startPos,
                                          long endPos,
                                          long step)
        If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of the real part of this object. Otherwise, it returns null. If (endPos - startPos) / step is smaller or equal to a.length, it is returned therein. Otherwise, a new array is allocated and returned. Array bounds are checked.
        Specified by:
        getFloatData in class LargeArray
        Parameters:
        a - the array into which the elements are to be stored, if it is big enough; otherwise, a new array of is allocated for this purpose.
        startPos - starting position (included)
        endPos - ending position (excluded)
        step - step size
        Returns:
        an array containing the elements of the real part this object or null
      • getDoubleData

        public final double[] getDoubleData()
        If the size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns double data that correspond to the real part of this object. Otherwise, it returns null.
        Specified by:
        getDoubleData in class LargeArray
        Returns:
        an array containing the elements of the real part of this object or null
      • getDoubleData

        public final double[] getDoubleData(double[] a,
                                            long startPos,
                                            long endPos,
                                            long step)
        If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of the real part of this object. Otherwise, it returns null. If (endPos - startPos) / step is smaller or equal to a.length, it is returned therein. Otherwise, a new array is allocated and returned. Array bounds are checked.
        Specified by:
        getDoubleData in class LargeArray
        Parameters:
        a - the array into which the elements are to be stored, if it is big enough; otherwise, a new array of is allocated for this purpose.
        startPos - starting position (included)
        endPos - ending position (excluded)
        step - step size
        Returns:
        an array containing the elements of the real part this object or null
      • getComplexData

        public final float[] getComplexData()
        If 2 * size of the array is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns complex data in the interleaved layout. Otherwise, it returns null.
        Returns:
        an array containing the elements of the list or null
      • getComplexData

        public final float[] getComplexData(float[] a,
                                            long startPos,
                                            long endPos,
                                            long step)
        If (endPos - startPos) / step is smaller than LargeArray.LARGEST_SUBARRAY, then this method returns selected elements of an array. Otherwise, it returns null. If 2 * ((endPos - startPos) / step) is smaller or equal to a.length, it is returned therein. Otherwise, a new array is allocated and returned. Array bounds are checked.
        Parameters:
        a - the array into which the elements are to be stored, if it is big enough; otherwise, a new array of is allocated for this purpose.
        startPos - starting position (included)
        endPos - ending position (excluded)
        step - step size
        Returns:
        an array containing the elements of the list or null
      • setToNative

        public final void setToNative(long i,
                                      java.lang.Object value)
        Sets a complex value at index i. Array bounds are not checked. If isLarge() returns false for a given array or the index argument is invalid, then calling this method will cause JVM crash.
        Specified by:
        setToNative in class LargeArray
        Parameters:
        i - index
        value - value to set, must be float[] of length 2
        Throws:
        java.lang.ClassCastException - if the type of value argument is different than the type of the array
      • setBoolean

        public final void setBoolean(long i,
                                     boolean value)
        Sets a boolean value as a real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        setBoolean in class LargeArray
        Parameters:
        i - index
        value - value to set as a real part
      • setByte

        public final void setByte(long i,
                                  byte value)
        Sets a signed byte value as a real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        setByte in class LargeArray
        Parameters:
        i - index
        value - value to set as a real part
      • setUnsignedByte

        public final void setUnsignedByte(long i,
                                          short value)
        Sets an unsigned byte value as a real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        setUnsignedByte in class LargeArray
        Parameters:
        i - index
        value - value to set as a real part
      • setShort

        public final void setShort(long i,
                                   short value)
        Sets a short value as a real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        setShort in class LargeArray
        Parameters:
        i - index
        value - value to set as a real part
      • setInt

        public final void setInt(long i,
                                 int value)
        Sets an int value as a real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        setInt in class LargeArray
        Parameters:
        i - index
        value - value to set as a real part
      • setLong

        public final void setLong(long i,
                                  long value)
        Sets a long value as a real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        setLong in class LargeArray
        Parameters:
        i - index
        value - value to set as a real part
      • setFloat

        public final void setFloat(long i,
                                   float value)
        Sets a float value as a real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        setFloat in class LargeArray
        Parameters:
        i - index
        value - value to set as a real part
      • setDouble

        public final void setDouble(long i,
                                    double value)
        Sets a double value as a real part at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Specified by:
        setDouble in class LargeArray
        Parameters:
        i - index
        value - value to set as a real part
      • set

        public final void set(long i,
                              java.lang.Object value)
        Sets a complex value ({re, im}) at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Overrides:
        set in class LargeArray
        Parameters:
        i - index
        value - value to set, must be float[] of length 2
      • setComplexFloat

        public final void setComplexFloat(long i,
                                          float[] value)
        Sets a complex value ({re, im}) at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Parameters:
        i - index
        value - value to set
      • setComplexDouble

        public final void setComplexDouble(long i,
                                           double[] value)
        Sets a complex value ({re, im}) at index i. Array bounds are not checked. Calling this method with invalid index argument will cause JVM crash.
        Parameters:
        i - index
        value - value to set

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.