Object

typequux.Dense

DNil

Related Doc: package Dense

Permalink

object DNil extends Dense

Dense Zero

Author:

Harshad Deo

Since

0.1

Linear Supertypes
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. DNil
  2. Dense
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Add[b <: Dense] = b

    Permalink

    Add to the number

    Add to the number

    Author:

    Harshad Deo

    Definition Classes
    DNilDense
    Since

    0.1

  2. type Compare[B <: Dense] = CompareC[B, EQ]

    Permalink

    Compares with the other dense number

    Compares with the other dense number

    Author:

    Harshad Deo

    Definition Classes
    Dense
    Since

    0.1

  3. type CompareC[B <: Dense, Carry <: Comparison] = DNil.CompareC.B.Match[LT, Carry, Comparison]

    Permalink

    Author:

    Harshad Deo

    Attributes
    protected
    Definition Classes
    DNilDense
    Since

    0.1

  4. type Dec = Nothing

    Permalink

    Decrement the number

    Decrement the number

    Author:

    Harshad Deo

    Definition Classes
    DNilDense
    Since

    0.1

  5. type ExpHelper[arg <: Dense, res <: Dense] = res

    Permalink

    Author:

    Harshad Deo

    Attributes
    protected
    Definition Classes
    DNilDense
    Since

    0.1

  6. type Inc = DCons[D1, DNil]

    Permalink

    Increment the number

    Increment the number

    Author:

    Harshad Deo

    Definition Classes
    DNilDense
    Since

    0.1

  7. type Karatsuba[x <: Dense, res <: Dense] = res

    Permalink

    Author:

    Harshad Deo

    Attributes
    protected
    Definition Classes
    DNilDense
    Since

    0.1

  8. type Len = DNil.type

    Permalink

    Author:

    Harshad Deo

    Attributes
    protected
    Definition Classes
    DNilDense
    Since

    0.1

  9. type Match[NonZero <: Up, IfZero <: Up, Up] = IfZero

    Permalink

    Typeconstructor for querying whether this is zero

    Typeconstructor for querying whether this is zero

    Author:

    Harshad Deo

    Definition Classes
    DNilDense
    Since

    0.1

  10. type Mult[b <: Dense] = Dense.Mult.b.Match[Karatsuba[b, DNil], DNil, Dense]

    Permalink

    Multiply with the number

    Multiply with the number

    Author:

    Harshad Deo

    Definition Classes
    Dense
    Since

    0.1

  11. type ShiftL = DNil.type

    Permalink

    Unsigned left shift

    Unsigned left shift

    Author:

    Harshad Deo

    Definition Classes
    DNilDense
    Since

    0.1

  12. type ShiftR = DNil.type

    Permalink

    Unsigned right shift

    Unsigned right shift

    Author:

    Harshad Deo

    Definition Classes
    DNilDense
    Since

    0.1

  13. type Sq = DNil.type

    Permalink

    Square the number

    Square the number

    Author:

    Harshad Deo

    Definition Classes
    DNilDense
    Since

    0.1

  14. type YodaExp[b <: Dense] = ExpHelper[b, _1]

    Permalink

    Yoda exponent - to the power of the base, raise the exponent (this is the base).

    Yoda exponent - to the power of the base, raise the exponent (this is the base). Implemented this way for efficiency

    Author:

    Harshad Deo

    Definition Classes
    Dense
    Since

    0.1

  15. type digit = Nothing

    Permalink

    Lowest priority bit

    Lowest priority bit

    Author:

    Harshad Deo

    Definition Classes
    DNilDense
    Since

    0.1

  16. type tail = Nothing

    Permalink

    Rest of the bits, stored in reverse order or priority

    Rest of the bits, stored in reverse order or priority

    Author:

    Harshad Deo

    Definition Classes
    DNilDense
    Since

    0.1

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Dense

Inherited from AnyRef

Inherited from Any

Operations

Representation

Ungrouped