Skip navigation links
A B C D E F G H I L M N O P Q R S T U V Z 

A

a() - Method in class math.function.CubicFunction
retrieve the coefficient of the leading term of the polynomial.
a() - Method in class math.function.QuadraticFunction
retrieve the coefficient of the leading term of the polynomial.
a0() - Method in class math.polynomial.interpolation.LinearInterpolation
 
a1() - Method in class math.polynomial.interpolation.LinearInterpolation
 
abs() - Method in class math.Complex
 
abs() - Method in interface math.FieldElement
Compute and return the absolute value of this element.
abs() - Method in class math.Rational
 
abs() - Method in class math.Real
 
AbstractFunction - Class in math.function
A partial implementation of a scalar-valued function of one variable.
AbstractFunction() - Constructor for class math.function.AbstractFunction
 
AbstractMultivariateFunction - Class in math.function
A partial implementation of a scalar-valued function of several variables.
AbstractMultivariateFunction() - Constructor for class math.function.AbstractMultivariateFunction
 
additiveInverse() - Method in class math.Complex
 
additiveInverse() - Method in interface math.FieldElement
Return the element of this field that, when added to this element, produces the additive identity.
additiveInverse() - Method in class math.Rational
 
additiveInverse() - Method in class math.Real
Take the additive inverse, or negative, of this real number and return the result.
arrayFrom(double...) - Static method in class math.Reals
 
asDouble() - Method in class math.Real
 
at(Real) - Method in class math.function.CubicFunction
Evaluate this function at the given point and return the result.
at(double) - Method in class math.function.CubicFunction
 
at(double) - Method in interface math.function.Function
Compute and return the value of the function at the given point.
at(double) - Method in class math.function.GeneralFunction
 
at(double...) - Method in interface math.function.MultivariateDoubleFunction
Compute and return the value of the function at the given point.
at(Vector) - Method in interface math.function.MultivariateFunction
Compute and return the value of the function at the given point.
at(Real) - Method in class math.function.QuadraticFunction
Compute and return the value of the function at the given point.
at(double) - Method in class math.function.QuadraticFunction
 
at(double, double) - Method in interface math.function.SlopeFunction
Compute the slope of the function at the given point using the given function value.
at(int) - Method in class math.linear.doubles.Vector
Return the element at index i, where indexing begins at 0.

B

b() - Method in class math.function.CubicFunction
retrieve the coefficient of the second degree term of the polynomial.
b() - Method in class math.function.QuadraticFunction
retrieve the coefficient of the first degree term of the polynomial.
BFGS - Class in math.optim
An implementation of the Broyden-Fletcher-Goldfarb-Shanno (BFGS) algorithm for unconstrained nonlinear optimization.
BFGS(AbstractMultivariateFunction, Vector, double, double) - Constructor for class math.optim.BFGS
Create a new BFGS object and run the algorithm with the supplied information.
BFGS(AbstractMultivariateFunction, Vector, double, double, Matrix) - Constructor for class math.optim.BFGS
Create a new BFGS object and run the algorithm with the supplied information.
build() - Method in class math.linear.doubles.Matrix.IdentityBuilder
Create a new matrix using the data in this builder.

C

c() - Method in class math.function.CubicFunction
retrieve the coefficient of the first degree term of the polynomial.
c() - Method in class math.function.QuadraticFunction
retrieve the constant term of the polynomial.
centralDifferenceApproximation(Function, double, double) - Static method in class math.function.NumericalDerivatives
 
centralDifferenceGradient(MultivariateDoubleFunction, double[], double) - Static method in class math.function.NumericalDerivatives
 
centralDifferenceGradient(MultivariateFunction, Vector, double) - Static method in class math.function.NumericalDerivatives
 
coefficients() - Method in class math.function.CubicFunction
retrieve the coefficients of the polynomial.
coefficients() - Method in class math.function.QuadraticFunction
retrieve the coefficients of the polynomial.
coefficientsDbl() - Method in class math.function.CubicFunction
retrieve the coefficients of the polynomial as primitives.
coefficientsDbl() - Method in class math.function.QuadraticFunction
retrieve the coefficients of the polynomial as primitives.
compareTo(Complex) - Method in class math.Complex
 
compareTo(Rational) - Method in class math.Rational
 
compareTo(Real) - Method in class math.Real
 
Complex - Class in math
A representation of a complex number.
Complex() - Constructor for class math.Complex
Construct a new complex number with real and imaginary parts both equal to 0.
Complex(double) - Constructor for class math.Complex
Construct a new complex number with zero imaginary part, i.e, a real number.
Complex(double, double) - Constructor for class math.Complex
Construct a new complex number with the given real and imaginary parts.
complexSqrt() - Method in class math.Real
 
