Packages

object RleMatrixC extends Serializable

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

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

Value Members

  1. def apply(x: MatrixC): RleMatrixC

  2. def apply(u: Vector[VectoC]): RleMatrixC

  3. def apply(x: Seq[RleVectorC]): RleMatrixC

  4. def apply(x: RleVectorC, xs: RleVectorC*): RleMatrixC

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

    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: RleMatrixC, u: RleVectorC): RleVectorC

  7. def mul(at: RleMatrixC, u: VectoC): RleVectorC