de.sciss.lucre.matrix.impl

ReaderImpl

abstract class ReaderImpl extends Reader

Linear Supertypes
Reader, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReaderImpl
  2. Reader
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReaderImpl()

Abstract Value Members

  1. abstract def indexMap: IndexMap

    Attributes
    protected
  2. abstract def mkArray(sect: Section): Array

    Attributes
    protected
  3. abstract def section: Vec[Range]

    Attributes
    protected
  4. abstract def streamDim: Int

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. final def numChannels: Int

    The number of channels is the matrix size divided by the number of frames.

    The number of channels is the matrix size divided by the number of frames.

    Definition Classes
    ReaderImplReader
  18. final def numFrames: Long

    The number of frames which is the size of the streaming dimension, or 1 if no streaming is used.

    The number of frames which is the size of the streaming dimension, or 1 if no streaming is used.

    Definition Classes
    ReaderImplReader
  19. final def readDouble1D(dBuf: Array[Double], off: Int, len: Int): Unit

    Reads a chunk of matrix data into a provided buffer.

    Reads a chunk of matrix data into a provided buffer. Multi-dimensional matrices are de-interleaved according to their natural dimensional ordering.

    Note: Calls must not be mixed with calls to readFloat2D or readWindowDouble1D!

    off

    the offset into buf

    len

    the number of elements to read

    Definition Classes
    ReaderImplReader
  20. final def readFloat2D(fBuf: Array[Array[Float]], off: Int, len: Int): Unit

    Reads a chunk of matrix data into a provided buffer.

    Reads a chunk of matrix data into a provided buffer. If the stream-transposed matrix has more than two dimensions, the de-interleaving is regularly from from to back. E.g. in a matrix of shape [a][b][c], if a is the streaming dimension, the first channel is b0, c0, the second channel is b0, c1, and so on until b0, ck-1 where k is the size of third dimension, followed by b1, c0 etc.

    Note: Calls must not be mixed with calls to readDouble1 or readWindowDouble1D!

    off

    the offset into each channel of buf

    len

    the number of frames to read

    Definition Classes
    ReaderImplReader
  21. final def readWindowDouble1D(dims: Array[Int], dBuf: Array[Double], off: Int): Unit

    Reads a window (chunk) of matrix data into a provided buffer.

    Reads a window (chunk) of matrix data into a provided buffer. The window is a selection of dimensions, provided by the dims argument. For each call, a successive window is read, where successive means iterating over the remaining dimensions.

    For example, if the input matrix has shape [time: 180][lon: 12][lat: 36][alt: 601], then specifying dims = [0, 3] means that we get time-altitude windows, the first window corresponding to lon = 0, lat = 0, the second window corresponding to lon = 0, lat = 1, the 37th window corresponding to lon = 1, lat = 0, etc.

    Note: Calls must not be mixed with calls to readFloat2D or readDouble1D! Also in repeated calls, dims must not be changed.

    dims

    array of dimension indices which form the window.

    off

    the offset into buf

    Definition Classes
    ReaderImplReader
  22. final val size: Long

    The number of elements in the underlying matrix (section).

    The number of elements in the underlying matrix (section).

    Definition Classes
    ReaderImplReader
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. final def toUcarSection(in: Seq[Range]): Section

    Attributes
    protected
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Reader

Inherited from AnyRef

Inherited from Any

Ungrouped