scalaprops

F2Polynomial

final class F2Polynomial extends AnyRef

Source
F2Polynomial.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. F2Polynomial
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new F2Polynomial(value: String)

    constructor from string of 0 and 1.

    constructor from string of 0 and 1.

    value

    a string consists of 0 and 1

  2. new F2Polynomial(value: String, radix: Int)

    constructor from string with radix.

    constructor from string with radix.

    value

    a string consists of numbers of radix

    radix

    radix of the number of val

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. def add(that: F2Polynomial): F2Polynomial

    Addition over F2[t].

    Addition over F2[t].

    that

    Polynomial

    returns

    result of addition

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def degree: Int

    If zero, this method returns -1, otherwise, returns the degree of polynomial.

    If zero, this method returns -1, otherwise, returns the degree of polynomial.

    returns

    degree of this polynomial

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(obj: Any): Boolean

    Definition Classes
    F2Polynomial → AnyRef → Any
  12. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  14. def getCoefficient(index: Int): Int

    return coefficient of specified term, returned value is zero or one.

    return coefficient of specified term, returned value is zero or one.

    index

    degree of term

    returns

    coefficient of specified term

  15. def hashCode(): Int

    Definition Classes
    F2Polynomial → AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def mod(that: F2Polynomial): F2Polynomial

    Calculate residue of this polynomial divided by that polynomial.

    Calculate residue of this polynomial divided by that polynomial. Using means return this % that if this and that were int.

    that

    divider

    returns

    residue

  18. def mul(that: F2Polynomial): F2Polynomial

    Multiplication over F2[t].

    Multiplication over F2[t].

    that

    Polynomial

    returns

    result of multiplication

  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

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

    Definition Classes
    AnyRef
  22. def power(pow: BigInteger): F2Polynomial

    power of this polynomial, thispow.

    power of this polynomial, thispow.

    pow

    exponent

    returns

    thispow

  23. def powerMod(pow: BigInteger, mod: F2Polynomial): F2Polynomial

    returns thispow % mod.

    returns thispow % mod.

    pow

    exponent

    mod

    polynomial

    returns

    polynomial whose degree is less than mod polynomial

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(base: Int): String

    return base format representation of polynomial.

    return base format representation of polynomial.

    base

    base of format

    returns

    base format string

  26. def toString(): String

    return binary format representation of polynomial.

    return binary format representation of polynomial.

    returns

    binary format string

    Definition Classes
    F2Polynomial → AnyRef → Any
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped