org.apache.mahout.math.scalabindings

RLikeMatrixOps

class RLikeMatrixOps extends MatrixOps

Linear Supertypes
MatrixOps, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RLikeMatrixOps
  2. MatrixOps
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RLikeMatrixOps(m: Matrix)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. def !==(that: Matrix): Boolean

    Definition Classes
    MatrixOps
  4. final def ##(): Int

    Definition Classes
    AnyRef → Any
  5. def %*%(that: Vector): Vector

    matrix-vector multiplication

    matrix-vector multiplication

    that
    returns

  6. def %*%(that: Matrix): Matrix

  7. def %*%:(that: Matrix): Matrix

  8. def *(that: Double): Matrix

  9. def *(that: Matrix): Matrix

    Hadamard product

    Hadamard product

    that
    returns

  10. def *:(that: Double): Matrix

  11. def *=(that: Double): Matrix

  12. def *=(that: Matrix): Matrix

    in-place Hadamard product.

    in-place Hadamard product. We probably don't want to use assign to optimize for sparse operations, in case of Hadamard product it really can be done

    that

  13. def *=:(that: Double): Matrix

    5.

    5.0 *=: A is equivalent to A *= 5.0. Included for completeness.

  14. def *=:(that: Matrix): Matrix

    A *=: B is equivalent to B *= A.

    A *=: B is equivalent to B *= A. Included for completeness.

  15. def +(that: Double): Matrix

    Definition Classes
    MatrixOps
  16. def +(that: Matrix): Matrix

    Definition Classes
    MatrixOps
  17. def +:(that: Double): Matrix

    Definition Classes
    MatrixOps
  18. def +=(that: Double): Matrix

    Definition Classes
    MatrixOps
  19. def +=(that: Matrix): Matrix

    Definition Classes
    MatrixOps
  20. def +=:(that: Double): Matrix

    Definition Classes
    MatrixOps
  21. def +=:(that: Matrix): Matrix

    Definition Classes
    MatrixOps
  22. def -(that: Double): Matrix

    Definition Classes
    MatrixOps
  23. def -(that: Matrix): Matrix

    Definition Classes
    MatrixOps
  24. def -:(that: Double): Matrix

    Definition Classes
    MatrixOps
  25. def -:(that: Matrix): Matrix

    Definition Classes
    MatrixOps
  26. def -=(that: Double): Matrix

    Definition Classes
    MatrixOps
  27. def -=(that: Matrix): Matrix

    Definition Classes
    MatrixOps
  28. def -=:(that: Matrix): Matrix

    A := B - A which is -(A - B)

    A := B - A which is -(A - B)

    Definition Classes
    MatrixOps
  29. def -=:(that: Double): Matrix

    Definition Classes
    MatrixOps
  30. def /(that: Double): Matrix

  31. def /(that: Matrix): Matrix

  32. def /:(that: Double): Matrix

    1.

    1.0 /: A is eqivalent to R's 1.0/A

  33. def /:(that: Matrix): Matrix

  34. def /=(that: Double): Matrix

  35. def /=(that: Matrix): Matrix

    Elementwise deletion

  36. def /=:(that: Double): Matrix

    1.

    1.0 /=: A is equivalent to A = 1.0/A in R

  37. def :%*%(that: Matrix): Matrix

  38. def ::=(f: (Double) ⇒ Double): Matrix

    Sparse function assign: iterate and assign over non-zeros only

    Sparse function assign: iterate and assign over non-zeros only

    Definition Classes
    MatrixOps
  39. def ::=(f: (Int, Int, Double) ⇒ Double): Matrix

    Sparse assign: iterate and assign over non-zeros only

    Sparse assign: iterate and assign over non-zeros only

    Definition Classes
    MatrixOps
  40. def :=(f: (Double) ⇒ Double): Matrix

    Functional assign with (Double) => Double

    Functional assign with (Double) => Double

    Definition Classes
    MatrixOps
  41. def :=(f: (Int, Int, Double) ⇒ Double): Matrix

    Definition Classes
    MatrixOps
  42. def :=(that: Double): Matrix

    Definition Classes
    MatrixOps
  43. def :=(that: TraversableOnce[Vector]): Unit

    Assigning from a row-wise collection of vectors

    Assigning from a row-wise collection of vectors

    that

    -

    Definition Classes
    MatrixOps
  44. def :=(that: Matrix): Matrix

    Definition Classes
    MatrixOps
  45. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  47. def ===(that: Matrix): Boolean

    Definition Classes
    MatrixOps
  48. def ^(that: Double): Matrix

  49. def ^=(that: Double): Matrix

  50. def apply(f: (Int, Int, Double) ⇒ Double): Matrix

    A version of function apply with default AUTO treatment of evalZeros.

    A version of function apply with default AUTO treatment of evalZeros.

    Definition Classes
    MatrixOps
  51. def apply(f: (Double) ⇒ Double): Matrix

    A version of function apply with default AUTO treatment of evalZeros.

    A version of function apply with default AUTO treatment of evalZeros.

    Definition Classes
    MatrixOps
  52. def apply(f: (Int, Int, Double) ⇒ Double, evalZeros: T): Matrix

    Apply a function element-wise without side-effects to the argument (creates a new matrix).

    Apply a function element-wise without side-effects to the argument (creates a new matrix).

    f

    element-wise function (row, column, value) ⇒ "new value"

    evalZeros

    Do we have to process zero elements? true, false, auto: if auto, we will test the supplied function for f(0) != 0, and depending on the result, will decide if we want evaluation for zero elements. WARNING: the AUTO setting may not always work correctly for functions that are meant to run in a specific backend context, or non-deterministic functions, such as {-1,0,1} random generators.

    returns

    new DRM with the element-wise function applied.

    Definition Classes
    MatrixOps
  53. def apply(f: (Double) ⇒ Double, evalZeros: T): Matrix

    Apply a function element-wise without side-effects to the argument (creates a new matrix).

    Apply a function element-wise without side-effects to the argument (creates a new matrix).

    f

    element-wise function "value" ⇒ "new value"

    evalZeros

    Do we have to process zero elements? true, false, auto: if auto, we will test the supplied function for f(0) != 0, and depending on the result, will decide if we want evaluation for zero elements. WARNING: the AUTO setting may not always work correctly for functions that are meant to run in a specific backend context, or non-deterministic functions, such as {-1,0,1} random generators.

    returns

    new DRM with the element-wise function applied.

    Definition Classes
    MatrixOps
  54. def apply(rowRange: Range, col: Int): Vector

    Definition Classes
    MatrixOps
  55. def apply(row: Int, colRange: Range): Vector

    Definition Classes
    MatrixOps
  56. def apply(rowRange: Range, colRange: Range): Matrix

    Definition Classes
    MatrixOps
  57. def apply(row: Int, col: Int): Double

    Definition Classes
    MatrixOps
  58. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  59. def cbind(that: Double): Matrix

  60. def cbind(that: Matrix): Matrix

  61. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. def cloned: Matrix

    Definition Classes
    MatrixOps
  63. def colMeans(): Vector

    Definition Classes
    MatrixOps
  64. def colSums(): Vector

    Definition Classes
    MatrixOps
  65. def det: Double

    Definition Classes
    MatrixOps
  66. def diagv: Vector

    Definition Classes
    MatrixOps
  67. def diagv_=(that: Double): Vector

    Definition Classes
    MatrixOps
  68. def diagv_=(that: Vector): Vector

    Definition Classes
    MatrixOps
  69. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  71. def equiv(that: Matrix): Boolean

    Ideally, we would probably want to override equals().

    Ideally, we would probably want to override equals(). But that is not possible without modifying AbstractMatrix implementation in Mahout which would require discussion at Mahout team.

    that
    returns

    Definition Classes
    MatrixOps
  72. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  75. def isFullRank: Boolean

    test if rank == min(nrow,ncol).

    test if rank == min(nrow,ncol).

    returns

    Definition Classes
    MatrixOps
  76. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  77. def mmulSolver: (Matrix, Matrix, Option[Matrix]) ⇒ Matrix

  78. def ncol: Int

    Definition Classes
    MatrixOps
  79. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  80. def nequiv(that: Matrix): Boolean

    Definition Classes
    MatrixOps
  81. def norm: Double

    Definition Classes
    MatrixOps
  82. final def notify(): Unit

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

    Definition Classes
    AnyRef
  84. def nrow: Int

    Definition Classes
    MatrixOps
  85. def numNonZeroElementsPerColumn(): Vector

    Definition Classes
    MatrixOps
  86. def numNonZeroElementsPerRow(): Vector

    Definition Classes
    MatrixOps
  87. def pnorm(p: Int): Double

    Definition Classes
    MatrixOps
  88. def rbind(that: Double): Matrix

  89. def rbind(that: Matrix): Matrix

  90. def rowMeans(): Vector

    Definition Classes
    MatrixOps
  91. def rowSums(): Vector

    Definition Classes
    MatrixOps
  92. implicit var solverOperator: opMMulSolver

    Structure-optimized mmul

  93. def sum: Double

    Definition Classes
    MatrixOps
  94. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  95. def t: Matrix

    Warning: This provides read-only view only.

    Warning: This provides read-only view only. In most cases that's what one wants. To get a copy, use m.t cloned

    returns

    transposed view

    Definition Classes
    MatrixOps
  96. def toString(): String

    Definition Classes
    AnyRef → Any
  97. def unary_-: Matrix

    Warning: this creates a clone (as in mx * -1), in many applications inplace inversion mx *= -1 might be an infinitely better choice.

    Warning: this creates a clone (as in mx * -1), in many applications inplace inversion mx *= -1 might be an infinitely better choice.

    Definition Classes
    MatrixOps
  98. def update(rowRange: Range, col: Int, that: Vector): Vector

    Definition Classes
    MatrixOps
  99. def update(row: Int, colRange: Range, that: Vector): Vector

    Definition Classes
    MatrixOps
  100. def update(rowRange: Range, colRange: Range, that: Matrix): Matrix

    Definition Classes
    MatrixOps
  101. def update(rowRange: Range, col: Int, that: Double): Vector

    Definition Classes
    MatrixOps
  102. def update(row: Int, colRange: Range, that: Double): Vector

    Definition Classes
    MatrixOps
  103. def update(rowRange: Range, colRange: Range, that: Double): Matrix

    Definition Classes
    MatrixOps
  104. def update(row: Int, col: Int, that: Double): Matrix

    Definition Classes
    MatrixOps
  105. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def %***%(that: Matrix): Matrix

    The "legacy" matrix-matrix multiplication.

    The "legacy" matrix-matrix multiplication.

    that

    right hand operand

    returns

    matrix multiplication result

    Deprecated

    use %*%

Inherited from MatrixOps

Inherited from AnyRef

Inherited from Any

Ungrouped