com.twitter.algebird.ExpHist

CanonicalVector

final case class CanonicalVector(rep: Vector[Int]) extends AnyVal with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CanonicalVector
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyVal
  7. NotNull
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CanonicalVector(rep: Vector[Int])

Value Members

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

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

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

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  7. val rep: Vector[Int]

  8. def sum: Int

  9. def toBuckets: Vector[Long]

    Expands out the l-canonical representation of some number s into a list of bucket sizes in ascending order.

    Expands out the l-canonical representation of some number s into a list of bucket sizes in ascending order.

    returns

    vector of powers of 2 (where ret.sum == the original s)

  10. def toLong: Long

    Expands out an l-canonical representation into the original number.

    Expands out an l-canonical representation into the original number.

    returns

    The original s

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped