Package coneforest.psylla.core
Interface PsyNumeric
-
- All Superinterfaces:
PsyAdditive<PsyNumeric>
,PsyArithmetic<PsyNumeric>
,PsyAtomic
,PsyConvertableToName
,PsyConvertableToString
,PsyObject
- All Known Subinterfaces:
PsyRealNumeric
- All Known Implementing Classes:
PsyBigInteger
,PsyComplex
,PsyInteger
,PsyReal
public interface PsyNumeric extends PsyAtomic, PsyArithmetic<PsyNumeric>
A representation of Ψ-numeric
, an abstraction of complex and real numbers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
imagValue()
Returns the real part of this object.PsyRealNumeric
psyAbs()
Returns a Ψ-numeric
absolute value of this object.PsyNumeric
psyAcos()
Returns a Ψ-numeric
representing the arc cosine of this object.PsyNumeric
psyAsin()
Returns a Ψ-numeric
representing the arc sine of this object.PsyNumeric
psyAtan()
Returns a Ψ-numeric
representing the arc tangent of this object.PsyNumeric
psyCbrt()
Returns a Ψ-numeric
representing the cubic root of this object.PsyNumeric
psyCos()
Returns a Ψ-numeric
representing the cosine of this object.PsyNumeric
psyCosh()
Returns a Ψ-numeric
representing the hyperbolic cosine of this object.PsyNumeric
psyExp()
Returns a Ψ-numeric
representing the exponent of this object.PsyNumeric
psyLog()
Returns a Ψ-numeric
representing the natural logarithm of this object.PsyNumeric
psyPow(PsyNumeric oNumeric)
PsyNumeric
psySin()
Returns a Ψ-numeric
representing the sine of this object.PsyNumeric
psySinh()
Returns a Ψ-numeric
representing the hyperbolic sine of this object.PsyNumeric
psySqrt()
Returns a Ψ-numeric
representing the square root of this object.PsyNumeric
psyTan()
Returns a Ψ-numeric
representing the tangent of this object.PsyNumeric
psyTanh()
Returns a Ψ-numeric
representing the hyperbolic tangent of this object.double
realValue()
Returns the real part of this object.-
Methods inherited from interface coneforest.psylla.core.PsyAdditive
psyAdd, psyNeg, psySub
-
Methods inherited from interface coneforest.psylla.core.PsyArithmetic
psyDiv, psyIsZero, psyMul, psyNotZero
-
Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeName
-
-
-
-
Method Detail
-
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 PsyException
- Throws:
PsyException
-
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. value.
-
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
arcc 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.
-
-