Interface PsyNumeric

All Superinterfaces:
PsyAdditive<PsyNumeric>, PsyArithmetic<PsyNumeric>, PsyAtomic, PsyConvertableToName, PsyConvertableToString, PsyMultiplicative<PsyNumeric>, PsyObject
All Known Subinterfaces:
PsyIntegral, PsyRational, PsyRealNumeric
All Known Implementing Classes:
PsyBigFractional, PsyBigInteger, PsyComplex, PsyFractional, PsyInteger, PsyReal

public interface PsyNumeric extends PsyAtomic, PsyArithmetic<PsyNumeric>
A 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.
    • imagValue

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

      PsyRealNumeric psyAbs()
      Returns a numeric absolute value of this object.
      Returns:
      a numeric absolute value.
    • psyPow

      PsyNumeric psyPow(PsyNumeric oNumeric) throws PsyErrorException
      Throws:
      PsyErrorException
    • psyExp

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

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

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

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

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

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

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

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

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

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

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

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

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