Index

A C D E F G H I K L M N O Q R S T U V Z 
All Classes and Interfaces|All Packages|Serialized Form

A

accept(int, int) - Method in interface org.anchoranalysis.math.histogram.Histogram.BinConsumer
Accepts a particular bin and corresponding count.
add(double) - Method in class org.anchoranalysis.math.arithmetic.RunningSumExtrema
Adds a value to the running-sum, also remembering if value is the minimum or maximum of calls to this method.
add(double) - Method in class org.anchoranalysis.math.statistics.VarianceCalculatorDouble
Adds a value to the running sum.
add(int) - Method in class org.anchoranalysis.math.statistics.VarianceCalculatorLong
Adds a value to the running sum.
add(int, int) - Method in class org.anchoranalysis.math.statistics.VarianceCalculatorLong
Adds a multiple instances of a value to the running sum.
add(RunningSum) - Method in class org.anchoranalysis.math.arithmetic.RunningSum
Adds the values of another RunningSum to the current values.
addHistogram(Histogram) - Method in class org.anchoranalysis.math.histogram.Histogram
Adds the counts from another histogram to the current object.
areEqual(double, double) - Static method in class org.anchoranalysis.math.arithmetic.DoubleUtilities
Are the two numbers equal, within a tolerance?
areEqual(float, float) - Static method in class org.anchoranalysis.math.arithmetic.FloatUtilities
Are the two numbers equal?

C

calculate(int) - Method in interface org.anchoranalysis.math.optimization.SearchClosestValueMonoticallyIncreasing.ValueFunction
Calculate the output value, for a particular input-value.
calculateMaximum() - Method in class org.anchoranalysis.math.histogram.Histogram
Calculates the maximum value with non zero-count among the histogram values.
calculateMinimum() - Method in class org.anchoranalysis.math.histogram.Histogram
Calculates the minimum value with non zero-count among the histogram values.
calculateMode() - Method in class org.anchoranalysis.math.histogram.Histogram
Calculates the mode of the histogram values.
calculateSum() - Method in class org.anchoranalysis.math.histogram.Histogram
Calculates the sum of all values in the distribution considering their counts.
calculateSumCubes() - Method in class org.anchoranalysis.math.histogram.Histogram
Calculates the cube of the squares of all values in the distribution considering their counts.
calculateSumSquares() - Method in class org.anchoranalysis.math.histogram.Histogram
Calculates the sum of the squares of all values in the distribution considering their counts.
calculateZScore(double, double, double) - Static method in class org.anchoranalysis.math.statistics.ZScoreCalculator
Calculates a Z-Score for a particular value and parameterization.
canEqual(Object) - Method in class org.anchoranalysis.math.equation.QuadraticEquationSolver.QuadraticRoots
 
canEqual(Object) - Method in class org.anchoranalysis.math.statistics.MeanScale
 
coefficientOfVariation(Histogram) - Static method in class org.anchoranalysis.math.histogram.HistogramStatistics
Calculates the coefficient-of-variation of a distribution of values, represented by their histogram.
compareTo(EigenvalueAndVector) - Method in class org.anchoranalysis.math.statistics.moment.EigenvalueAndVector
 
computeInitialFeasibleSolution() - Method in class org.anchoranalysis.math.optimization.HungarianAlgorithm
Compute an initial feasible solution by assigning zero labels to the workers and by assigning to each job a label equal to the minimum cost among its incident edges.
Counter - Class in org.anchoranalysis.math.arithmetic
A simple counter that increments.
Counter() - Constructor for class org.anchoranalysis.math.arithmetic.Counter
 
Counter(int) - Constructor for class org.anchoranalysis.math.arithmetic.Counter
Creates a new Counter instance.
countMatching(IntPredicate) - Method in class org.anchoranalysis.math.histogram.Histogram
Gets the total count of all values that match a predicate.
cropRemoveLargerValues(long) - Method in class org.anchoranalysis.math.histogram.Histogram
Like Histogram.cropRemoveSmallerValues(long) but larger values are removed rather than smaller values if the total count is too high.
cropRemoveSmallerValues(long) - Method in class org.anchoranalysis.math.histogram.Histogram
Creates a Histogram reusing the bins in the current histogram, but with an upper limit on the total count.

