- 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 Summary
FieldsModifier and TypeFieldDescriptionstatic final ContextAction
Context action of theabs
operator.static final ContextAction
Context action of theacos
operator.static final ContextAction
Context action of theasin
operator.static final ContextAction
Context action of theatan
operator.static final ContextAction
Context action of thecbrt
operator.static final ContextAction
Context action of thecos
operator.static final ContextAction
Context action of thecosh
operator.static final ContextAction
Context action of theexp
operator.static final ContextAction
Context action of thelog
operator.static final ContextAction
Context action of thepow
operator.static final ContextAction
Context action of thesignum
operator.static final ContextAction
Context action of thesin
operator.static final ContextAction
Context action of thesinh
operator.static final ContextAction
Context action of thesqrt
operator.static final ContextAction
Context action of thetan
operator.static final ContextAction
Context action of thetanh
operator.Fields inherited from interface coneforest.psylla.core.PsyAdditive
PSY_ADD, PSY_ISZERO, PSY_NEG, PSY_NONZERO, PSY_SUB
Fields inherited from interface coneforest.psylla.core.PsyMultiplicative
PSY_DIV, PSY_MUL, PSY_RECIPROCAL
Fields inherited from interface coneforest.psylla.core.PsyObject
PSY_CLONE, PSY_EQ, PSY_HASHCODE, PSY_INSTANCEOF, PSY_NE, PSY_TOSTRING, PSY_TOSTRINGBUFFER, PSY_TYPE
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the imaginary part of this object.psyAbs()
Returns thenumeric
absolute value of this object.psyAcos()
Returns thenumeric
arc cosine of this object.psyAsin()
Returns thenumeric
arc sine of this object.psyAtan()
Returns thenumeric
arc tangent of this object.psyCbrt()
Returns thenumeric
cubic root of this object.psyCos()
Returns thenumeric
cosine of this object.psyCosh()
Returns thenumeric
hyperbolic cosine of this object.psyExp()
Returns thenumeric
exponent of this object.psyLog()
Returns thenumeric
natural logarithm of this object.psyPow
(PsyNumeric oNumeric) Returns thenumeric
signum of this object.psySin()
Returns thenumeric
sine of this object.psySinh()
Returns thenumeric
hyperbolic sine of this object.psySqrt()
Returns thenumeric
square root of this object.psyTan()
Returns thenumeric
tangent of this object.psyTanh()
Returns thenumeric
hyperbolic tangent of this object.double
Returns the real part of this object.Methods inherited from interface coneforest.psylla.core.PsyAdditive
isZero, psyAdd, psyIsZero, psyNeg, psyNonZero, psySub
Methods inherited from interface coneforest.psylla.core.PsyMultiplicative
psyDiv, psyMul, psyReciprocal
Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToString, psyToStringBuffer, psyType, toSyntaxString, typeName
-
Field Details
-
PSY_ABS
Context action of theabs
operator. -
PSY_ACOS
Context action of theacos
operator. -
PSY_ASIN
Context action of theasin
operator. -
PSY_ATAN
Context action of theatan
operator. -
PSY_CBRT
Context action of thecbrt
operator. -
PSY_COS
Context action of thecos
operator. -
PSY_COSH
Context action of thecosh
operator. -
PSY_EXP
Context action of theexp
operator. -
PSY_LOG
Context action of thelog
operator. -
PSY_POW
Context action of thepow
operator. -
PSY_SIGNUM
Context action of thesignum
operator. -
PSY_SIN
Context action of thesin
operator. -
PSY_SINH
Context action of thesinh
operator. -
PSY_SQRT
Context action of thesqrt
operator. -
PSY_TAN
Context action of thetan
operator. -
PSY_TANH
Context action of thetanh
operator.
-
-
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 thenumeric
absolute value of this object.- Returns:
- the
numeric
absolute value of this object
-
psySignum
PsyNumeric psySignum()Returns thenumeric
signum of this object.- Returns:
- the
numeric
signum of this object
-
psyPow
-
psyExp
PsyNumeric psyExp()Returns thenumeric
exponent of this object.- Returns:
- the
numeric
exponent of this object
-
psyCos
PsyNumeric psyCos()Returns thenumeric
cosine of this object.- Returns:
- the
numeric
cosine of this object
-
psySin
PsyNumeric psySin()Returns thenumeric
sine of this object.- Returns:
- the
numeric
sine of this object
-
psyTan
PsyNumeric psyTan()Returns thenumeric
tangent of this object.- Returns:
- the
numeric
tangent of this object
-
psyLog
PsyNumeric psyLog()Returns thenumeric
natural logarithm of this object.- Returns:
- the
numeric
natural logarithm of this object
-
psyAcos
PsyNumeric psyAcos()Returns thenumeric
arc cosine of this object.- Returns:
- the
numeric
arc cosine of this object
-
psyAsin
PsyNumeric psyAsin()Returns thenumeric
arc sine of this object.- Returns:
- the
numeric
arc sine of this object
-
psyAtan
PsyNumeric psyAtan()Returns thenumeric
arc tangent of this object.- Returns:
- the
numeric
arc tangent of this object
-
psySqrt
PsyNumeric psySqrt()Returns thenumeric
square root of this object.- Returns:
- the
numeric
square root of this object
-
psyCbrt
PsyNumeric psyCbrt()Returns thenumeric
cubic root of this object.- Returns:
- the
numeric
cubic root of this object
-
psyCosh
PsyNumeric psyCosh()Returns thenumeric
hyperbolic cosine of this object.- Returns:
- the
numeric
hyperbolic cosine of this object
-
psySinh
PsyNumeric psySinh()Returns thenumeric
hyperbolic sine of this object.- Returns:
- the
numeric
hyperbolic sine of this object
-
psyTanh
PsyNumeric psyTanh()Returns thenumeric
hyperbolic tangent of this object.- Returns:
- the
numeric
hyperbolic tangent of this object
-