- All Superinterfaces:
PsyAdditive<PsyNumeric>
,PsyArithmetic<PsyNumeric>
,PsyAtomic
,PsyMultiplicative<PsyNumeric>
,PsyObject
- All Known Subinterfaces:
PsyIntegral
,PsyRational
,PsyRealNumeric
- All Known Implementing Classes:
PsyBigFraction
,PsyBigInteger
,PsyComplex
,PsyFraction
,PsyInteger
,PsyReal
@Type("numeric")
public sealed interface PsyNumeric
extends PsyAtomic, PsyArithmetic<PsyNumeric>
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 thescos
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_TONAME, PSY_TOSTRING, PSY_TYPE
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the real part of this object.psyAbs()
Returns anumeric
absolute value of this object.psyAcos()
Returns anumeric
representing the arc cosine of this object.psyAsin()
Returns anumeric
representing the arc sine of this object.psyAtan()
Returns anumeric
representing the arc tangent of this object.psyCbrt()
Returns anumeric
representing the cubic root of this object.psyCos()
Returns anumeric
representing the cosine of this object.psyCosh()
Returns anumeric
representing the hyperbolic cosine of this object.psyExp()
Returns anumeric
representing the exponent of this object.psyLog()
Returns anumeric
representing the natural logarithm of this object.psyPow
(PsyNumeric oNumeric) Returns the signum of this object.psySin()
Returns anumeric
representing the sine of this object.psySinh()
Returns anumeric
representing the hyperbolic sine of this object.psySqrt()
Returns anumeric
representing the square root of this object.psyTan()
Returns anumeric
representing the tangent of this object.psyTanh()
Returns anumeric
representing the hyperbolic tangent of this object.double
Returns the real part of this object.Methods inherited from interface coneforest.psylla.core.PsyAdditive
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, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeName
-
Field Details
-
PSY_ABS
Context action of theabs
operator. -
PSY_ACOS
Context action of thescos
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.
-
imagValue
double imagValue()Returns the real part of this object.- Returns:
- the imaginary part.
-
psyAbs
PsyRealNumeric psyAbs()Returns anumeric
absolute value of this object.- Returns:
- a
numeric
absolute value.
-
psySignum
PsyNumeric psySignum()Returns the signum of this object.- Returns:
- the
numeric
signum of this object.
-
psyPow
-
psyExp
PsyNumeric psyExp()Returns anumeric
representing the exponent of this object.- Returns:
- a
numeric
exponent.
-
psyCos
PsyNumeric psyCos()Returns anumeric
representing the cosine of this object.- Returns:
- a
numeric
cosine.
-
psySin
PsyNumeric psySin()Returns anumeric
representing the sine of this object.- Returns:
- a
numeric
sine.
-
psyTan
PsyNumeric psyTan()Returns anumeric
representing the tangent of this object.- Returns:
- a
numeric
tangent.
-
psyLog
PsyNumeric psyLog()Returns anumeric
representing the natural logarithm of this object.- Returns:
- a
numeric
logarithm.
-
psyAcos
PsyNumeric psyAcos()Returns anumeric
representing the arc cosine of this object.- Returns:
- a
numeric
arc cosine.
-
psyAsin
PsyNumeric psyAsin()Returns anumeric
representing the arc sine of this object.- Returns:
- a
numeric
arc sine.
-
psyAtan
PsyNumeric psyAtan()Returns anumeric
representing the arc tangent of this object.- Returns:
- a
numeric
arc tangent.
-
psySqrt
PsyNumeric psySqrt()Returns anumeric
representing the square root of this object.- Returns:
- a
numeric
square root of this number.
-
psyCbrt
PsyNumeric psyCbrt()Returns anumeric
representing the cubic root of this object.- Returns:
- a
numeric
cubic root of this number.
-
psyCosh
PsyNumeric psyCosh()Returns anumeric
representing the hyperbolic cosine of this object.- Returns:
- a
numeric
hyperbolic cosine of this number.
-
psySinh
PsyNumeric psySinh()Returns anumeric
representing the hyperbolic sine of this object.- Returns:
- a
numeric
hyperbolic sine of this number.
-
psyTanh
PsyNumeric psyTanh()Returns anumeric
representing the hyperbolic tangent of this object.- Returns:
- a
numeric
hyperbolic tangent of this number.
-