D

decrement() - Method in class org.anchoranalysis.math.arithmetic.Counter
Decreases the counter by one.
divideByZeroReplace(double, double, double) - Static method in class org.anchoranalysis.math.arithmetic.DoubleUtilities
Replaces a value with a constant if the denominator is 0.
DoubleBiPredicate - Interface in org.anchoranalysis.math.relation
Like BiPredicate but operates on doubles.
DoubleUtilities - Class in org.anchoranalysis.math.arithmetic
Utilities for arithmetic operations involving type double.
duplicate() - Method in class org.anchoranalysis.math.arithmetic.RunningSum
Deep-copy.
duplicate() - Method in class org.anchoranalysis.math.histogram.Histogram
Creates a deep-copy of the current object.
duplicate() - Method in class org.anchoranalysis.math.statistics.moment.EigenvalueAndVector
Creates a deep-copy of the current object.
duplicate() - Method in class org.anchoranalysis.math.statistics.moment.ImageMoments
Creates a deep-copy of the current object.

E

EigenvalueAndVector - Class in org.anchoranalysis.math.statistics.moment
An eigenvalue and its corresponding eigenvector.
EigenvalueAndVector(double, DoubleMatrix1D) - Constructor for class org.anchoranalysis.math.statistics.moment.EigenvalueAndVector
Creates a new EigenvalueAndVector instance.
equals(Object) - Method in class org.anchoranalysis.math.equation.QuadraticEquationSolver.QuadraticRoots
 
equals(Object) - Method in class org.anchoranalysis.math.statistics.MeanScale
 
equals(Object) - Method in class org.anchoranalysis.math.statistics.moment.EigenvalueAndVector
 
EqualTo - Class in org.anchoranalysis.math.relation
Returns true if two values are equal, and false otherwise.
EqualTo() - Constructor for class org.anchoranalysis.math.relation.EqualTo
 
execute() - Method in class org.anchoranalysis.math.optimization.HungarianAlgorithm
Execute the algorithm.
executePhase() - Method in class org.anchoranalysis.math.optimization.HungarianAlgorithm
Execute a single phase of the algorithm.

F

fetchUnmatchedWorker() - Method in class org.anchoranalysis.math.optimization.HungarianAlgorithm
 
findOptimalInput(int) - Method in class org.anchoranalysis.math.optimization.SearchClosestValueMonoticallyIncreasing
Finds the input value that produces a calculated-value that is closest to target.
FloatUtilities - Class in org.anchoranalysis.math.arithmetic
Utilities for arithmetic operations involving type float.

G

get(int) - Method in class org.anchoranalysis.math.arithmetic.RunningSumCollection
An individual item in the collection.
get(int) - Method in class org.anchoranalysis.math.statistics.moment.ImageMoments
Get an eigenvalue and corresponding eigenvector for a particular axis.
getCount() - Method in class org.anchoranalysis.math.arithmetic.Counter
The count, as per current state.
getCount() - Method in class org.anchoranalysis.math.arithmetic.RunningSum
The running count.
getCount() - Method in class org.anchoranalysis.math.statistics.VarianceCalculatorDouble
The running count of values.
getCount() - Method in class org.anchoranalysis.math.statistics.VarianceCalculatorLong
The running count of values.
getCount(int) - Method in class org.anchoranalysis.math.histogram.Histogram
The count corresponding to a particular value.
getEigenvalue() - Method in class org.anchoranalysis.math.statistics.moment.EigenvalueAndVector
The eigenvalue.
getEigenvector() - Method in class org.anchoranalysis.math.statistics.moment.EigenvalueAndVector
The eigenvector corresponding to eigenvalue.
getMaxValue() - Method in class org.anchoranalysis.math.histogram.Histogram
Maximum possible value in the histogram (inclusive).
getMean() - Method in class org.anchoranalysis.math.statistics.MeanScale
The mean.
getMean(int) - Method in class org.anchoranalysis.math.statistics.moment.ImageMoments
Get the mean-value for a particular axis.
getRoot1() - Method in class org.anchoranalysis.math.equation.QuadraticEquationSolver.QuadraticRoots
The first root.
getRoot2() - Method in class org.anchoranalysis.math.equation.QuadraticEquationSolver.QuadraticRoots
The second root.
getScale() - Method in class org.anchoranalysis.math.statistics.MeanScale
The scale, typically the standard-deviation.
getSum() - Method in class org.anchoranalysis.math.arithmetic.RunningSum
The running sum.
getTotalCount() - Method in class org.anchoranalysis.math.histogram.Histogram
The total count across values in the histogram.
GreaterThan - Class in org.anchoranalysis.math.relation
Returns true iff valueFirst is greater than valueSecond.
GreaterThan() - Constructor for class org.anchoranalysis.math.relation.GreaterThan
 
