spire.math.Algebraic.Expr

UnaryExpr

sealed abstract class UnaryExpr extends Expr

Unary expressions contain only a single child expression.

Linear Supertypes
Expr, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UnaryExpr
  2. Expr
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UnaryExpr()

Abstract Value Members

  1. abstract def flagBits: Int

    Attributes
    protected
    Definition Classes
    Expr
  2. abstract def signum: Int

    Returns an integer with the same sign as this expression.

    Returns an integer with the same sign as this expression.

    Definition Classes
    Expr
  3. abstract val sub: Expr

  4. abstract def toBigDecimal(digits: Int): BigDecimal

    Returns an asbolute approximation to this expression as a BigDecimal that is accurate up to +/- 10^-digits.

    Returns an asbolute approximation to this expression as a BigDecimal that is accurate up to +/- 10^-digits.

    Definition Classes
    Expr
  5. abstract def upperBound: BitBound

    Returns an upper bound on the absolute value of this expression as a bit bound.

    Returns an upper bound on the absolute value of this expression as a bit bound.

    Definition Classes
    Expr

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def bfmssBound: BitBound

    Returns the BFMSS separation bound.

    Returns the BFMSS separation bound.

    Definition Classes
    Expr
  8. def children: List[Expr]

    Returns a list of the children of this expression.

    Returns a list of the children of this expression. A child is a sub-expression required by this expression. For instance, Add has 2 children, the left-hand and right-hand side sub-expressions. A numeric literal expression, such as ConstantDouble or ConstantRational has no children.

    Definition Classes
    UnaryExprExpr
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def degreeBound: Long

    Returns a bound on the degree of this expression.

    Returns a bound on the degree of this expression.

    Definition Classes
    Expr
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def flags: Flags

    A set of flags we can quickly compute for an Algebraic expression.

    A set of flags we can quickly compute for an Algebraic expression.

    Definition Classes
    Expr
    Note

    we have to do this round-about trip between flagsBits and flags because of

  15. def getBound(zbf: ZeroBoundFunction): Bound

    Returns the bound for zbf, using a cached value if it is available.

    Returns the bound for zbf, using a cached value if it is available.

    Definition Classes
    Expr
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

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

    Definition Classes
    Any
  19. def liYapBound: BitBound

    Returns the Li & Yap separation bound.

    Returns the Li & Yap separation bound.

    Definition Classes
    Expr
  20. def lowerBound: BitBound

    Returns a lower bound on the absolute value of this expression as a bit bound.

    Returns a lower bound on the absolute value of this expression as a bit bound.

    TODO: We could do better here wrt to addition (need a fastSignum: Option[Int])

    Definition Classes
    Expr
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. def separationBound: BitBound

    Returns a separation bound for this expression as a bit bound.

    Returns a separation bound for this expression as a bit bound. A separation bound is a lower-bound on the value of this expression that is only valid if this expression is not 0. This bound can thus be used to determine if this value is actually 0 and, if not, the sign, by simply approximating the expression with enough accuracy that it falls on one side or the other of the separation bound.

    Definition Classes
    Expr
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    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 Expr

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped