static ComplexScalar |
ComplexScalar.add(ComplexScalar a,
double b) |
Add a ComplexScalar and a real (supplied as a double ).
|
static ComplexScalar |
ComplexScalar.add(ComplexScalar a,
ComplexScalar b) |
Add two instances of ComplexScalar .
|
static void |
ComplexScalar.assertHasValues(ComplexScalar cpl,
double re,
double im) |
Assert a 'complex' has given re and im values, to test that its
representation in Java corresponds to what PostgreSQL sees.
|
static int |
ComplexScalar.cmpMagnitude(ComplexScalar a,
ComplexScalar b) |
An integer-returning comparison function by complex magnitude, usable to
complete an example btree operator class.
|
static boolean |
ComplexScalar.componentsEQ(ComplexScalar a,
ComplexScalar b) |
True if the left argument and the right are componentwise equal.
|
static boolean |
ComplexScalar.eqToReal(ComplexScalar a,
double b) |
True if the complex argument is real-valued and equal to the real
argument.
|
static ComplexScalar |
ComplexScalar.logAndReturn(ComplexScalar cpl) |
Return the same 'complex' passed in, logging its contents at level INFO.
|
static boolean |
ComplexScalar.magnitudeLT(ComplexScalar a,
ComplexScalar b) |
True if the left argument is smaller than the right in magnitude
(Euclidean distance from the origin).
|
static ComplexScalar |
ComplexScalar.minMagnitude(ComplexScalar a,
ComplexScalar b) |
As an ordinary function, returns the lesser in magnitude of two
arguments; as a simple aggregate, returns the least in magnitude over its
aggregated arguments.
|