GreaterThanEqualTo - Class in org.anchoranalysis.math.relation
Returns true iff valueFirst is greater than or equal to valueSecond.
GreaterThanEqualTo() - Constructor for class org.anchoranalysis.math.relation.GreaterThanEqualTo
 
greedyMatch() - Method in class org.anchoranalysis.math.optimization.HungarianAlgorithm
Find a valid matching by greedily selecting among zero-cost matchings.

H

hashCode() - Method in class org.anchoranalysis.math.equation.QuadraticEquationSolver.QuadraticRoots
 
hashCode() - Method in class org.anchoranalysis.math.statistics.MeanScale
 
hashCode() - Method in class org.anchoranalysis.math.statistics.moment.EigenvalueAndVector
 
hasNonZeroCount(int) - Method in class org.anchoranalysis.math.histogram.Histogram
Whether at least one value, greater or equal to startMin has non-zero count?
Histogram - Class in org.anchoranalysis.math.histogram
A histogram of integer values.
Histogram(int) - Constructor for class org.anchoranalysis.math.histogram.Histogram
Constructs with a maximum value, and assuming a minimum value of 0.
Histogram(int, int) - Constructor for class org.anchoranalysis.math.histogram.Histogram
Constructs with a minimum and maximum value.
Histogram.BinConsumer - Interface in org.anchoranalysis.math.histogram
Consumes a bin and corresponding count.
HistogramStatistics - Class in org.anchoranalysis.math.histogram
Further statistics that can be derived from a histogram in addition to those existing as direct methods of Histogram.
HungarianAlgorithm - Class in org.anchoranalysis.math.optimization
An implementation of the Hungarian algorithm for solving the assignment problem.
HungarianAlgorithm(double[][]) - Constructor for class org.anchoranalysis.math.optimization.HungarianAlgorithm
Construct an instance of the algorithm.

I

ImageMoments - Class in org.anchoranalysis.math.statistics.moment
The first moment (mean) and eigenvalues of the second moments (covariance) from a matrix of points.
ImageMoments(DoubleMatrix2D, boolean, boolean) - Constructor for class org.anchoranalysis.math.statistics.moment.ImageMoments
Calculates the second-moments from the covariance of a matrix of points.
increment() - Method in class org.anchoranalysis.math.arithmetic.Counter
Increases the counter by one.
increment(double) - Method in class org.anchoranalysis.math.arithmetic.RunningSum
Adds a new item to the sum, and increments the count by 1.
increment(double, long) - Method in class org.anchoranalysis.math.arithmetic.RunningSum
Increments both the sum and count by particular values.
increment(RunningSum) - Method in class org.anchoranalysis.math.arithmetic.RunningSum
Increments (adds) an existing RunningSum to the current.
incrementBy(int) - Method in class org.anchoranalysis.math.arithmetic.Counter
Increases the counter by a specific value.
incrementReturn() - Method in class org.anchoranalysis.math.arithmetic.Counter
Increases the counter by one, returning the previous value.
incrementValue(int) - Method in class org.anchoranalysis.math.histogram.Histogram
Increments the count for a particular value by one.
incrementValueBy(int, int) - Method in class org.anchoranalysis.math.histogram.Histogram
Increments the count for a particular value.
incrementValueBy(int, long) - Method in class org.anchoranalysis.math.histogram.Histogram
Like Histogram.incrementValueBy(int, int) but accepts a long as the increase argument.
initializePhase(int) - Method in class org.anchoranalysis.math.optimization.HungarianAlgorithm
Initialize the next phase of the algorithm by clearing the committed workers and jobs sets and by initializing the slack arrays to the values corresponding to the specified root worker.
isEmpty() - Method in class org.anchoranalysis.math.histogram.Histogram
If no value exists in the histogram with a count greater than zero.
iterateValues(Histogram.BinConsumer) - Method in class org.anchoranalysis.math.histogram.Histogram
Calls consumer for every value, increasing from min to max.
iterateValuesUntil(int, Histogram.BinConsumer) - Method in class org.anchoranalysis.math.histogram.Histogram
Calls consumer for every value until a limit, increasing from min to limit.

