de.sciss.lucre.matrix.impl

ConstImpl

trait ConstImpl[S <: Sys[S]] extends MatrixRoot[S]

Linear Supertypes
MatrixRoot[S], Matrix[S], Publisher[S, Update[S]], Disposable[S.Tx], Writable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ConstImpl
  2. MatrixRoot
  3. Matrix
  4. Publisher
  5. Disposable
  6. Writable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getKey(streamDim: Int)(implicit tx: S.Tx): Key

    The key of a matrix is an immutable value that represents its current state, possibly prepared with a transposition to be streamed along one of its dimensions.

    The key of a matrix is an immutable value that represents its current state, possibly prepared with a transposition to be streamed along one of its dimensions.

    streamDim

    the index of the dimension to stream the matrix data through, or -1 to read the whole matrix in one frame.

    Definition Classes
    Matrix
  2. abstract def nameConst: String

    Attributes
    protected
  3. abstract def opID: Int

    Attributes
    protected
  4. abstract def shapeConst: Vec[Int]

    Attributes
    protected
  5. abstract def unitsConst: String

    Attributes
    protected
  6. abstract def writeData(out: DataOutput): Unit

    Attributes
    protected

Concrete Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. final def changed: EventLike[S, Update[S]]

    Definition Classes
    ConstImpl → Publisher
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def dimensions(implicit tx: S.Tx): Vec[Matrix[S]]

    The sequence of underlying dimension matrices.

    The sequence of underlying dimension matrices. The part of each dimension covered by this matrix is reflected by the corresponding entry in ranges!

    In other words, the reductions and transformations associated with the current (and possibly any number of preceding) matrices are not reflected in the returned objects! To read the dimensional values with respect to the actual matrix coordinates, the getDimensionKey method can be used.

    Definition Classes
    ConstImplMatrix
  8. final def dispose()(implicit tx: S.Tx): Unit

    Definition Classes
    ConstImpl → Disposable
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  13. final def getDimensionKey(index: Int, useChannels: Boolean)(implicit tx: S.Tx): Key

    Produces a matrix key for the dimension of a given index.

    Produces a matrix key for the dimension of a given index. Since a dimension is 1-dimensional, the key will either have a streaming-index of zero (when useChannels is false), resulting in a 1-channel reader with shape(index) frames; or it will have a streaming-index of -1 (when useChannels is true), resulting in an n-channel reader with one frame, where n == shape(index).

    index

    the index of the dimension, from zero until rank

    useChannels

    if true produces multi-channel file of one frame, if false produces monophonic file of several frames.

    Definition Classes
    MatrixRootMatrix
  14. def hashCode(): Int

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

    Definition Classes
    Any
  16. final def name(implicit tx: S.Tx): String

    A matrix has a name.

    A matrix has a name. For example, when coming from a NetCDF data source, the matrix name corresponds to a variable name.

    Definition Classes
    ConstImplMatrix
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  20. final def ranges(implicit tx: S.Tx): Vec[Range]

    The ranges specify the regions inside the underlying dimension matrices covered by this matrix.

    The ranges specify the regions inside the underlying dimension matrices covered by this matrix. For example if a 4 x 5 matrix is reduced in its first dimension using a slice 1 to 2 operator, then the _dimension_ will have a size of four, but the first range will be 1 to 2 (and thus size 2).

    Definition Classes
    ConstImplMatrix
  21. def rank(implicit tx: S.Tx): Int

    The rank is the number of dimensions.

    The rank is the number of dimensions.

    Definition Classes
    Matrix
  22. def reader(streamDim: Int)(implicit tx: S.Tx, resolver: Resolver[S]): Reader

    Definition Classes
    Matrix
  23. def reducedDimensions(implicit tx: S.Tx): Vec[Matrix[S]]

    Definition Classes
    Matrix
  24. def reducedRanges(implicit tx: S.Tx): Vec[Range]

    Definition Classes
    Matrix
  25. def reducedRank(implicit tx: S.Tx): Int

    Definition Classes
    Matrix
  26. def reducedShape(implicit tx: S.Tx): Vec[Int]

    Definition Classes
    Matrix
  27. final def shape(implicit tx: S.Tx): Vec[Int]

    The shape is the vector of dimensional sizes.

    The shape is the vector of dimensional sizes. This is equivalent to ranges.map(_.size). Note that the dimensions themselves may be larger.

    Definition Classes
    ConstImplMatrix
  28. def size(implicit tx: S.Tx): Long

    The size is the number of matrix cells, that is the product of the shape.

    The size is the number of matrix cells, that is the product of the shape.

    Definition Classes
    Matrix
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def units(implicit tx: S.Tx): String

    The units of the matrix cells, or an empty string to indicate that no units are specified.

    The units of the matrix cells, or an empty string to indicate that no units are specified.

    Definition Classes
    ConstImplMatrix
  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def write(out: DataOutput): Unit

    Definition Classes
    ConstImpl → Writable

Inherited from MatrixRoot[S]

Inherited from Matrix[S]

Inherited from Publisher[S, Update[S]]

Inherited from Disposable[S.Tx]

Inherited from Writable

Inherited from AnyRef

Inherited from Any

Ungrouped