A  C  D  E  F  G  H  I  K  L  M  N  O  P  R  S  T  V  Y 

A

acos(double) - Static method in class com .bric .math . MathG
Returns an approximate value of the acos(v) that should be within plus-or-minus .00004 of the value returned by Math.acos().
add(Length) - Method in class com .bric .math . Length
Add the argument to this Length object.

C

ceilDouble(double) - Static method in class com .bric .math . MathG
Finds the closest integer that is greater than or equal to the argument as a double.
ceilInt(double) - Static method in class com .bric .math . MathG
Finds the closest integer that is greater than or equal to the argument as an int.
CENTIMETER - Static variable in class com .bric .math . Length
The unit definition of a centimeter.
clone() - Method in class com .bric .math . Length
 
clone() - Method in class com .bric .math . MutableInteger
 
clone() - Method in class com .bric .math . MutableLong
 
com.bric.math - package com.bric.math
 
com.bric.math.function - package com.bric.math.function
 
compareTo(Length) - Method in class com .bric .math . Length
Compares the distance of this Length object with another.
compareTo(Number) - Method in class com .bric .math . MutableDouble
 
compareTo(Number) - Method in class com .bric .math . MutableInteger
 
compareTo(Number) - Method in class com .bric .math . MutableLong
 
ComparisonException(String) - Constructor for exception com .bric .math . MutableDouble.ComparisonException
 
ConstantFunction - Class in com.bric.math.function
 
ConstantFunction(double) - Constructor for class com .bric .math .function . ConstantFunction
 
cos00004(double) - Static method in class com .bric .math . MathG
Returns an approximate value of the cos(v) that should be within plus-or-minus .00004 of the value returned by Math.cos().
cos01(double) - Static method in class com .bric .math . MathG
Returns an approximate value of the cos(v) that should be within plus-or-minus .0108 of the value returned by Math.cos().
create(Function, Function, double, double, int) - Static method in class com .bric .math .function . PiecewiseFunction
This creates a PiecewiseFunction that resembles another function.
createFit(double, double, double, double) - Static method in class com .bric .math .function . PolynomialFunction
Creates a linear PolynomialFunction that passes through the two points provided.
createFit(double[], double[]) - Static method in class com .bric .math .function . PolynomialFunction
Creates a PolynomialFunction that uses the coordinates provided.
createFit(double[], double[], double[]) - Static method in class com .bric .math .function . PolynomialFunction
Creates a PolynomialFunction that uses the coordinates provided.

D

DECIMETER - Static variable in class com .bric .math . Length
The unit definition of a decimeter.
DivideByZeroException() - Constructor for exception com .bric .math . MathException.DivideByZeroException
 
DivideByZeroException(String, Throwable, boolean, boolean) - Constructor for exception com .bric .math . MathException.DivideByZeroException
 
DivideByZeroException(String, Throwable) - Constructor for exception com .bric .math . MathException.DivideByZeroException
 
DivideByZeroException(String) - Constructor for exception com .bric .math . MathException.DivideByZeroException
 
DivideByZeroException(Throwable) - Constructor for exception com .bric .math . MathException.DivideByZeroException
 
doubleValue() - Method in class com .bric .math . MutableDouble
 
doubleValue() - Method in class com .bric .math . MutableInteger
 
doubleValue() - Method in class com .bric .math . MutableLong
 

E

equals(Object) - Method in class com .bric .math . Length
This returns true if two Length objects measure the same distance, regardless of their units.
equals(Object) - Method in class com .bric .math . Length.Unit
 
equals(Object) - Method in class com .bric .math . MutableDouble
 
equals(Object) - Method in class com .bric .math . MutableInteger
 
equals(Object) - Method in class com .bric .math . MutableLong
 
Equations - Class in com.bric.math
This contains a static method to solve a system of simple linear equations.
Equations() - Constructor for class com .bric .math . Equations
 
evaluate(double) - Method in class com .bric .math .function . ConstantFunction
 
evaluate(double) - Method in interface com .bric .math .function . Function
Evaluates f(x).
evaluate(double) - Method in class com .bric .math .function . PiecewiseFunction
 
evaluate(double) - Method in class com .bric .math .function . PolynomialFunction
 
evaluateInverse(double) - Method in class com .bric .math .function . ConstantFunction
 
evaluateInverse(double) - Method in interface com .bric .math .function . Function
Returns all the x-values for the equation f(x) = y.
evaluateInverse(double) - Method in class com .bric .math .function . PiecewiseFunction
 
evaluateInverse(double) - Method in class com .bric .math .function . PolynomialFunction
Solve this polynomial function by recursive exploring all the derivatives and strategically applying Newton's Method.

F

floatValue() - Method in class com .bric .math . MutableDouble
 
floatValue() - Method in class com .bric .math . MutableInteger
 
floatValue() - Method in class com .bric .math . MutableLong
 
floorDouble(double) - Static method in class com .bric .math . MathG
Finds the closest integer that is less than or equal to the argument as a double.
floorInt(double) - Static method in class com .bric .math . MathG
Finds the closest integer that is less than or equal to the argument as an int.
FOOT - Static variable in class com .bric .math . Length
The unit definition of a foot.
Function - Interface in com.bric.math.function
This is a simple mathematical function: f(x)

G

get(long) - Static method in class com .bric .math . PrimeFactors
Return the prime factors a number.
getAbbreviation() - Method in class com .bric .math . Length.Unit
 
getDerivative() - Method in class com .bric .math .function . PolynomialFunction
 
getFunction(int) - Method in class com .bric .math .function . PiecewiseFunction
 
getFunctionCount() - Method in class com .bric .math .function . PiecewiseFunction
 
getPrimeNumbers(int) - Static method in class com .bric .math . PrimeFactors
Return the first several prime numbers.
getUnit() - Method in class com .bric .math . Length
Returns the unit of this Length object.
getUnitByName(String) - Static method in class com .bric .math . Length
Returns a unit associated with a given name.
getUnits() - Static method in class com .bric .math . Length
Returns all the available units.
getValue(Length.Unit) - Method in class com .bric .math . Length
Returns the numeric value of this distance in the unit specified.

H

hashCode() - Method in class com .bric .math . Length.Unit
 
hashCode() - Method in class com .bric .math . MutableDouble
 
hashCode() - Method in class com .bric .math . MutableInteger
 
hashCode() - Method in class com .bric .math . MutableLong
 

I

INCH - Static variable in class com .bric .math . Length
The unit definition of an inch.
intValue() - Method in class com .bric .math . MutableDouble
 
intValue() - Method in class com .bric .math . MutableInteger
 
intValue() - Method in class com .bric .math . MutableLong
 

K

KILOMETER - Static variable in class com .bric .math . Length
The unit definition of a kilometer.

L

Length - Class in com.bric.math
This is a measure of length.
Length(double, Length.Unit) - Constructor for class com .bric .math . Length
Create a new Length object.
Length(Length) - Constructor for class com .bric .math . Length
Clones a Length object.
Length.Unit - Class in com.bric.math
A unit of measurement for length.
longValue() - Method in class com .bric .math . MutableDouble
 
longValue() - Method in class com .bric .math . MutableInteger
 
longValue() - Method in class com .bric .math . MutableLong
 

M

MathException - Exception in com.bric.math
A collection of exceptions related to math.
MathException() - Constructor for exception com .bric .math . MathException
 
MathException(String, Throwable, boolean, boolean) - Constructor for exception com .bric .math . MathException
 
MathException(String, Throwable) - Constructor for exception com .bric .math . MathException
 
MathException(String) - Constructor for exception com .bric .math . MathException
 
MathException(Throwable) - Constructor for exception com .bric .math . MathException
 
MathException.DivideByZeroException - Exception in com.bric.math
 
MathException.NegativeException - Exception in com.bric.math
An exception used when an operand or calculation involves a negative number and it shouldn't.
MathException.NonIntegerException - Exception in com.bric.math
 
MathException.OverflowException - Exception in com.bric.math
An exception used when an operation results in overflow.
MathG - Class in com.bric.math
This provides some alternative implementations of a few methods from the Math class.
MathG() - Constructor for class com .bric .math . MathG
 
METER - Static variable in class com .bric .math . Length
The unit definition of a meter.
MICROMETER - Static variable in class com .bric .math . Length
The unit definition of a micrometer.
MILE - Static variable in class com .bric .math . Length
The unit definition of a mile.
MILLIMETER - Static variable in class com .bric .math . Length
The unit definition of a millimeter.
MutableDouble - Class in com.bric.math
This Number can change value, so for operations that need to be computed millions of times, recycling 1 object will save a lot of memory allocation.
MutableDouble() - Constructor for class com .bric .math . MutableDouble
 
MutableDouble(double) - Constructor for class com .bric .math . MutableDouble
 
MutableDouble.ComparisonException - Exception in com.bric.math
 
MutableInteger - Class in com.bric.math
This Number can change value, so for operations that need to be computed millions of times, recycling 1 object will save a lot of memory allocation.
MutableInteger() - Constructor for class com .bric .math . MutableInteger
 
MutableInteger(int) - Constructor for class com .bric .math . MutableInteger
 
MutableLong - Class in com.bric.math
This Number can change value, so for operations that need to be computed millions of times, recycling 1 object will save a lot of memory allocation.
MutableLong() - Constructor for class com .bric .math . MutableLong
 
MutableLong(long) - Constructor for class com .bric .math . MutableLong
 

N

NegativeException() - Constructor for exception com .bric .math . MathException.NegativeException
 
NegativeException(String, Throwable, boolean, boolean) - Constructor for exception com .bric .math . MathException.NegativeException
 