K

kurtosis(Histogram) - Static method in class org.anchoranalysis.math.histogram.HistogramStatistics
Calculates the kurtosis of a distribution of values, represented by their histogram.

L

LessThan - Class in org.anchoranalysis.math.relation
Returns true iff valueFirst is less than valueSecond.
LessThan() - Constructor for class org.anchoranalysis.math.relation.LessThan
 
LessThanEqualTo - Class in org.anchoranalysis.math.relation
Returns true iff valueFirst is less than or equal to valueSecond.
LessThanEqualTo() - Constructor for class org.anchoranalysis.math.relation.LessThanEqualTo
 

M

match(int, int) - Method in class org.anchoranalysis.math.optimization.HungarianAlgorithm
Helper method to record a matching between worker w and job j.
max() - Method in class org.anchoranalysis.math.arithmetic.RunningSumExtrema
The maximum across all values passed to RunningSumExtrema.add(double) or Double.MIN_VALUE if the method was never called.
mean() - Method in class org.anchoranalysis.math.arithmetic.RunningSum
Calculates the mean.
mean() - Method in class org.anchoranalysis.math.arithmetic.RunningSumExtrema
Calculates the mean.
mean() - Method in class org.anchoranalysis.math.histogram.Histogram
Calculates the mean of the histogram values, considering their frequency.
mean() - Method in class org.anchoranalysis.math.statistics.VarianceCalculatorDouble
Calculate the mean, based on the current state of running-sums.
mean() - Method in class org.anchoranalysis.math.statistics.VarianceCalculatorLong
Calculate the mean, based on the current state of running-sums.
mean(double) - Method in class org.anchoranalysis.math.arithmetic.RunningSum
Calculates the mean.
mean(double) - Method in class org.anchoranalysis.math.histogram.Histogram
Calculates the mean of the values in the distribution, if each value is raised to a power.
mean(double, double) - Method in class org.anchoranalysis.math.histogram.Histogram
Like Histogram.mean(double) but a value may be subtracted before raising to a power.
meanAndReset() - Method in class org.anchoranalysis.math.arithmetic.RunningSum
Calculate the mean and then reset to zero.
meanAndReset() - Method in class org.anchoranalysis.math.arithmetic.RunningSumCollection
Calculate the mean of each item and reset to zero.
MeanScale - Class in org.anchoranalysis.math.statistics
Stores the mean and scale for a distribution.
MeanScale() - Constructor for class org.anchoranalysis.math.statistics.MeanScale
 
MeanScale(double, double) - Constructor for class org.anchoranalysis.math.statistics.MeanScale
Creates a new MeanScale instance.
min() - Method in class org.anchoranalysis.math.arithmetic.RunningSumExtrema
The minimum across all values passed to RunningSumExtrema.add(double) or Double.MAX_VALUE if the method was never called.

N

NotEqualTo - Class in org.anchoranalysis.math.relation
Returns true if two values are not equal, and false otherwise.
NotEqualTo() - Constructor for class org.anchoranalysis.math.relation.NotEqualTo
 

O

org.anchoranalysis.math.arithmetic - package org.anchoranalysis.math.arithmetic
Performing primitive type conversion, counting and summing.
org.anchoranalysis.math.equation - package org.anchoranalysis.math.equation
Solving or manipulating equations.
org.anchoranalysis.math.histogram - package org.anchoranalysis.math.histogram
The Histogram data class and related operations.
org.anchoranalysis.math.optimization - package org.anchoranalysis.math.optimization
org.anchoranalysis.math.relation - package org.anchoranalysis.math.relation
Different kinds of binary-relations.
org.anchoranalysis.math.statistics - package org.anchoranalysis.math.statistics
Data structures and algorithms to calculate statistics.
org.anchoranalysis.math.statistics.moment - package org.anchoranalysis.math.statistics.moment
Calculates first and second image moments from a covariance matrix of points.

