org.kramerlab.autoencoder.math

polynomial

package polynomial

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

Type Members

  1. case class DiscreteRoots(roots: List[Double]) extends RootSet with Product with Serializable

  2. sealed trait RootSet extends AnyRef

    This trait represents sets of real solutions of equations of type p(x) = 0 where p is a polynomial with real coefficients

Value Members

  1. object RealLine extends RootSet

  2. def cubicMinimum(a: Double, b: Double, c: Double, d: Double): Option[Double]

    Finds a minimum of a polynomial of third degree, if possible.

    Finds a minimum of a polynomial of third degree, if possible. There is at most one, so we use an Option as return type.

    The coefficients are specified as follows: p(x) = ax3 + bx2 + cx + d

    See second red numerics notebook p. 48 for all the funny signum-manipulations.

  3. def quadraticMinimum(a: Double, b: Double, c: Double): Option[Double]

    Attempts to find local minimum of a quadratic polynomial p(x) = ax2 + bx + c

  4. def quadraticRoots(a: Double, b: Double, c: Double): RootSet

    Solves ax2 + bx + c = 0

Inherited from AnyRef

Inherited from Any

Ungrouped