org.apache.mahout.math.scalabindings

MatrixOps

class MatrixOps extends AnyRef

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

Instance Constructors

  1. new MatrixOps(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

  4. final def ##(): Int

    Definition Classes
    AnyRef → Any
  5. def +(that: Double): Matrix

  6. def +(that: Matrix): Matrix

  7. def +:(that: Double): Matrix

  8. def +=(that: Double): Matrix

  9. def +=(that: Matrix): Matrix

  10. def +=:(that: Double): Matrix

  11. def +=:(that: Matrix): Matrix

  12. def -(that: Double): Matrix

  13. def -(that: Matrix): Matrix

  14. def -:(that: Double): Matrix

  15. def -:(that: Matrix): Matrix

  16. def -=(that: Double): Matrix

  17. def -=(that: Matrix): Matrix

  18. def -=:(that: Matrix): Matrix

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

  19. def -=:(that: Double): Matrix

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

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

  21. def ::=(f: (Int, Int, Double) ⇒ Double): Matrix

    Sparse assign: iterate and assign over non-zeros only

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

    Functional assign with (Double) => Double

  23. def :=(f: (Int, Int, Double) ⇒ Double): Matrix

  24. def :=(that: Double): Matrix

  25. def :=(that: TraversableOnce[Vector]): Unit

    Assigning from a row-wise collection of vectors

    Assigning from a row-wise collection of vectors

    that

  26. def :=(that: Matrix): Matrix

  27. final def ==(arg0: AnyRef): Boolean

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

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

  30. def apply(rowRange: Range, col: Int): Vector

  31. def apply(row: Int, colRange: Range): Vector

  32. def apply(rowRange: Range, colRange: Range): Matrix

  33. def apply(row: Int, col: Int): Double

  34. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  35. def clone(): AnyRef

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

  37. def colMeans(): Vector

  38. def colSums(): Vector

  39. def det: Double

  40. def diagv: Vector

  41. def diagv_=(that: Double): Vector

  42. def diagv_=(that: Vector): Vector

  43. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  45. 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

  46. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  49. def isFullRank: Boolean

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

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

    returns

  50. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  51. val m: Matrix

  52. def ncol: Int

  53. final def ne(arg0: AnyRef): Boolean

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

  55. def norm: Double

  56. final def notify(): Unit

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

    Definition Classes
    AnyRef
  58. def nrow: Int

  59. def numNonZeroElementsPerColumn(): Vector

  60. def numNonZeroElementsPerRow(): Vector

  61. def pnorm(p: Int): Double

  62. def rowMeans(): Vector

  63. def rowSums(): Vector

  64. def sum: Double

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

    Definition Classes
    AnyRef
  66. 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

  67. def toString(): String

    Definition Classes
    AnyRef → Any
  68. 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.

  69. def update(rowRange: Range, col: Int, that: Vector): Vector

  70. def update(row: Int, colRange: Range, that: Vector): Vector

  71. def update(rowRange: Range, colRange: Range, that: Matrix): Matrix

  72. def update(rowRange: Range, col: Int, that: Double): Vector

  73. def update(row: Int, colRange: Range, that: Double): Vector

  74. def update(rowRange: Range, colRange: Range, that: Double): Matrix

  75. def update(row: Int, col: Int, that: Double): Matrix

  76. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped