Packages

object RleMatrixQ extends Serializable

The RleMatrixQ companion object provides operations for RleMatrixQ that don't require 'this' (like static methods in Java). It provides factory methods for building matrices from sequences or vectors.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RleMatrixQ
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply(x: MatrixQ): RleMatrixQ

  2. def apply(u: Vector[VectoQ]): RleMatrixQ

  3. def apply(x: Seq[RleVectorQ]): RleMatrixQ

  4. def apply(x: RleVectorQ, xs: RleVectorQ*): RleMatrixQ

  5. def eye(m: Int, n: Int = 0): RleMatrixQ

    Create an 'm-by-n' identity matrix I (ones on main diagonal, zeros elsewhere).

    Create an 'm-by-n' identity matrix I (ones on main diagonal, zeros elsewhere). If 'n' is <= 0, set it to 'm' for a square identity matrix. FIX: store as a diagonal matrix.

    m

    the row dimension of the matrix

    n

    the column dimension of the matrix (defaults to 0 => square matrix)

  6. def mul(a: RleMatrixQ, u: RleVectorQ): RleVectorQ

  7. def mul(at: RleMatrixQ, u: VectoQ): RleVectorQ