Packages

object RleMatrixL extends Serializable

The RleMatrixL companion object provides operations for RleMatrixL 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. RleMatrixL
  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: MatrixL): RleMatrixL

  2. def apply(u: Vector[VectoL]): RleMatrixL

  3. def apply(x: Seq[RleVectorL]): RleMatrixL

  4. def apply(x: RleVectorL, xs: RleVectorL*): RleMatrixL

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

    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: RleMatrixL, u: RleVectorL): RleVectorL

  7. def mul(at: RleMatrixL, u: VectoL): RleVectorL