|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.maverickdbms.basic.DoubleMath
| Constructor Summary | |
DoubleMath()
|
|
| Method Summary | |
mvString |
ABS(mvString result,
ConstantString a)
Gets the absolute value for the number. |
mvString |
add(mvString result,
ConstantString a,
ConstantString b)
|
mvString |
BITAND(mvString result,
ConstantString a,
ConstantString b)
Returns the bitwise AND of the 2 numbers |
mvString |
COS(mvString result,
ConstantString a)
Returns the cosine of the number |
mvString |
divide(mvString result,
ConstantString a,
ConstantString b)
|
mvString |
EXP(mvString result,
ConstantString a)
Returns the e to the power of the number |
boolean |
GE(ConstantString a,
ConstantString b)
Determines whether a is greater than or equal to b. |
int |
getPrecision()
Returns the current PRECISION value |
boolean |
GT(ConstantString a,
ConstantString b)
Determines whether a is greater than b. |
mvString |
INT(mvString result,
ConstantString a)
Returns the integer portion of the number |
boolean |
LE(ConstantString a,
ConstantString b)
Determines whether a is less than or equal to b. |
mvString |
LN(mvString result,
ConstantString a)
Returns the natural logarithm of the number |
boolean |
LT(ConstantString a,
ConstantString b)
Determines whether a is less than b. |
mvString |
MOD(mvString result,
ConstantString a,
ConstantString b)
Returns the modulus of a divided by b |
mvString |
multiply(mvString result,
ConstantString a,
ConstantString b)
|
void |
PRECISION(ConstantString val)
|
mvString |
PWR(mvString result,
ConstantString a,
ConstantString b)
Returns the number raised to the power. |
mvString |
RND(mvString result,
ConstantString range)
|
mvString |
SIN(mvString result,
ConstantString a)
Returns the sine of the number |
mvString |
SQRT(mvString result,
ConstantString a)
|
mvString |
subtract(mvString result,
ConstantString a,
ConstantString b)
|
mvString |
TAN(mvString result,
ConstantString a)
Returns the tangent of the number |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DoubleMath()
| Method Detail |
public mvString ABS(mvString result,
ConstantString a)
MathInterface
ABS in interface MathInterfaceresult - value to store the absolute number ina - the number
public mvString add(mvString result,
ConstantString a,
ConstantString b)
add in interface MathInterface
public mvString BITAND(mvString result,
ConstantString a,
ConstantString b)
MathInterface
BITAND in interface MathInterfaceresult - - the number to store the resulta - - the first operandb - - the second operand
public mvString COS(mvString result,
ConstantString a)
MathInterface
COS in interface MathInterfaceresult - - the number to store the resulta - - the angle, in radians
public mvString divide(mvString result,
ConstantString a,
ConstantString b)
divide in interface MathInterface
public mvString EXP(mvString result,
ConstantString a)
MathInterface
EXP in interface MathInterfaceresult - - the number to store the resulta - - the number
public boolean GE(ConstantString a,
ConstantString b)
MathInterface
GE in interface MathInterfacea - the first number to be comparedb - the second number to be compared
public int getPrecision()
MathInterface
getPrecision in interface MathInterface
public boolean GT(ConstantString a,
ConstantString b)
MathInterface
GT in interface MathInterfacea - the first number to be comparedb - the second number to be compared
public mvString INT(mvString result,
ConstantString a)
MathInterface
INT in interface MathInterfacea - the number to store the result in
public boolean LE(ConstantString a,
ConstantString b)
MathInterface
LE in interface MathInterfacea - the first number to be comparedb - the second number to be compared
public mvString LN(mvString result,
ConstantString a)
MathInterface
LN in interface MathInterfaceresult - the number to store the resulta - a number greater than zero
public boolean LT(ConstantString a,
ConstantString b)
MathInterface
LT in interface MathInterfacea - the first number to be comparedb - the second number to be compared
public mvString MOD(mvString result,
ConstantString a,
ConstantString b)
MathInterface
MOD in interface MathInterfacea - the numeratorb - the denominatorresult - the modulus
public mvString multiply(mvString result,
ConstantString a,
ConstantString b)
multiply in interface MathInterface
public mvString PWR(mvString result,
ConstantString a,
ConstantString b)
MathInterface
PWR in interface MathInterfaceresult - the number to store the resulta - the numberb - the power to be raised
public void PRECISION(ConstantString val)
PRECISION in interface MathInterface
public mvString RND(mvString result,
ConstantString range)
RND in interface MathInterface
public mvString SIN(mvString result,
ConstantString a)
MathInterface
SIN in interface MathInterfaceresult - - the number to store the resulta - - the angle, in radians
public mvString SQRT(mvString result,
ConstantString a)
SQRT in interface MathInterface
public mvString subtract(mvString result,
ConstantString a,
ConstantString b)
subtract in interface MathInterface
public mvString TAN(mvString result,
ConstantString a)
MathInterface
TAN in interface MathInterfaceresult - - the number to store the resulta - - the angle, in radians
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||