Interface PsyNumeric

All Superinterfaces:
PsyAdditive<PsyNumeric>, PsyArithmetic<PsyNumeric>, PsyMultiplicative<PsyNumeric>, PsyObject, PsyValue
All Known Subinterfaces:
PsyIntegral, PsyRational, PsyRealNumeric
All Known Implementing Classes:
PsyBigFraction, PsyBigInteger, PsyComplex, PsyFraction, PsyInteger, PsyReal

@Type("numeric") public sealed interface PsyNumeric extends PsyArithmetic<PsyNumeric>, PsyValue permits PsyComplex, PsyRealNumeric
The representation of numeric, an abstraction of complex and real numbers.
  • Field Details

  • Method Details

    • realValue

      double realValue()
      Returns the real part of this object.
      Returns:
      the real part of this object
    • imagValue

      double imagValue()
      Returns the imaginary part of this object.
      Returns:
      the imaginary part of this object
    • psyAbs

      PsyRealNumeric psyAbs()
      Returns the numeric absolute value of this object.
      Returns:
      the numeric absolute value of this object
    • psySignum

      PsyNumeric psySignum()
      Returns the numeric signum of this object.
      Returns:
      the numeric signum of this object
    • psyPow

      PsyNumeric psyPow(PsyNumeric oNumeric)
    • psyExp

      PsyNumeric psyExp()
      Returns the numeric exponent of this object.
      Returns:
      the numeric exponent of this object
    • psyCos

      PsyNumeric psyCos()
      Returns the numeric cosine of this object.
      Returns:
      the numeric cosine of this object
    • psySin

      PsyNumeric psySin()
      Returns the numeric sine of this object.
      Returns:
      the numeric sine of this object
    • psyTan

      PsyNumeric psyTan()
      Returns the numeric tangent of this object.
      Returns:
      the numeric tangent of this object
    • psyLog

      PsyNumeric psyLog()
      Returns the numeric natural logarithm of this object.
      Returns:
      the numeric natural logarithm of this object
    • psyAcos

      PsyNumeric psyAcos()
      Returns the numeric arc cosine of this object.
      Returns:
      the numeric arc cosine of this object
    • psyAsin

      PsyNumeric psyAsin()
      Returns the numeric arc sine of this object.
      Returns:
      the numeric arc sine of this object
    • psyAtan

      PsyNumeric psyAtan()
      Returns the numeric arc tangent of this object.
      Returns:
      the numeric arc tangent of this object
    • psySqrt

      PsyNumeric psySqrt()
      Returns the numeric square root of this object.
      Returns:
      the numeric square root of this object
    • psyCbrt

      PsyNumeric psyCbrt()
      Returns the numeric cubic root of this object.
      Returns:
      the numeric cubic root of this object
    • psyCosh

      PsyNumeric psyCosh()
      Returns the numeric hyperbolic cosine of this object.
      Returns:
      the numeric hyperbolic cosine of this object
    • psySinh

      PsyNumeric psySinh()
      Returns the numeric hyperbolic sine of this object.
      Returns:
      the numeric hyperbolic sine of this object
    • psyTanh

      PsyNumeric psyTanh()
      Returns the numeric hyperbolic tangent of this object.
      Returns:
      the numeric hyperbolic tangent of this object