com.twitter.scalding

mathematics

package mathematics

Visibility
  1. Public
  2. All

Type Members

  1. class BigToSmall extends MatrixJoiner

  2. class BlockMatrix[RowT, GroupT, ColT, ValT] extends AnyRef

    BlockMatrix is 3 dimensional matrix where the rows are grouped It is useful for when we want to multiply groups of vectors only between themselves.

  3. class ColVector[RowT, ValT] extends Serializable with WrappedPipe

  4. class DefaultMatrixJoiner extends MatrixJoiner2

    This uses standard join if the matrices are comparable size and large, otherwise, if one is much smaller than the other, we use a hash join

  5. class DiagonalMatrix[IdxT, ValT] extends WrappedPipe with Serializable

  6. case class FiniteHint(rows: BigInt = math.this.BigInt.long2bigInt(-1L), cols: BigInt = math.this.BigInt.long2bigInt(-1L)) extends SizeHint with scala.Product with Serializable

  7. case class HadamardProduct[R, C, V](left: Matrix2[R, C, V], right: Matrix2[R, C, V], ring: Ring[V]) extends Matrix2[R, C, V] with scala.Product with Serializable

  8. class Histogram extends AnyRef

  9. class LiteralScalar[ValT] extends Serializable

  10. class Matrix[RowT, ColT, ValT] extends WrappedPipe with Serializable

  11. sealed trait Matrix2[R, C, V] extends Serializable

    This is the future Matrix API.

  12. abstract class MatrixCrosser extends Serializable

  13. abstract class MatrixJoiner extends Serializable

    Abstracts the approach taken to join the two matrices

  14. trait MatrixJoiner2 extends Serializable

    This trait allows users to plug in join algoritms where they are needed to improve products and propagations.

  15. case class MatrixLiteral[R, C, V](toTypedPipe: TypedPipe[(R, C, V)], sizeHint: SizeHint)(implicit rowOrd: Ordering[R], colOrd: Ordering[C]) extends Matrix2[R, C, V] with scala.Product with Serializable

  16. class MatrixMappableExtensions[T] extends AnyRef

    This is the enrichment pattern on Mappable[T] for converting to Matrix types

  17. class MatrixPipeExtensions extends AnyRef

    Matrix class - represents an infinite (hopefully sparse) matrix.

  18. trait MatrixProduct[Left, Right, Result] extends Serializable

  19. case class OneC[R, V]()(implicit rowOrd: Ordering[R]) extends Matrix2[R, Unit, V] with scala.Product with Serializable

    Infinite column vector - only for intermediate computations

  20. 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

  21. class Poisson extends AnyRef

    Generating Poisson-distributed random variables according to Donald Knuth's algorith as shown on Wikipedia's Poisson Distribution page

  22. case class Product[R, C, C2, V](left: Matrix2[R, C, V], right: Matrix2[C, C2, V], ring: Ring[V], expressions: Option[Map[Matrix2[R, C2, V], TypedPipe[(R, C2, V)]]] = scala.None)(implicit joiner: MatrixJoiner2) extends Matrix2[R, C2, V] with scala.Product with Serializable

    Class representing a matrix product

  23. class RowVector[ColT, ValT] extends Serializable with WrappedPipe

  24. class Scalar[ValT] extends WrappedPipe with Serializable

  25. trait Scalar2[V] extends Serializable

    A representation of a scalar value that can be used with Matrices

  26. sealed abstract class SizeHint extends AnyRef

  27. class SmallToBig extends MatrixJoiner

  28. case class SparseHint(sparsity: Double, rows: BigInt, cols: BigInt) extends SizeHint with scala.Product with Serializable

  29. case class Sum[R, C, V](left: Matrix2[R, C, V], right: Matrix2[R, C, V], mon: Monoid[V]) extends Matrix2[R, C, V] with scala.Product with Serializable

  30. case class ValuePipeScalar[V](value: typed.ValuePipe[V]) extends Scalar2[V] with scala.Product with Serializable

  31. trait WrappedPipe extends AnyRef

Value Members

  1. object AnyCrossSmall extends MatrixCrosser with scala.Product with Serializable

  2. object AnyCrossTiny extends MatrixCrosser with scala.Product with Serializable

  3. object AnyToTiny extends MatrixJoiner with scala.Product with Serializable

  4. object Combinatorics

    Serve as a repo for self-contained combinatorial functions with no dependencies such as combinations, aka n choose k, nCk permutations , aka nPk subset sum : numbers that add up to a finite sum weightedSum: For weights (a,b,c, .

  5. object Matrix extends Serializable

  6. object Matrix2 extends Serializable

  7. object MatrixJoiner2 extends Serializable

  8. object MatrixProduct extends Serializable

    TODO: Muliplication is the expensive stuff.

  9. object NoClue extends SizeHint with scala.Product with Serializable

  10. object Scalar2 extends Serializable

  11. object SizeHint

  12. object SizeHintOrdering extends Ordering[SizeHint] with Serializable

    Allows us to sort matrices by approximate type

  13. object TinyToAny extends MatrixJoiner with scala.Product with Serializable

Ungrouped