Class/Object

spire.math.Algebraic.Expr

Flags

Related Docs: object Flags | package Expr

Permalink

final class Flags extends AnyVal

A set of flags for algebraic expressions, so we can quickly determine some properties, like whether the expression is rational, radical, what types of leaf nodes it has, etc. This is used to help guide algorithmic choices, such as what separation bound to use.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Flags
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Flags(bits: Int)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val bits: Int

    Permalink
  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. def hasBigDecimalLeaf: Boolean

    Permalink

    Returns true iff this expression contains a ConstantBigDecimal leaf node.

  8. def hasDoubleLeaf: Boolean

    Permalink

    Returns true iff this expression contains a ConstantDouble leaf node.

  9. def hasRationalLeaf: Boolean

    Permalink

    Returns true iff this expression contains a ConstantRational leaf node.

  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. def isRadical: Boolean

    Permalink

    Returns true iff this expression contains an n-th root operation.

  12. def isRational: Boolean

    Permalink

    Returns true iff this expression is composed only of rational operations.

  13. def toString(): String

    Permalink
    Definition Classes
    Any
  14. def |(that: Flags): Flags

    Permalink

    Returns the union of flags this and that.

Inherited from AnyVal

Inherited from Any

Ungrouped