de.sciss.lucre.matrix

Matrix

trait Matrix[S <: Sys[S]] extends Writable with Disposable[matrix.Matrix.S.Tx] with Publisher[S, Update[S]]

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

Abstract Value Members

  1. abstract def changed: EventLike[S, Update[S]]

    Definition Classes
    Publisher
  2. abstract 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.

  3. abstract def dispose()(implicit tx: S.Tx): Unit

    Definition Classes
    Disposable
  4. abstract 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.

  5. 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.

  6. abstract 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.

  7. abstract 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).

  8. abstract 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.

  9. abstract def units(implicit tx: S.Tx): String

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

  10. abstract def write(out: DataOutput): Unit

    Definition Classes
    Writable

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. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  15. def rank(implicit tx: S.Tx): Int

    The rank is the number of dimensions.

  16. def reader(streamDim: Int)(implicit tx: S.Tx, resolver: Resolver[S]): Reader

  17. def reducedDimensions(implicit tx: S.Tx): Vec[Matrix[S]]

  18. def reducedRanges(implicit tx: S.Tx): Vec[Range]

  19. def reducedRank(implicit tx: S.Tx): Int

  20. def reducedShape(implicit tx: S.Tx): Vec[Int]

  21. def size(implicit tx: S.Tx): Long

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

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Publisher[S, Update[S]]

Inherited from Disposable[S.Tx]

Inherited from Writable

Inherited from AnyRef

Inherited from Any

Ungrouped