Overview
Package
Class
Tree
Deprecated
Index
Help
Formula 1.0.0
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
W
Z
A
abs()
- Method in class hirondelle.formula.
Decimal
Return the absolute value of the amount.
Abs
- Class in
hirondelle.formula.function.builtin
abs(x): absolute value of a number.
Abs()
- Constructor for class hirondelle.formula.function.builtin.
Abs
Arccosine
- Class in
hirondelle.formula.function.builtin
arccos(x): arc-cosine of a number.
Arccosine()
- Constructor for class hirondelle.formula.function.builtin.
Arccosine
Arcsine
- Class in
hirondelle.formula.function.builtin
arcsin(x): arc-sine of a number.
Arcsine()
- Constructor for class hirondelle.formula.function.builtin.
Arcsine
Arctangent
- Class in
hirondelle.formula.function.builtin
arctan(x): arc-tangent of a number.
Arctangent()
- Constructor for class hirondelle.formula.function.builtin.
Arctangent
Arctangent2
- Class in
hirondelle.formula.function.builtin
arctan2(y,x): arc-tangent of a number.
Arctangent2()
- Constructor for class hirondelle.formula.function.builtin.
Arctangent2
ArithmeticMean
- Class in
hirondelle.formula.function.builtin
avg(x1,x2,x3,...): the arithmetic mean of a set of numbers.
ArithmeticMean()
- Constructor for class hirondelle.formula.function.builtin.
ArithmeticMean
B
Bearing
- Class in
hirondelle.formula.function.builtin
bearing(φ1, λ1, φ2, λ2): the compass bearing from one place to another.
Bearing()
- Constructor for class hirondelle.formula.function.builtin.
Bearing
C
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Abs
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Arccosine
Returns a value in the range 0.0..pi.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Arcsine
Returns a value in the range -pi/2..+pi/2.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Arctangent
Returns a value in the range -pi/2..+pi/2.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Arctangent2
Returns a value in the range -pi..+pi.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
ArithmeticMean
Returns the average (arithmetic mean) of the given parameters.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Bearing
The bearing is the direction one must travel from a specific starting point (point 1) to get to a specific destination (point 2).
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Ceil
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Combination
Takes two parameters n and k (in that order).
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Cosine
The argument is in radians.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
CubeRoot
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
DayFromJD
The single argument is a Julian Date.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
DaysBetween
Takes 6 arguments, consisting of a pair of year-month-day triplets.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
DaysMinus
Takes 4 arguments, consisting of a year-month-day triplet, and the number of days to subtract from it.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
DaysPlus
Takes 4 arguments, consisting of a year-month-day triplet, and the number of days to add to it.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
DaysSince
Takes 3 arguments, consisting of a year-month-day triplet.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
DaysUntil
Takes 3 arguments, consisting of a year-month-day triplet.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Degrees
Convert a single argument, an angle measured in radians, into the same angle measured in degrees.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Distance
Returns the distance between two points on the Earth's surface, in kilometers.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Exp
Return Euler's
e
number raised to the given power.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Factorial
Takes a single argument, a non-negative integer in the range 0..300.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Floor
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
HyperbolicCosine
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
HyperbolicSine
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
HyperbolicTangent
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Investment
Returns the final value of a principal amount invested at a given interest rate, and over a given number of years.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
JulianDate
Takes 3 parameters for year, month, and day.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
LoanPayment
Monthly payment.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
LogBase10
The single argument must be positive.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Max
Return the maximum value found in the given parameters.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Median
Returns the median of the given parameters.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Min
Return the minimum value found in the given parameters.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
ModifiedJulianDate
Takes 3 parameters for year, month, and day.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
NaturalLog
The single argument must be positive.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Permutation
Takes two parameters n and k (in that order).
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
PopulationStandardDeviation
Takes two or more arguments.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Power
The first argument is the base, and the second argument is the exponent.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Radians
Convert a single argument, an angle measured in degrees, into the same angle measured in radians.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
RandomGaussian
Takes two arguments, representing the mean and the variance, respectively, of the gaussian distribution.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
RandomNumber
Takes either 0 or 2 arguments.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Round
Takes either 1 or 2 arguments.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
SampleStandardDeviation
Takes two or more arguments.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Sign
Returns 0, -1, or +1.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Sine
The argument is in radians.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
SquareRoot
The single argument must be >= 0.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Sum
Returns the sum of the given parameters.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Tangent
The argument is in radians.
calculate(Decimal...)
- Method in class hirondelle.formula.function.builtin.
Weekday
Returns 1 for Sunday, 2 for Monday, and so on.
calculate(Decimal...)
- Method in interface hirondelle.formula.function.
Function
Calculate the value of a function.
calculate(Decimal...)
- Method in class hirondelle.formula.function.
FunctionDefinedInText
Return the result of evaluating the function.
Ceil
- Class in
hirondelle.formula.function.builtin
ceil(x): round a number up to the nearest integer.
Ceil()
- Constructor for class hirondelle.formula.function.builtin.
Ceil
Check
- Class in
hirondelle.formula.function
Utility class for validating the parameters passed to a
Function
.
Combination
- Class in
hirondelle.formula.function.builtin
combination(n,k): the number of combinations, selecting k of n.
Combination()
- Constructor for class hirondelle.formula.function.builtin.
Combination
compareTo(Decimal)
- Method in class hirondelle.formula.
Decimal
Implements the
Comparable
interface.
Cosine
- Class in
hirondelle.formula.function.builtin
cos(x): the cosine of an angle.
Cosine()
- Constructor for class hirondelle.formula.function.builtin.
Cosine
CubeRoot
- Class in
hirondelle.formula.function.builtin
cbrt(x): cube root of a number.
CubeRoot()
- Constructor for class hirondelle.formula.function.builtin.
CubeRoot
D
date(Decimal, Decimal, Decimal)
- Static method in class hirondelle.formula.function.
Check
Verify that the given year-month-day can form a date.
DayFromJD
- Class in
hirondelle.formula.function.builtin
dayfromjd(jd): convert a Julian Date into a calendar date.
DayFromJD()
- Constructor for class hirondelle.formula.function.builtin.
DayFromJD
DaysBetween
- Class in
hirondelle.formula.function.builtin
daysbetween(y1,m1,d1, y2,m2,d2): the number of days between two calendar dates.
DaysBetween()
- Constructor for class hirondelle.formula.function.builtin.
DaysBetween
DaysMinus
- Class in
hirondelle.formula.function.builtin
daysminus(y,m,d,n): a date n days before a given date.
DaysMinus()
- Constructor for class hirondelle.formula.function.builtin.
DaysMinus
DaysPlus
- Class in
hirondelle.formula.function.builtin
daysplus(y,m,d,n): a date n days after a given date.
DaysPlus()
- Constructor for class hirondelle.formula.function.builtin.
DaysPlus
DaysSince
- Class in
hirondelle.formula.function.builtin
dayssince(y,m,d): the number of days since a given date.
DaysSince()
- Constructor for class hirondelle.formula.function.builtin.
DaysSince
DaysUntil
- Class in
hirondelle.formula.function.builtin
daysuntil(y,m,d): the number of days until a given date.
DaysUntil()
- Constructor for class hirondelle.formula.function.builtin.
DaysUntil
Decimal
- Class in
hirondelle.formula
Represent an immutable number, using a natural, compact syntax.
Decimal(BigDecimal)
- Constructor for class hirondelle.formula.
Decimal
Constructor.
Degrees
- Class in
hirondelle.formula.function.builtin
deg(x): convert radians to degrees.
Degrees()
- Constructor for class hirondelle.formula.function.builtin.
Degrees
Distance
- Class in
hirondelle.formula.function.builtin
distance(φ1, λ1, φ2, λ2): the distance in kilometres from one place to another.
Distance()
- Constructor for class hirondelle.formula.function.builtin.
Distance
div(Decimal)
- Method in class hirondelle.formula.
Decimal
Divide this
Decimal
by a divisor.
div(long)
- Method in class hirondelle.formula.
Decimal
div(double)
- Method in class hirondelle.formula.
Decimal
doubleValue()
- Method in class hirondelle.formula.
Decimal
Required by
Number
.
E
E
- Static variable in class hirondelle.formula.
Decimal
An approximation to Euler's number, to 15 decimal places.
eq(Decimal)
- Method in class hirondelle.formula.
Decimal
Equals (insensitive to number of decimals).
eq(long)
- Method in class hirondelle.formula.
Decimal
eq(double)
- Method in class hirondelle.formula.
Decimal
equals(Object)
- Method in class hirondelle.formula.
Decimal
Equals, sensitive to scale of the underlying BigDecimal.
Exp
- Class in
hirondelle.formula.function.builtin
exp(x): the exponential function;
e
raised to the given power.
Exp()
- Constructor for class hirondelle.formula.function.builtin.
Exp
F
Factorial
- Class in
hirondelle.formula.function.builtin
factorial(x): the factorial of an integer, in the range 0..300.
Factorial()
- Constructor for class hirondelle.formula.function.builtin.
Factorial
floatValue()
- Method in class hirondelle.formula.
Decimal
Required by
Number
.
Floor
- Class in
hirondelle.formula.function.builtin
floor(x): round a number down to the nearest integer.
Floor()
- Constructor for class hirondelle.formula.function.builtin.
Floor
Formula
- Class in
hirondelle.formula
Evaluate a mathematical formula.
Formula(String)
- Constructor for class hirondelle.formula.
Formula
Constructor for the simplest case.
Formula(String, Map<String, Decimal>)
- Constructor for class hirondelle.formula.
Formula
Constructor for a formula containing variables.
Formula(String, Map<String, Decimal>, Map<String, Function>)
- Constructor for class hirondelle.formula.
Formula
Full constructor, taking all possible parameters.
from(String)
- Static method in class hirondelle.formula.
Decimal
Convenience factory method.
from(long)
- Static method in class hirondelle.formula.
Decimal
Convenience factory method.
from(double)
- Static method in class hirondelle.formula.
Decimal
Convenience factory method.
Function
- Interface in
hirondelle.formula.function
The fundamental interface implemented by all functions.
FunctionDefinedInText
- Class in
hirondelle.formula.function
Define a custom function at runtime, using simple text.
FunctionDefinedInText(String)
- Constructor for class hirondelle.formula.function.
FunctionDefinedInText
Constructor.
G
getAmount()
- Method in class hirondelle.formula.
Decimal
Return the amount as a BigDecimal.
getAnswer()
- Method in class hirondelle.formula.
Formula
Evaluate the formula, and return the answer as a number.
getCustomFunctions()
- Method in class hirondelle.formula.
Formula
Return the Map of custom functions passed to the constructor, if any.
getDefaultFunctions()
- Static method in class hirondelle.formula.
Formula
Return all built-in functions, in a mutable Map, whose key is the name of the function as it appears in a formula.
getFormula()
- Method in class hirondelle.formula.
Formula
Return the text of the formula passed to the constructor.
getFunctionNames()
- Method in class hirondelle.formula.
Formula
Return the names of all functions appearing in the formula, if any.
getName()
- Method in class hirondelle.formula.function.
FunctionDefinedInText
Return the name of the function.
getNumDecimals()
- Method in class hirondelle.formula.
Decimal
Return the number of decimals in this value.
getUnknownFunctionNames()
- Method in class hirondelle.formula.
Formula
Return the names of all functions appearing in the formula which
aren't
recognized, if any.
getUnpopulatedVariableNames()
- Method in class hirondelle.formula.
Formula
Return the names of all variables appearing in the formula which
aren't
populated, if any.
getVariableNames()
- Method in class hirondelle.formula.
Formula
Return the names of all variables appearing in the formula, if any.
getVariableValues()
- Method in class hirondelle.formula.
Formula
Return the Map of variable values passed to the constructor, if any.
gt(Decimal)
- Method in class hirondelle.formula.
Decimal
Greater than.
gt(long)
- Method in class hirondelle.formula.
Decimal
gt(double)
- Method in class hirondelle.formula.
Decimal
gteq(Decimal)
- Method in class hirondelle.formula.
Decimal
Greater than or equal to.
gteq(long)
- Method in class hirondelle.formula.
Decimal
gteq(double)
- Method in class hirondelle.formula.
Decimal
H
hashCode()
- Method in class hirondelle.formula.
Decimal
hasUnknownFunctionNames()
- Method in class hirondelle.formula.
Formula
Return true only if the formula has at least one unknown function name.
hasUnpopulatedVariables()
- Method in class hirondelle.formula.
Formula
Return true only if the formula has at least one variable which has
not
been populated.
hasVariables()
- Method in class hirondelle.formula.
Formula
Return true only if the formula has at least one variable.
hirondelle.formula
- package hirondelle.formula
The main items in the Formula4J API.
hirondelle.formula.demo
- package hirondelle.formula.demo
Simple demo GUI app, used to evaluate formulas with Formula4j.
hirondelle.formula.function
- package hirondelle.formula.function
Functions, both built-in and custom.
hirondelle.formula.function.builtin
- package hirondelle.formula.function.builtin
The built-in functions provided with Formula4J.
HyperbolicCosine
- Class in
hirondelle.formula.function.builtin
cosh(x): the hyperbolic cosine of a number.
HyperbolicCosine()
- Constructor for class hirondelle.formula.function.builtin.
HyperbolicCosine
HyperbolicSine
- Class in
hirondelle.formula.function.builtin
sinh(x): the hyperbolic sine of a number.
HyperbolicSine()
- Constructor for class hirondelle.formula.function.builtin.
HyperbolicSine
HyperbolicTangent
- Class in
hirondelle.formula.function.builtin
tanh(x): the hyperbolic tangent of a number.
HyperbolicTangent()
- Constructor for class hirondelle.formula.function.builtin.
HyperbolicTangent
I
integer(Decimal, String)
- Static method in class hirondelle.formula.function.
Check
Verify that the given value has no fractional value (has no decimals).
intValue()
- Method in class hirondelle.formula.
Decimal
Required by
Number
.
Investment
- Class in
hirondelle.formula.function.builtin
invest(principal, interest-rate, years, times-per-year): compound interest on an investment.
Investment()
- Constructor for class hirondelle.formula.function.builtin.
Investment
isInteger()
- Method in class hirondelle.formula.
Decimal
Return
true
only if this Decimal is an integer.
isMinus()
- Method in class hirondelle.formula.
Decimal
Return
true
only if the amount is negative.
isPlus()
- Method in class hirondelle.formula.
Decimal
Return
true
only if the amount is positive.
isZero()
- Method in class hirondelle.formula.
Decimal
Return
true
only if the amount is zero.
J
JulianDate
- Class in
hirondelle.formula.function.builtin
jd(year, month, day): the Julian Date of a calendar date.
JulianDate()
- Constructor for class hirondelle.formula.function.builtin.
JulianDate
L
LoanPayment
- Class in
hirondelle.formula.function.builtin
pmt(principal,interest,months): monthly payment needed to pay back a loan or mortgage.
LoanPayment()
- Constructor for class hirondelle.formula.function.builtin.
LoanPayment
LogBase10
- Class in
hirondelle.formula.function.builtin
log(x): log base 10 of a positive number.
LogBase10()
- Constructor for class hirondelle.formula.function.builtin.
LogBase10
longValue()
- Method in class hirondelle.formula.
Decimal
Required by
Number
.
lt(Decimal)
- Method in class hirondelle.formula.
Decimal
Less than.
lt(long)
- Method in class hirondelle.formula.
Decimal
lt(double)
- Method in class hirondelle.formula.
Decimal
lteq(Decimal)
- Method in class hirondelle.formula.
Decimal
Less than or equal to.
lteq(long)
- Method in class hirondelle.formula.
Decimal
lteq(double)
- Method in class hirondelle.formula.
Decimal
M
main(String...)
- Static method in class hirondelle.formula.demo.
MainGui
Run this tool (no parameters are required).
MainGui
- Class in
hirondelle.formula.demo
Simple harness for testing formulas.
MainGui()
- Constructor for class hirondelle.formula.demo.
MainGui
MalformedFormulaException
- Exception in
hirondelle.formula
A formula doesn't have the proper syntax.
Max
- Class in
hirondelle.formula.function.builtin
max(x1, x2, x3, ...): the maximum value in a set of numbers.
Max()
- Constructor for class hirondelle.formula.function.builtin.
Max
Median
- Class in
hirondelle.formula.function.builtin
median(x1,x2,x3,...): the median of a set of numbers.
Median()
- Constructor for class hirondelle.formula.function.builtin.
Median
Min
- Class in
hirondelle.formula.function.builtin
min(x1, x2, x3, ...): the minimum value in a set of numbers.
Min()
- Constructor for class hirondelle.formula.function.builtin.
Min
minus(Decimal)
- Method in class hirondelle.formula.
Decimal
Subtract
aThat
Decimal
from this
Decimal
.
minus(long)
- Method in class hirondelle.formula.
Decimal
minus(double)
- Method in class hirondelle.formula.
Decimal
MINUS_ONE
- Static variable in class hirondelle.formula.
Decimal
Convenience constant.
ModifiedJulianDate
- Class in
hirondelle.formula.function.builtin
mjd(year, month, day): the Modified Julian Date of a calendar date.
ModifiedJulianDate()
- Constructor for class hirondelle.formula.function.builtin.
ModifiedJulianDate
N
NaturalLog
- Class in
hirondelle.formula.function.builtin
ln(x): natural log of a positive number.
NaturalLog()
- Constructor for class hirondelle.formula.function.builtin.
NaturalLog
negate()
- Method in class hirondelle.formula.
Decimal
Return this amount x (-1).
negative(Decimal, String)
- Static method in class hirondelle.formula.function.
Check
Verify that the given value is less than 0.
nonNegative(Decimal, String)
- Static method in class hirondelle.formula.function.
Check
Verify that the given value is greater than or equal to 0.
nonPositive(Decimal, String)
- Static method in class hirondelle.formula.function.
Check
Verify that the given value is less than or equal to 0.
numArgs(int, Decimal...)
- Static method in class hirondelle.formula.function.
Check
Verify that the number of arguments passed to the function matches an expected value.
O
ONE
- Static variable in class hirondelle.formula.
Decimal
Convenience constant.
oneArg(Decimal...)
- Static method in class hirondelle.formula.function.
Check
Verify that the function has been passed exactly 1 argument.
P
Permutation
- Class in
hirondelle.formula.function.builtin
permutation(n,k): the number of permutations, selecting k of n.
Permutation()
- Constructor for class hirondelle.formula.function.builtin.
Permutation
PI
- Static variable in class hirondelle.formula.
Decimal
An approximation to the number pi, to 15 decimal places.
plus(Decimal)
- Method in class hirondelle.formula.
Decimal
Add
aThat
Decimal
to this
Decimal
.
plus(long)
- Method in class hirondelle.formula.
Decimal
plus(double)
- Method in class hirondelle.formula.
Decimal
PopulationStandardDeviation
- Class in
hirondelle.formula.function.builtin
pstdev(x1, x2, x3, ...): the population standard deviation of a set of 2 or more numbers.
PopulationStandardDeviation()
- Constructor for class hirondelle.formula.function.builtin.
PopulationStandardDeviation
positive(Decimal, String)
- Static method in class hirondelle.formula.function.
Check
Verify that the given value is greater than 0.
positiveInteger(Decimal, String)
- Static method in class hirondelle.formula.function.
Check
Verify that the given value is both greater than 0, and has no fractional value (has no decimals).
pow(int)
- Method in class hirondelle.formula.
Decimal
Raise this number to an
integral
power; the power can be of either sign.
pow(double)
- Method in class hirondelle.formula.
Decimal
This implementation uses
Math.pow(double, double)
.
pow(Decimal)
- Method in class hirondelle.formula.
Decimal
Raise this Decimal to a Decimal power.
Power
- Class in
hirondelle.formula.function.builtin
pow(x,y): raise x to the power y.
Power()
- Constructor for class hirondelle.formula.function.builtin.
Power
R
Radians
- Class in
hirondelle.formula.function.builtin
rad(x): convert degrees to radians.
Radians()
- Constructor for class hirondelle.formula.function.builtin.
Radians
RandomGaussian
- Class in
hirondelle.formula.function.builtin
randg(mean, variance): a pseudo-random number with a gaussian distribution.
RandomGaussian()
- Constructor for class hirondelle.formula.function.builtin.
RandomGaussian
RandomNumber
- Class in
hirondelle.formula.function.builtin
rand(x): a pseudo-random number in a certain range.
RandomNumber()
- Constructor for class hirondelle.formula.function.builtin.
RandomNumber
range(Decimal, String, Decimal, Decimal)
- Static method in class hirondelle.formula.function.
Check
Verify that the given value is in a given range (inclusive).
round()
- Method in class hirondelle.formula.
Decimal
Round to an integer value, using the default
Decimal.ROUNDING
style.
round(int)
- Method in class hirondelle.formula.
Decimal
Round to 0 or more decimal places, using the default
Decimal.ROUNDING
style.
round(int, RoundingMode)
- Method in class hirondelle.formula.
Decimal
Round to 0 or more decimal places, using the given rounding style.
Round
- Class in
hirondelle.formula.function.builtin
round(x): round to 0 or more decimals.
Round()
- Constructor for class hirondelle.formula.function.builtin.
Round
round2(Decimal)
- Method in class hirondelle.formula.
Decimal
Round a number to the nearest multiple of the given interval.
round2(long)
- Method in class hirondelle.formula.
Decimal
round2(double)
- Method in class hirondelle.formula.
Decimal
ROUNDING
- Static variable in class hirondelle.formula.
Decimal
The default rounding mode used by this class (half-even).
S
SampleStandardDeviation
- Class in
hirondelle.formula.function.builtin
sstdev(x1, x2, x3, ...): the sample standard deviation of a set of 2 or more numbers.
SampleStandardDeviation()
- Constructor for class hirondelle.formula.function.builtin.
SampleStandardDeviation
Sign
- Class in
hirondelle.formula.function.builtin
sign(x): the sign of a number.
Sign()
- Constructor for class hirondelle.formula.function.builtin.
Sign
Sine
- Class in
hirondelle.formula.function.builtin
sin(x): the sine of an angle.
Sine()
- Constructor for class hirondelle.formula.function.builtin.
Sine
SquareRoot
- Class in
hirondelle.formula.function.builtin
sqrt(x): the square root of a number.
SquareRoot()
- Constructor for class hirondelle.formula.function.builtin.
SquareRoot
sum(Collection<Decimal>)
- Static method in class hirondelle.formula.
Decimal
Sum a collection of
Decimal
objects.
Sum
- Class in
hirondelle.formula.function.builtin
sum(x1, x2, x3, ...): the sum of a set of numbers.
Sum()
- Constructor for class hirondelle.formula.function.builtin.
Sum
T
Tangent
- Class in
hirondelle.formula.function.builtin
tan(x): the tangent of an angle.
Tangent()
- Constructor for class hirondelle.formula.function.builtin.
Tangent
times(Decimal)
- Method in class hirondelle.formula.
Decimal
Multiply this
Decimal
by a factor.
times(long)
- Method in class hirondelle.formula.
Decimal
times(double)
- Method in class hirondelle.formula.
Decimal
toString()
- Method in class hirondelle.formula.
Decimal
Renders this
Decimal
in a style suitable for debugging.
twoArgs(Decimal...)
- Static method in class hirondelle.formula.function.
Check
Verify that the function has been passed exactly 2 arguments.
U
UnknownFunctionException
- Exception in
hirondelle.formula
A formula contains a function that's not defined.
UnknownFunctionException(String...)
- Constructor for exception hirondelle.formula.
UnknownFunctionException
UnpopulatedVariableException
- Exception in
hirondelle.formula
A formula contains a variable that hasn't been assigned a value.
UnpopulatedVariableException(String...)
- Constructor for exception hirondelle.formula.
UnpopulatedVariableException
W
Weekday
- Class in
hirondelle.formula.function.builtin
weekday(year, month, day): the day of the week for the given calendar day.
Weekday()
- Constructor for class hirondelle.formula.function.builtin.
Weekday
Z
ZERO
- Static variable in class hirondelle.formula.
Decimal
Zero
Decimal
amount, a simple convenience constant.
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
W
Z
Overview
Package
Class
Tree
Deprecated
Index
Help
Formula 1.0.0
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright Hirondelle Systems. Published January 31, 2013