Class MemCopy.MemCopyFloat

  • All Implemented Interfaces:
    MemCopy<float[]>
    Enclosing interface:
    MemCopy<T>

    public static class MemCopy.MemCopyFloat
    extends java.lang.Object
    implements MemCopy<float[]>
    • Constructor Summary

      Constructors 
      Constructor Description
      MemCopyFloat()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void copyForward​(float[] src, int srcPos, float[] dest, int destPos, int length)
      Copy length components from the src array to the dest array.
      void copyLines​(int lineDir, int lineLength, int numLines, float[] src, int srcPos, int srcStep, float[] dest, int destPos, int destStep)
      Copy numLines stretches of lineLength elements.
      void copyReverse​(float[] src, int srcPos, float[] dest, int destPos, int length)
      Copy length components from the src array to the dest array, in reverse order.
      void copyStrided​(float[] src, int srcPos, float[] dest, int destPos, int destStride, int length)
      TODO javadoc
      void copyValue​(float[] src, int srcPos, float[] dest, int destPos, int length)
      Copy component at position srcPos in the src array (length times) into positions destPos through destPos+length-1 of the destination array.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MemCopyFloat

        public MemCopyFloat()
    • Method Detail

      • copyForward

        public void copyForward​(float[] src,
                                int srcPos,
                                float[] dest,
                                int destPos,
                                int length)
        Description copied from interface: MemCopy
        Copy length components from the src array to the dest array. The components at positions srcPos through srcPos+length-1 in the source array are copied into positions destPos through destPos+length-1, respectively, of the destination array.
        Specified by:
        copyForward in interface MemCopy<float[]>
      • copyReverse

        public void copyReverse​(float[] src,
                                int srcPos,
                                float[] dest,
                                int destPos,
                                int length)
        Description copied from interface: MemCopy
        Copy length components from the src array to the dest array, in reverse order. The components at positions srcPos through srcPos-length-1 in the source array are copied into positions destPos through destPos+length-1, respectively, of the destination array.
        Specified by:
        copyReverse in interface MemCopy<float[]>
      • copyValue

        public void copyValue​(float[] src,
                              int srcPos,
                              float[] dest,
                              int destPos,
                              int length)
        Description copied from interface: MemCopy
        Copy component at position srcPos in the src array (length times) into positions destPos through destPos+length-1 of the destination array.
        Specified by:
        copyValue in interface MemCopy<float[]>
      • copyStrided

        public void copyStrided​(float[] src,
                                int srcPos,
                                float[] dest,
                                int destPos,
                                int destStride,
                                int length)
        Description copied from interface: MemCopy
        TODO javadoc
        Specified by:
        copyStrided in interface MemCopy<float[]>
      • copyLines

        public void copyLines​(int lineDir,
                              int lineLength,
                              int numLines,
                              float[] src,
                              int srcPos,
                              int srcStep,
                              float[] dest,
                              int destPos,
                              int destStep)
        Description copied from interface: MemCopy
        Copy numLines stretches of lineLength elements.
        Specified by:
        copyLines in interface MemCopy<float[]>
        Parameters:
        lineDir - 1, -1, or 0. This corresponds (for every line being copied) to the source position moving forward, backward, or not at all, as the dest position is moving forward.
        lineLength - how many elements to copy per line
        numLines - how many lines to copy
        src - source array
        srcPos - starting position in source array
        srcStep - offset to next line in src
        dest - dest array
        destPos - starting position in dest array
        destStep - offset to next line in dest