class Polynomial extends Tracing
Defines a polynomial in its canonical form.
- Alphabetic
- By Inheritance
- Polynomial
- Tracing
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Polynomial(coefficients: IndexedSeq[BigInt], prime: BigInt)
- coefficients
the polynoms coefficients
- prime
the prime modulus
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val a: Seq[BigInt]
the remaining coefficients while dropping leading zeros
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val coefficients: IndexedSeq[BigInt]
- val degree: Int
the degree of the polynomial
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def evaluateAt(x: BigInt): BigInt
Computes y = P(x).
Computes y = P(x).
- x
the x value
- returns
the y value
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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
- Polynomial → Tracing
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isZero: Boolean
indicates the zero polynomial
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val prime: BigInt
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
Returns a string representation of the Polynomial.
Returns a string representation of the Polynomial.
- returns
the string representation of the Polynomial
- Definition Classes
- Polynomial → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated