Packages

class NewtonPolynomial extends Tracing

Defines a Newton Polynomial.

Linear Supertypes
Tracing, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NewtonPolynomial
  2. Tracing
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NewtonPolynomial(degree: Int, basis: IndexedSeq[BigInt], coefficients: IndexedSeq[BigInt], prime: BigInt)

    Creates an instance of a Newton Polynomial suitable for calculations using finite field algebra.

    Creates an instance of a Newton Polynomial suitable for calculations using finite field algebra.

    degree

    the degree of the polynomial

    basis

    the Newton basis polynomials

    coefficients

    The Newton coefficients

    prime

    the prime modulus

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val basis: IndexedSeq[BigInt]
  6. val c: Seq[BigInt]

    the residues of the coefficients mod prime

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. val coefficients: IndexedSeq[BigInt]
  9. val degree: Int
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def evaluateAt(x: BigInt): BigInt

    Computes y = P(x).

    Computes y = P(x).

    x

    the x value

    returns

    the y value

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def getCurrentTracer(): AbstractTracer

    Returns the present tracer for this object.

    Returns the present tracer for this object.

    returns

    the current tracer, by default the NullTracer

    Definition Classes
    NewtonPolynomialTracing
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val n: Int

    alias for degree

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. def pairwiseDifferent(values: List[BigInt]): Boolean
  22. val prime: BigInt
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String

    Returns a string representation of the NewtonPolynomial.

    Returns a string representation of the NewtonPolynomial.

    returns

    the string representation of the NewtonPolynomial

    Definition Classes
    NewtonPolynomial → AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. def withTracer[T](resultType: String, callee: AnyRef, method: String)(block: => T): T

    Custom control structure for tracing of embraced code blocks.

    Custom control structure for tracing of embraced code blocks.

    T

    the actual type of the embraced code block

    resultType

    denotes the return type

    callee

    the call site

    method

    denotes the method signature

    block

    the embraced code block

    returns

    returns whatever block returns

    Definition Classes
    Tracing
  29. val xx: Seq[BigInt]

    the residues of the basis mod prime

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Tracing

Inherited from AnyRef

Inherited from Any

Ungrouped