public interface NumericProperties
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFinite() |
boolean |
isImaginary()
Answer
true if this value represents the magnitude of a vector
into the set of imaginary numbers. |
boolean |
isInfinity() |
boolean |
isInvalid() |
boolean |
isMaximum() |
boolean |
isMinimum() |
boolean |
isModulo()
Answer
true if this value represents the magnitude of a vector
into a modulo set, or finite ring. |
boolean |
isNegative() |
boolean |
isNegativeFinite() |
boolean |
isNegativeInfinity() |
boolean |
isPositive() |
boolean |
isPositiveFinite() |
boolean |
isPositiveInfinity() |
boolean |
isReal()
Answer
true if this value represents the magnitude of a vector
into the set of real numbers. |
boolean |
isUnity()
Answer
true if this value represents the multiplicative
identity in its arithmetic domain. |
boolean |
isValid() |
boolean |
isZero()
Answer
true if this value represents the additive identity
in its algebraic group. |
int |
signum() |
boolean isFinite()
true if this value represents a valid and finite valueboolean isImaginary()
true if this value represents the magnitude of a vector
into the set of imaginary numbers. This is not the same as testing
whether this object's implementation resembles the specification for the
IMAGINARY domain, since that is too specific to
implementation machinery. This more general test also includes imaginary
modulo values in its specification.true if this value represents the magnitude of a vector
into the set of imaginary numbersboolean isInfinity()
boolean isInvalid()
boolean isMaximum()
true if this value represents the maximum rational value
in the totally ordered set it representsboolean isMinimum()
true if this value represents the minimum rational value
in the totally ordered set it representsboolean isModulo()
true if this value represents the magnitude of a vector
into a modulo set, or finite ring. This is not the same as testing
whether this object's implementation resembles the specification for the
MODULO domain, since that is too specific to
implementation machinery. Modulo values, for instance can either be
real or imaginary.true if this value represents the magnitude of a vector
into a modulo set, or finite ringboolean isNegative()
true if this value represents a negative valueboolean isNegativeFinite()
true if this value represents a valid, finite and
negative valueboolean isNegativeInfinity()
true if this value represents negative infinityboolean isPositive()
true if this value represents a positive valueboolean isPositiveFinite()
true if this value represents a valid, finite and
negative valueboolean isPositiveInfinity()
true if this value represents positive infinityboolean isReal()
true if this value represents the magnitude of a vector
into the set of real numbers. This is not the same as testing whether
this object's implementation resembles the specification for the
REAL domain, since that is too specific to
implementation machinery. This more general test also includes real
modulo values in its specification.true if this value represents the magnitude of a vector
into the set of real numbersboolean isUnity()
true if this value represents the multiplicative
identity in its arithmetic domain. For real numbers this is 1, for
matrices it would be the identity matrix and for functions this
would be a pass-through.true if this value represents the multiplicative
identity in its domainboolean isValid()
boolean isZero()
true if this value represents the additive identity
in its algebraic group. For real numbers this is 0, for matrices this
would be the zero matrix and for functions this would map every
parameter to zero.true if this value represents the additive
identity in its algebraic groupCopyright © 2006-2012 Ware-Squared Software Development. All Rights Reserved.