final case class CanonicalVector(rep: Vector[Int]) extends AnyVal with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CanonicalVector
- Serializable
- Product
- Equals
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CanonicalVector(rep: Vector[Int])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val rep: Vector[Int]
- def sum: Int
- 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)
- 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