NegativeException(String, Throwable) - Constructor for exception com .bric .math . MathException.NegativeException
 
NegativeException(String) - Constructor for exception com .bric .math . MathException.NegativeException
 
NegativeException(Throwable) - Constructor for exception com .bric .math . MathException.NegativeException
 
NonIntegerException() - Constructor for exception com .bric .math . MathException.NonIntegerException
 
NonIntegerException(String, Throwable, boolean, boolean) - Constructor for exception com .bric .math . MathException.NonIntegerException
 
NonIntegerException(String, Throwable) - Constructor for exception com .bric .math . MathException.NonIntegerException
 
NonIntegerException(String) - Constructor for exception com .bric .math . MathException.NonIntegerException
 
NonIntegerException(Throwable) - Constructor for exception com .bric .math . MathException.NonIntegerException
 

O

OverflowException() - Constructor for exception com .bric .math . MathException.OverflowException
 
OverflowException(String, Throwable, boolean, boolean) - Constructor for exception com .bric .math . MathException.OverflowException
 
OverflowException(String, Throwable) - Constructor for exception com .bric .math . MathException.OverflowException
 
OverflowException(String) - Constructor for exception com .bric .math . MathException.OverflowException
 
OverflowException(Throwable) - Constructor for exception com .bric .math . MathException.OverflowException
 

P

PiecewiseFunction - Class in com.bric.math.function
This function pieces several separate functions together.
PiecewiseFunction(Function[], double[]) - Constructor for class com .bric .math .function . PiecewiseFunction
Creates a new PiecewiseFunction.
PolynomialFunction - Class in com.bric.math.function
This function evaluates a polynomial expression.
PolynomialFunction(double[]) - Constructor for class com .bric .math .function . PolynomialFunction
Create a new PolynomialFunction.
PrimeFactors - Class in com.bric.math
Static methods related to prime factors.
PrimeFactors() - Constructor for class com .bric .math . PrimeFactors
 

R

roundDouble(double) - Static method in class com .bric .math . MathG
Rounds a double to the nearest integer value.
roundInt(double) - Static method in class com .bric .math . MathG
Rounds a double to the nearest integer value.

S

setFunction(int, Function) - Method in class com .bric .math .function . PiecewiseFunction
 
setUnit(Length.Unit) - Method in class com .bric .math . Length
Changes the unit of this length, but the actual distance measured remains the same.
setValue(double, Length.Unit) - Method in class com .bric .math . Length
Redefine this Length object.
sin00004(double) - Static method in class com .bric .math . MathG
Returns an approximate value of the sin(v) that should be within plus-or-minus .00004 of the value returned by Math.sin().
sin01(double) - Static method in class com .bric .math . MathG
Returns an approximate value of the sin(v) that should be within plus-or-minus .0108 of the value returned by Math.sin().
solve(double[][]) - Static method in class com .bric .math . Equations
Given a matrix of variable coefficients for a linear system of equations, this will solve for each variable.
solve(BigDecimal[][]) - Static method in class com .bric .math . Equations
Given a matrix of variable coefficients for a linear system of equations, this will solve for each variable.
solve(double[][], boolean) - Static method in class com .bric .math . Equations
Given a matrix of variable coefficients for a linear system of equations, this will solve for each variable.
solve(BigDecimal[][], boolean) - Static method in class com .bric .math . Equations
Given a matrix of variable coefficients for a linear system of equations, this will solve for each variable.
solve() - Method in class com .bric .math .function . PolynomialFunction
Calls evaluateInverse(0)
subtract(Length) - Method in class com .bric .math . Length
Subtracts the argument from this Length object.

T

toString(double[][]) - Static method in class com .bric .math . Equations
 
toString(double[]) - Static method in class com .bric .math . Equations
 
toString(BigDecimal[][]) - Static method in class com .bric .math . Equations
 
toString(BigDecimal[]) - Static method in class com .bric .math . Equations
 
toString() - Method in class com .bric .math .function . PiecewiseFunction
 
toString() - Method in class com .bric .math .function . PolynomialFunction
 
toString() - Method in class com .bric .math . Length
Returns the value of this length followed by the unit abbreviation.
toString() - Method in class com .bric .math . MutableDouble
 
toString() - Method in class com .bric .math . MutableInteger
 
toString() - Method in class com .bric .math . MutableLong
 

V

value - Variable in class com .bric .math . MutableDouble
 
value - Variable in class com .bric .math . MutableInteger
 
value - Variable in class com .bric .math . MutableLong
 
VERBOSE_EXCEPTIONS - Static variable in class com .bric .math . Equations
Generating the text in certain exceptions is not a trivial task if you expect those exceptions to be called millions of times.

Y

YARD - Static variable in class com .bric .math . Length
The unit definition of a yard.
A  C  D  E  F  G  H  I  K  L  M  N  O  P  R  S  T  V  Y