Q

QuadraticEquationSolver - Class in org.anchoranalysis.math.equation
Solves a Quadratic Equation by finding non-complex roots.
QuadraticEquationSolver.QuadraticRoots - Class in org.anchoranalysis.math.equation
Roots (solution) of a quadratic equation.
QuadraticRoots(double, double) - Constructor for class org.anchoranalysis.math.equation.QuadraticEquationSolver.QuadraticRoots
Creates a new QuadraticRoots instance.
quantile(double) - Method in class org.anchoranalysis.math.histogram.Histogram
Calculates the corresponding value for a particular quantile in the distribution of values in the histogram.

R

reduce() - Method in class org.anchoranalysis.math.optimization.HungarianAlgorithm
Reduce the cost matrix by subtracting the smallest element of each row from all elements of the row as well as the smallest element of each column from all elements of the column.
removeBelowThreshold(int) - Method in class org.anchoranalysis.math.histogram.Histogram
All values less than threshold are removed.
removeClosestToUnitZ() - Method in class org.anchoranalysis.math.statistics.moment.ImageMoments
Removes the entry that is closest to having an eigenVector in direction (0,0,1).
reset() - Method in class org.anchoranalysis.math.arithmetic.RunningSum
Reset the sum and count to zero.
reset() - Method in class org.anchoranalysis.math.arithmetic.RunningSumCollection
Resets all items to zero.
reset() - Method in class org.anchoranalysis.math.histogram.Histogram
Sets the count for all values to 0.
RunningSum - Class in org.anchoranalysis.math.arithmetic
Mutable class that allows for incrementing jointly sum and count variables, so as to eventually calculate the mean.
RunningSum() - Constructor for class org.anchoranalysis.math.arithmetic.RunningSum
 
RunningSum(double, long) - Constructor for class org.anchoranalysis.math.arithmetic.RunningSum
Creates a new RunningSum instance.
RunningSumCollection - Class in org.anchoranalysis.math.arithmetic
A collection of RunningSum where an operation is executed on all objects in the collection.
RunningSumCollection(int) - Constructor for class org.anchoranalysis.math.arithmetic.RunningSumCollection
Constructor.
RunningSumExtrema - Class in org.anchoranalysis.math.arithmetic
Like a RunningSum but also remembers the mean and max across all the added values.
RunningSumExtrema() - Constructor for class org.anchoranalysis.math.arithmetic.RunningSumExtrema
 

S

SearchClosestValueMonoticallyIncreasing - Class in org.anchoranalysis.math.optimization
Given a monotonically increasing function of an integer, determine the input value that provides an output value as close to target as possible.
SearchClosestValueMonoticallyIncreasing(double, SearchClosestValueMonoticallyIncreasing.ValueFunction) - Constructor for class org.anchoranalysis.math.optimization.SearchClosestValueMonoticallyIncreasing
Create without an upper bound.
SearchClosestValueMonoticallyIncreasing(double, SearchClosestValueMonoticallyIncreasing.ValueFunction, IntPredicate) - Constructor for class org.anchoranalysis.math.optimization.SearchClosestValueMonoticallyIncreasing
Creates a new SearchClosestValueMonoticallyIncreasing instance.
SearchClosestValueMonoticallyIncreasing.ValueFunction - Interface in org.anchoranalysis.math.optimization
The function that calculates the output value for a particular input int.
setMean(double) - Method in class org.anchoranalysis.math.statistics.MeanScale
The mean.
setRoot1(double) - Method in class org.anchoranalysis.math.equation.QuadraticEquationSolver.QuadraticRoots
The first root.
setRoot2(double) - Method in class org.anchoranalysis.math.equation.QuadraticEquationSolver.QuadraticRoots
The second root.
setScale(double) - Method in class org.anchoranalysis.math.statistics.MeanScale
The scale, typically the standard-deviation.
size() - Method in class org.anchoranalysis.math.histogram.Histogram
The size of the range of values in the histogram.
skewness(Histogram) - Static method in class org.anchoranalysis.math.histogram.HistogramStatistics
Calculates the skewness of a distribution of values, represented by their histogram.
solveQuadraticEquation(double, double, double) - Static method in class org.anchoranalysis.math.equation.QuadraticEquationSolver
Solves a quadratic equation in form x^2 + b^x + c = 0.
standardDeviation() - Method in class org.anchoranalysis.math.histogram.Histogram
Calculates the standard-deviation of the distribution represented by the histogram.
subtract(VarianceCalculatorDouble) - Method in class org.anchoranalysis.math.statistics.VarianceCalculatorDouble
Subtracts the running-sums and count from another VarianceCalculatorDouble from the current object's state.
subtract(VarianceCalculatorLong) - Method in class org.anchoranalysis.math.statistics.VarianceCalculatorLong
Subtracts the running-sums and count from another VarianceCalculatorLong from the current object's state.

