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
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: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(that: F2Polynomial): F2Polynomial

    Addition over F2[t].

    Addition over F2[t].

    that

    Polynomial

    returns

    result of addition

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. 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

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(obj: Any): Boolean
    Definition Classes
    F2Polynomial → AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. 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

  13. def hashCode(): Int
    Definition Classes
    F2Polynomial → AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. 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

  16. def mul(that: F2Polynomial): F2Polynomial

    Multiplication over F2[t].

    Multiplication over F2[t].

    that

    Polynomial

    returns

    result of multiplication

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. def power(pow: BigInteger): F2Polynomial

    power of this polynomial, thispow.

    power of this polynomial, thispow.

    pow

    exponent

    returns

    thispow

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

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. 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

  24. def toString(): String

    return binary format representation of polynomial.

    return binary format representation of polynomial.

    returns

    binary format string

    Definition Classes
    F2Polynomial → AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped