Package jline.api.sym

Class SymEngine.Measure

java.lang.Object
jline.api.sym.SymEngine.Measure
Enclosing interface:
SymEngine

public static class SymEngine.Measure extends Object
One weighted sum of the stationary distribution, or a ratio of two.
  • Field Details

    • name

      public final String name
      Caller supplied name
    • expr

      public final String expr
      The value as a rational function, or "undefined"
    • num

      public final String num
      Numerator of expr, null when undefined
    • den

      public final String den
      Denominator of expr, null when undefined
    • reason

      public final String reason
      Why the value is undefined, null otherwise.

      A ratio whose denominator measure is identically zero over the whole rate space has no value. The numeric arms sweep such a 0/0 to zero with isnan, which is a defensible cleanup of floating point dust and an indefensible answer for an exact one.

  • Constructor Details

  • Method Details

    • isDefined

      public boolean isDefined()
      Returns:
      true if this measure has a value