conjugate() - Method in class math.Complex
 
conjugate() - Method in interface math.FieldElement
Compute and return the conjugate of this element.
conjugate() - Method in class math.Rational
 
conjugate() - Method in class math.Real
 
contains(double) - Method in class math.Real.Interval
 
correlationOf(double[], double[]) - Static method in class math.stats.Statistics
 
covarianceOf(double[], double[]) - Static method in class math.stats.Statistics
 
create(int, int, double[]) - Static method in class math.linear.doubles.Matrix
Create a new matrix with the supplied data and dimensions.
cubed() - Method in class math.Real
Cube this real number and return the result.
CubicFunction - Class in math.function
A univariate polynomial function of degree 3.
CubicFunction(Real, Real, Real, Real) - Constructor for class math.function.CubicFunction
Create a new cubic function using the given coefficients.
CubicFunction(double, double, double, double) - Constructor for class math.function.CubicFunction
Create a new cubic function using the given coefficients.

D

d() - Method in class math.function.CubicFunction
retrieve the constant term of the polynomial.
data() - Method in class math.linear.doubles.Matrix
Obtain the array of data underlying this matrix in row-major order.
data2D(Matrix.Order) - Method in class math.linear.doubles.Matrix
Obtain the data in this matrix as a two-dimensional array.
diagonal() - Method in class math.linear.doubles.Matrix
Retrieve the elements on the diagonal of this matrix.
differenceOf(double[], double[]) - Static method in class math.operations.Operators
Take the element-by-element difference of the two arrays and return the result in a new array.
Distribution - Interface in math.stats.distributions
A probability distribution.
dividedBy(double) - Method in class math.Complex
Divide this element by the given double.
dividedBy(Complex) - Method in class math.Complex
 
dividedBy(T) - Method in interface math.FieldElement
Divide this element by the given element and return the result.
dividedBy(Rational) - Method in class math.Rational
 
dividedBy(Real) - Method in class math.Real
Divide this real number by the given real number and return the result.
doesntContain(double) - Method in class math.Real.Interval
 
dotProduct(Vector) - Method in class math.linear.doubles.Vector
Compute the dot product of this vector with the given vector.

E

elements() - Method in class math.linear.doubles.Vector
The elements of the vector as an array of primitive doubles.
endpointsEqual() - Method in class math.Real.Interval
Test if the endpoints of this interval are equal.
endpointsEqual(double) - Method in class math.Real.Interval
Test if the endpoints of this interval are equal within the given tolerance level.
equals(Object) - Method in class math.function.QuadraticFunction
 
equals(Object) - Method in class math.linear.doubles.Matrix
 
equals(Object) - Method in class math.linear.doubles.Vector
 
equals(Object) - Method in class math.polynomial.interpolation.NewtonPolynomial
 
equals(Object) - Method in class math.Rational
 
equals(Object) - Method in class math.Real.Interval
 
equals(Object) - Method in class math.stats.distributions.Normal
 
equals(Object) - Method in class math.stats.distributions.StudentsT
 
evaluateAt(double) - Method in class math.polynomial.interpolation.NewtonPolynomial
Evaluate this Newton polynomial at the given point.
extremePoint() - Method in class math.function.QuadraticFunction
retrieve the point at which the local extremum of this function occurs.
extremePointDbl() - Method in class math.function.QuadraticFunction
retrieve the point at which the local extremum of this function occurs as a primitive.
extremum() - Method in class math.function.QuadraticFunction
retrieve the local extremum of this function.
extremumDbl() - Method in class math.function.QuadraticFunction
retrieve the local extremum of this function as a primitive.

F

FieldElement<T> - Interface in math
Represents an element of a mathematical field.
forwardDifferenceApproximation(Function, double, double) - Static method in class math.function.NumericalDerivatives
 
forwardDifferenceApproximation(Function, double, double, double) - Static method in class math.function.NumericalDerivatives
 
forwardDifferenceGradient(MultivariateDoubleFunction, double[], double) - Static method in class math.function.NumericalDerivatives
 
forwardDifferenceGradient(MultivariateFunction, Vector, double) - Static method in class math.function.NumericalDerivatives
 
forwardDifferenceGradient(MultivariateFunction, Vector, double, double) - Static method in class math.function.NumericalDerivatives
 
from(Real) - Static method in class math.Complex
 
from(double...) - Static method in class math.linear.doubles.Vector
Create a new vector from the given elements.
from(int, int) - Static method in class math.Rational
 
from(int) - Static method in class math.Rational
 
from(double) - Static method in class math.Real
Create a new real number using the given double.
Function - Interface in math.function
A scalar-valued function of one variable.
functionEvaluations() - Method in class math.function.AbstractFunction
The number of times this function has been evaluated.
functionEvaluations() - Method in class math.function.AbstractMultivariateFunction
The number of times this function has been evaluated.
functionValue() - Method in class math.optim.BFGS
Return the final value of the target function.

G

GeneralFunction - Class in math.function
A thin wrapper for a Function.
GeneralFunction(Function) - Constructor for class math.function.GeneralFunction
 
GeneralFunction(Function, Function) - Constructor for class math.function.GeneralFunction
 
gradientAt(Vector) - Method in class math.function.AbstractMultivariateFunction
 
gradientAt(Vector, double) - Method in class math.function.AbstractMultivariateFunction
 
gradientEvaluations() - Method in class math.function.AbstractMultivariateFunction
The number of times the gradient has been computed.

H

hashCode() - Method in class math.function.QuadraticFunction
 
hashCode() - Method in class math.linear.doubles.Matrix
 
hashCode() - Method in class math.linear.doubles.Vector
 
hashCode() - Method in class math.polynomial.interpolation.NewtonPolynomial
 
hashCode() - Method in class math.Rational
 
hashCode() - Method in class math.Real.Interval
 
hashCode() - Method in class math.stats.distributions.Normal
 
hashCode() - Method in class math.stats.distributions.StudentsT
 
hasMaximum() - Method in class math.function.CubicFunction
Indicates if this function has a maximum or not.
hasMaximum() - Method in class math.function.QuadraticFunction
Indicates if this function has a maximum or not.
hasMinimum() - Method in class math.function.CubicFunction
Indicates if this function has a minimum or not.
hasMinimum() - Method in class math.function.QuadraticFunction
Indicates if this function has a minimum or not.

I

identity(int) - Static method in class math.linear.doubles.Matrices
Create a new identity matrix with the given dimension.
IdentityBuilder(int) - Constructor for class math.linear.doubles.Matrix.IdentityBuilder
Create a new builder with the given dimension.
im() - Method in class math.Complex
The imaginary part of this complex number.
Interval(double, double) - Constructor for class math.Real.Interval
 
inverseHessian() - Method in class math.optim.BFGS
Return the final approximation to the inverse Hessian.
isReal() - Method in class math.Complex
Returns true if this complex number is also a real number and false otherwise.

L

LinearInterpolation - Class in math.polynomial.interpolation
Linear interpolation of two known points.
LinearInterpolation(double, double, double, double) - Constructor for class math.polynomial.interpolation.LinearInterpolation
 
listFrom(double...) - Static method in class math.Reals
 
localExtrema() - Method in class math.function.CubicFunction
retrieve the local extrema of this function.
localExtremePoints() - Method in class math.function.CubicFunction
retrieve the points at which the local extrema of this function occur.
lower() - Method in class math.Real.Interval
 
lowerDbl() - Method in class math.Real.Interval
 

M

math - package math
General mathematical functionality.
math.function - package math.function
Various mathematical functions.
math.linear.doubles - package math.linear.doubles
Linear algebra functionality using primitive double values in place of FieldElements.
math.operations - package math.operations
Useful convenience methods for numeric data.
math.optim - package math.optim
Mathematical optimization functions and algorithms.
math.polynomial.interpolation - package math.polynomial.interpolation
Classes for polynomial interpolation.
math.stats - package math.stats
Statistical computations and functions.
math.stats.distributions - package math.stats.distributions
Probability distributions.
Matrices - Class in math.linear.doubles
Static methods for creating Matrix objects.
Matrix - Class in math.linear.doubles
An immutable and thread-safe implementation of a real-valued matrix.
Matrix(int, int, double) - Constructor for class math.linear.doubles.Matrix
Create a new matrix with the given dimensions filled with the supplied value.
Matrix(double[][], Matrix.Order) - Constructor for class math.linear.doubles.Matrix
Create a new matrix from the given two-dimensional array of data.
Matrix.IdentityBuilder - Class in math.linear.doubles
A class that allows one to start with an identity matrix, then set specific elements before creating an immutable Matrix.
Matrix.Order - Enum in math.linear.doubles
 
meanOf(double[]) - Static method in class math.stats.Statistics
 
medianOf(double[]) - Static method in class math.stats.Statistics
 
minus(Complex) - Method in class math.Complex
 
minus(T) - Method in interface math.FieldElement
Subtract the given element from this element.
minus(Matrix) - Method in class math.linear.doubles.Matrix
Subtract the given matrix from this matrix and return the resulting difference.
minus(Vector) - Method in class math.linear.doubles.Vector
Subtract the given vector from this vector and return the result in a new vector.
minus(double) - Method in class math.linear.doubles.Vector
Subtract the given scalar from this vector and return the result in a new vector.
minus(Rational) - Method in class math.Rational
 
minus(Real) - Method in class math.Real
Subtract the given real number from this real number and return the result.
minus(Complex) - Method in class math.Real
 
MultivariateDoubleFunction - Interface in math.function
A scalar-valued function of several variables that uses primitive doubles as input and output values.
MultivariateFunction - Interface in math.function
A scalar-valued function of several variables.

N

ncol() - Method in class math.linear.doubles.Matrix
 
NewtonPolynomial - Class in math.polynomial.interpolation
Represents the Newton form of an interpolating polynomial.
NewtonPolynomial(double[], double[]) - Constructor for class math.polynomial.interpolation.NewtonPolynomial
Create a new Newton polynomial with the given points and function values.
norm() - Method in class math.linear.doubles.Vector
Compute the L2 length of this vector.
Normal - Class in math.stats.distributions
A Normal, or Gaussian, probability distribution.
Normal(double, double) - Constructor for class math.stats.distributions.Normal
Create a new Normal distribution with the given mean and standard deviation.
Normal() - Constructor for class math.stats.distributions.Normal
Create a new standard normal distribution with mean 0 and standard deviation 1.
nrow() - Method in class math.linear.doubles.Matrix
 
NumericalDerivatives - Class in math.function
Static methods for computing numerical derivatives.

O

Operators - Class in math.operations
Static methods for performing vector operations on arrays.
outerProduct(Vector) - Method in class math.linear.doubles.Vector
Compute the outer product of this vector and the given vector.

P

parameters() - Method in class math.optim.BFGS
Return the final, optimized input parameters.
plus(Complex) - Method in class math.Complex
 
plus(double) - Method in class math.Complex
Add this element to the given double.
plus(T) - Method in interface math.FieldElement
Add this element to the given element.
plus(Matrix) - Method in class math.linear.doubles.Matrix
Add this matrix to the given matrix and return the resulting sum.
plus(Vector) - Method in class math.linear.doubles.Vector
Add this vector to the given vector and return the result in a new vector.
plus(Rational) - Method in class math.Rational
 
plus(Real) - Method in class math.Real
Add this real number to the given real number and return the result.
plus(Complex) - Method in class math.Real
 
productOf(double[], double[]) - Static method in class math.operations.Operators
Take the element-by-element product of the two arrays and return the result in a new array.

Q

QuadraticFunction - Class in math.function
A univariate polynomial function of degree 2.
QuadraticFunction(Real, Real, Real) - Constructor for class math.function.QuadraticFunction
Create a new quadratic function using the given coefficients.
QuadraticFunction(double, double, double) - Constructor for class math.function.QuadraticFunction
Create a new quadratic function using the given coefficients.
quantile(double) - Method in interface math.stats.distributions.Distribution
Compute the value of the quantile function at the given probability.
quantile(double) - Method in class math.stats.distributions.Normal
 
quantile(double) - Method in class math.stats.distributions.StudentsT
 
quantile(double) - Method in class math.stats.distributions.Uniform
 
quotientOf(double[], double[]) - Static method in class math.operations.Operators
Take the element-by-element quotient of the two arrays and return the result in a new array.

R

rand() - Method in interface math.stats.distributions.Distribution
Generate a random value from the distribution.
rand() - Method in class math.stats.distributions.Normal
 
rand() - Method in class math.stats.distributions.StudentsT
 
rand() - Method in class math.stats.distributions.Uniform
 
Rational - Class in math
A representation of a rational number.
real() - Method in class math.Complex
The real part of this complex number.
Real - Class in math
A numerical approximation of a real number.
Real.Interval - Class in math
An interval on the real line.
Reals - Class in math
 

S

scale(double[], double) - Static method in class math.operations.Operators
Scale the original data by alpha and return the result in a new array.
scaledBy(double) - Method in class math.linear.doubles.Matrix
Scale this matrix by the given value and return the scaled matrix.
scaledBy(double) - Method in class math.linear.doubles.Vector
Scale this vector by the given scalar and return the result in a new vector.
set(int, int, double) - Method in class math.linear.doubles.Matrix.IdentityBuilder
Set the matrix at the given coordinates to the provided value and return the builder.
setDf(Function) - Method in class math.function.GeneralFunction
Set the derivative of this function.
size() - Method in class math.linear.doubles.Vector
The number of elements in this vector.
slopeAt(double) - Method in class math.function.AbstractFunction
Compute and return the slope at the given point.
slopeAt(double, double) - Method in class math.function.AbstractFunction
 
slopeAt(double) - Method in class math.function.CubicFunction
 
slopeAt(double) - Method in class math.function.GeneralFunction
 
slopeAt(double) - Method in class math.function.QuadraticFunction
 
slopeEvaluations() - Method in class math.function.AbstractFunction
The number of times the slope has been computed.
SlopeFunction - Interface in math.function
A function used for computing the slope of another function.
sqrt() - Method in class math.Complex
 
sqrt() - Method in interface math.FieldElement
The square root operation applied to this element.
sqrt() - Method in class math.Rational
 
sqrt() - Method in class math.Real
Computes and returns the square root of this number if the number is non-negative, and throws an IllegalStateException otherwise.
squared() - Method in class math.Real
Square this real number and return the result.
Statistics - Class in math.stats
Static methods for computing basic statistics.
stdDeviationOf(double[]) - Static method in class math.stats.Statistics
 
StudentsT - Class in math.stats.distributions
A Student's t probability distribution.
StudentsT(int) - Constructor for class math.stats.distributions.StudentsT
Create a new Student's t distribution with the given degrees of freedom.
subtract(double[], double) - Static method in class math.operations.Operators
Subtract the given value from each element of the supplied data and return the result in a new array.
sum() - Method in class math.linear.doubles.Vector
Compute the sum of the elements of this vector.
sumOf(double[], double[]) - Static method in class math.operations.Operators
Take the element-by-element sum of the two arrays and return the result in a new array.
sumOf(double[]) - Static method in class math.stats.Statistics
 
sumOfSquared(double[]) - Static method in class math.stats.Statistics
 
sumOfSquares() - Method in class math.linear.doubles.Vector
Compute the sum of squared elements of this vector.

T

times(Complex) - Method in class math.Complex
 
times(T) - Method in interface math.FieldElement
Multiply this element by the given element.
times(Matrix) - Method in class math.linear.doubles.Matrix
Multiply this matrix by the given matrix and return the resulting product.
times(Vector) - Method in class math.linear.doubles.Matrix
Multiply this matrix by the given vector and return the resulting transformation.
times(Rational) - Method in class math.Rational
 
times(Real) - Method in class math.Real
Multiply this real number by the given real number and return the result.
times(double) - Method in class math.Real
 
toCubic() - Method in class math.polynomial.interpolation.NewtonPolynomial
Convert this Newton polynomial to the standard form of a cubic function, f(x) = ax3 + bx2 + cx + d.
toQuadratic() - Method in class math.polynomial.interpolation.NewtonPolynomial
Convert this Newton polynomial to the standard form of a quadratic function, f(x) = ax2 + bx + c.
toString() - Method in class math.Complex
 
toString() - Method in class math.function.CubicFunction
 
toString() - Method in class math.function.QuadraticFunction
 
toString() - Method in class math.linear.doubles.Matrix
 
toString() - Method in class math.linear.doubles.Vector
 
toString() - Method in class math.Rational
 
toString() - Method in class math.Real.Interval
 
toString() - Method in class math.Real
 
toString() - Method in class math.stats.distributions.Normal
 
toString() - Method in class math.stats.distributions.Uniform
 
transpose() - Method in class math.linear.doubles.Matrix
Transpose this matrix and return the resulting transposition.

U

Uniform - Class in math.stats.distributions
 
Uniform(double, double) - Constructor for class math.stats.distributions.Uniform
 
upper() - Method in class math.Real.Interval
 
upperDbl() - Method in class math.Real.Interval
 

V

valueOf(String) - Static method in enum math.linear.doubles.Matrix.Order
Returns the enum constant of this type with the specified name.
values() - Static method in enum math.linear.doubles.Matrix.Order
Returns an array containing the constants of this enum type, in the order they are declared.
varianceOf(double[]) - Static method in class math.stats.Statistics
 
Vector - Class in math.linear.doubles
An immutable and thread-safe implementation of a real-valued vector backed by an array of primitive doubles.
Vector(double...) - Constructor for class math.linear.doubles.Vector
Create a new vector using the provided elements.

Z

zero() - Static method in class math.Complex
 
zero() - Static method in class math.Real
 
zeros() - Method in class math.function.QuadraticFunction
Compute and return the zeros, or roots, of this function.
A B C D E F G H I L M N O P Q R S T U V Z 
Skip navigation links