T

test(double, double) - Method in interface org.anchoranalysis.math.relation.DoubleBiPredicate
Considers the relationship between valueFirst and valueSecond.
test(double, double) - Method in class org.anchoranalysis.math.relation.EqualTo
 
test(double, double) - Method in class org.anchoranalysis.math.relation.GreaterThan
 
test(double, double) - Method in class org.anchoranalysis.math.relation.GreaterThanEqualTo
 
test(double, double) - Method in class org.anchoranalysis.math.relation.LessThan
 
test(double, double) - Method in class org.anchoranalysis.math.relation.LessThanEqualTo
 
test(double, double) - Method in class org.anchoranalysis.math.relation.NotEqualTo
 
threshold(DoublePredicate) - Method in class org.anchoranalysis.math.histogram.Histogram
Generates a new histogram containing only values that match a predicate.
toString() - Method in class org.anchoranalysis.math.equation.QuadraticEquationSolver.QuadraticRoots
 
toString() - Method in class org.anchoranalysis.math.histogram.Histogram
A string representation of what's in the histogram.
toString() - Method in class org.anchoranalysis.math.statistics.MeanScale
 
toString() - Method in class org.anchoranalysis.math.statistics.moment.EigenvalueAndVector
 
transferCount(int, int) - Method in class org.anchoranalysis.math.histogram.Histogram
Moves all count for a particular value and adds it to the count for another.

U

updateLabeling(double) - Method in class org.anchoranalysis.math.optimization.HungarianAlgorithm
Update labels with the specified slack by adding the slack value for committed workers and by subtracting the slack value for committed jobs.

V

variance() - Method in class org.anchoranalysis.math.histogram.Histogram
Calculates the variance of the distribution represented by the histogram.
variance() - Method in class org.anchoranalysis.math.statistics.VarianceCalculatorDouble
Calculate the variance, based on the current state of running-sums.
variance() - Method in class org.anchoranalysis.math.statistics.VarianceCalculatorLong
Calculate the variance, based on the current state of running-sums.
VarianceCalculatorDouble - Class in org.anchoranalysis.math.statistics
Calculates variance efficiently, as successive values are added, using double to store sums internally.
VarianceCalculatorDouble() - Constructor for class org.anchoranalysis.math.statistics.VarianceCalculatorDouble
 
VarianceCalculatorDouble(double, double, long) - Constructor for class org.anchoranalysis.math.statistics.VarianceCalculatorDouble
Creates a new VarianceCalculatorDouble instance.
VarianceCalculatorLong - Class in org.anchoranalysis.math.statistics
Calculates variance efficiently, as successive values are added, using long to store sums internally.
VarianceCalculatorLong() - Constructor for class org.anchoranalysis.math.statistics.VarianceCalculatorLong
 
VarianceCalculatorLong(long, long, long) - Constructor for class org.anchoranalysis.math.statistics.VarianceCalculatorLong
Creates a new VarianceCalculatorLong instance.

Z

zeroValue(int) - Method in class org.anchoranalysis.math.histogram.Histogram
Sets the count for a particular value to 0.
zScore(double) - Method in class org.anchoranalysis.math.statistics.MeanScale
Converts a value to a z-score given the parameterization in this object.
ZScoreCalculator - Class in org.anchoranalysis.math.statistics
Calculates a Z-Score.
A C D E F G H I K L M N O Q R S T U V Z 
All Classes and Interfaces|All Packages|Serialized Form