com.twitter.scalding.mathematics

OneR

case class OneR[C, V]()(implicit colOrd: Ordering[C]) extends Matrix2[Unit, C, V] with scala.Product with Serializable

Infinite row vector - only for intermediate computations

Linear Supertypes
Serializable, scala.Product, Equals, Matrix2[Unit, C, V], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OneR
  2. Serializable
  3. Product
  4. Equals
  5. Matrix2
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OneR()(implicit colOrd: Ordering[C])

Value Members

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

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

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def #*#(that: Matrix2[Unit, C, V])(implicit ring: Ring[V]): Matrix2[Unit, C, V]

    Represents the pointwise, or Hadamard, product of two matrices.

    Represents the pointwise, or Hadamard, product of two matrices.

    Definition Classes
    Matrix2
  5. def *(that: Scalar2[V])(implicit ring: Ring[V], mj: MatrixJoiner2): Matrix2[Unit, C, V]

    Definition Classes
    Matrix2
  6. def *[C2](that: Matrix2[C, C2, V])(implicit ring: Ring[V], mj: MatrixJoiner2): Matrix2[Unit, C2, V]

    Definition Classes
    Matrix2
  7. def +(that: Matrix2[Unit, C, V])(implicit mon: Monoid[V]): Matrix2[Unit, C, V]

    Definition Classes
    Matrix2
  8. def -(that: Matrix2[Unit, C, V])(implicit g: Group[V]): Matrix2[Unit, C, V]

    Definition Classes
    Matrix2
  9. def /(that: Scalar2[V])(implicit field: algebird.Field[V]): Matrix2[Unit, C, V]

    Definition Classes
    Matrix2
  10. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  12. def ^(power: Int)(implicit ev: =:=[Unit, C], ring: Ring[V], mj: MatrixJoiner2): Matrix2[Unit, Unit, V]

    equivalent to multiplying this matrix by itself, power times

    equivalent to multiplying this matrix by itself, power times

    Definition Classes
    Matrix2
  13. def asCol[C2](c2: C2)(implicit ev: =:=[C, Unit], colOrd: Ordering[C2]): Matrix2[Unit, C2, V]

    Definition Classes
    Matrix2
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def asRow[R2](r2: R2)(implicit ev: =:=[Unit, Unit], rowOrd: Ordering[R2]): Matrix2[R2, C, V]

    Consider this Matrix as the r2 row of a matrix.

    Consider this Matrix as the r2 row of a matrix. The current matrix must be a row, which is to say, its row type must be Unit.

    Definition Classes
    Matrix2
  16. def binarizeAs[NewValT](implicit mon: Monoid[V], ring: Ring[NewValT]): Matrix2[Unit, C, NewValT]

    Definition Classes
    Matrix2
  17. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. implicit val colOrd: Ordering[C]

    Definition Classes
    OneRMatrix2
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  22. def getColumn(index: C): Matrix2[Unit, Unit, V]

    Definition Classes
    Matrix2
  23. def getRow(index: Unit): Matrix2[Unit, C, V]

    Definition Classes
    Matrix2
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. def negate(implicit g: Group[V]): Nothing

    Definition Classes
    OneRMatrix2
  27. final def notify(): Unit

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

    Definition Classes
    AnyRef
  29. def optimizedSelf: Matrix2[Unit, C, V]

    Users should never need this.

    Users should never need this. This is the current Matrix2, but in most optimized form. Usually, you will just do matrix operations until you eventually call write or toTypedPipe

    Definition Classes
    Matrix2
  30. def propagate[C2, VecV](vec: Matrix2[C, C2, VecV])(implicit ev: =:=[V, Boolean], mon: Monoid[VecV], mj: MatrixJoiner2): Matrix2[Unit, C2, VecV]

    the result is the same as considering everything on the this to be like a 1 value so we just sum, using only a monoid on VecV, where this Matrix has the value true.

    the result is the same as considering everything on the this to be like a 1 value so we just sum, using only a monoid on VecV, where this Matrix has the value true. This is useful for graph propagation of monoids, such as sketchs like HyperLogLog, BloomFilters or CountMinSketch. TODO This is a special kind of product that could be optimized like Product is

    Definition Classes
    Matrix2
  31. def propagateRow[C2](mat: Matrix2[C, C2, Boolean])(implicit ev: =:=[Unit, Unit], mon: Monoid[V], mj: MatrixJoiner2): Matrix2[Unit, C2, V]

    Definition Classes
    Matrix2
  32. def rowL1Normalize(implicit num: Numeric[V], mj: MatrixJoiner2): Matrix2[Unit, C, Double]

    Row L1 normalization After this operation, the sum(|x|) alone each row will be 1.

    Row L1 normalization After this operation, the sum(|x|) alone each row will be 1.

    Definition Classes
    Matrix2
  33. def rowL2Normalize(implicit num: Numeric[V], mj: MatrixJoiner2): Matrix2[Unit, C, Double]

    Row L2 normalization After this operation, the sum(|x|^2) along each row will be 1.

    Row L2 normalization After this operation, the sum(|x|^2) along each row will be 1.

    Definition Classes
    Matrix2
  34. def rowOrd: Ordering[Unit]

    Definition Classes
    OneRMatrix2
  35. val sizeHint: SizeHint

    Definition Classes
    OneRMatrix2
  36. def sumColVectors(implicit ring: Ring[V], mj: MatrixJoiner2): Matrix2[Unit, Unit, V]

    Definition Classes
    Matrix2
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def toTypedPipe: Nothing

    Convert the current Matrix to a TypedPipe

    Convert the current Matrix to a TypedPipe

    Definition Classes
    OneRMatrix2
  39. def trace(implicit mon: Monoid[V], ev: =:=[Unit, C]): Scalar2[V]

    Definition Classes
    Matrix2
  40. def transpose: OneC[C, V]

    Definition Classes
    OneRMatrix2
  41. def unary_-(implicit g: Group[V]): Matrix2[Unit, C, V]

    Definition Classes
    Matrix2
  42. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. def write(sink: TypedSink[(Unit, C, V)])(implicit fd: FlowDef, m: Mode): Matrix2[Unit, C, V]

    Definition Classes
    Matrix2

Inherited from Serializable

Inherited from scala.Product

Inherited from Equals

Inherited from Matrix2[Unit, C, V]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped