Index

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

A

a() - Method in record class cloud.opencode.base.math.interpolation.Interpolation.SplineCoefficients
Returns the value of the a record component.
add(double) - Method in class cloud.opencode.base.math.stats.StreamingStatistics
Adds a value to the accumulator using Welford's online algorithm.
add(Matrix) - Method in class cloud.opencode.base.math.linalg.Matrix
Returns the element-wise sum of this matrix and another.
add(Vector) - Method in class cloud.opencode.base.math.linalg.Vector
Returns the element-wise sum of this vector and another.
alpha() - Method in class cloud.opencode.base.math.distribution.BetaDistribution
Returns the alpha (first shape) parameter.
angle(Vector) - Method in class cloud.opencode.base.math.linalg.Vector
Returns the angle in radians between this vector and another.
AnovaTest - Class in cloud.opencode.base.math.stats.inference
One-way Analysis of Variance (ANOVA) F-test implementation.

B

b() - Method in record class cloud.opencode.base.math.interpolation.Interpolation.SplineCoefficients
Returns the value of the b record component.
bellNumber(int) - Static method in class cloud.opencode.base.math.combinatorics.Combinatorics
Computes the n-th Bell number (sum of Stirling numbers of the second kind).
beta() - Method in class cloud.opencode.base.math.distribution.BetaDistribution
Returns the beta (second shape) parameter.
beta(double, double) - Static method in class cloud.opencode.base.math.OpenMathLib
Computes the beta function.
beta(double, double) - Static method in class cloud.opencode.base.math.special.SpecialFunctions
Computes the Beta function: B(a, b) = Gamma(a) * Gamma(b) / Gamma(a + b).
BetaDistribution - Class in cloud.opencode.base.math.distribution
Immutable Beta distribution.
binomial(int, int) - Static method in class cloud.opencode.base.math.combinatorics.Combinatorics
Computes the binomial coefficient C(n, k) = n!
binomial(int, int) - Static method in class cloud.opencode.base.math.OpenMathLib
Computes the binomial coefficient C(n, k).
binomialBig(int, int) - Static method in class cloud.opencode.base.math.combinatorics.Combinatorics
Computes the binomial coefficient C(n, k) with arbitrary precision.
BinomialDistribution - Class in cloud.opencode.base.math.distribution
Immutable binomial distribution.
bisection(DoubleUnaryOperator, double, double, double) - Static method in class cloud.opencode.base.math.analysis.RootFinder
Finds a root of f in the interval [a, b] using the bisection method.
brent(DoubleUnaryOperator, double, double, double) - Static method in class cloud.opencode.base.math.analysis.RootFinder
Finds a root of f in the interval [a, b] using Brent's method.

C

c() - Method in record class cloud.opencode.base.math.interpolation.Interpolation.SplineCoefficients
Returns the value of the c record component.
catalanBig(int) - Static method in class cloud.opencode.base.math.combinatorics.Combinatorics
Computes the n-th Catalan number with arbitrary precision.
catalanNumber(int) - Static method in class cloud.opencode.base.math.combinatorics.Combinatorics
Computes the n-th Catalan number: C(2n, n) / (n + 1).
cdf(double) - Method in class cloud.opencode.base.math.distribution.BetaDistribution
Computes the cumulative distribution function (CDF) at x.
cdf(double) - Method in class cloud.opencode.base.math.distribution.ChiSquaredDistribution
Computes the cumulative distribution function (CDF) at x.
cdf(double) - Method in class cloud.opencode.base.math.distribution.FDistribution
Computes the cumulative distribution function (CDF) at x.
cdf(double) - Method in class cloud.opencode.base.math.distribution.GammaDistribution
Computes the cumulative distribution function (CDF) at x.
cdf(double) - Method in class cloud.opencode.base.math.distribution.LogNormalDistribution
Computes the cumulative distribution function (CDF) at x.
cdf(double) - Method in class cloud.opencode.base.math.distribution.NormalDistribution
Computes the cumulative distribution function (CDF) at x.
cdf(double) - Method in class cloud.opencode.base.math.distribution.TDistribution
Computes the cumulative distribution function (CDF) at x.
cdf(int) - Method in class cloud.opencode.base.math.distribution.BinomialDistribution
Computes the cumulative distribution function (CDF) at k: P(X ≤ k).
ChiSquaredDistribution - Class in cloud.opencode.base.math.distribution
Immutable chi-squared distribution.
ChiSquareTest - Class in cloud.opencode.base.math.stats.inference
Chi-squared test implementations for hypothesis testing.
cloud.opencode.base.math - module cloud.opencode.base.math
OpenCode Base Math - Advanced mathematics and statistics library OpenCode 高级数学与统计计算库
cloud.opencode.base.math - package cloud.opencode.base.math
 
cloud.opencode.base.math.analysis - package cloud.opencode.base.math.analysis
 
cloud.opencode.base.math.combinatorics - package cloud.opencode.base.math.combinatorics
 
cloud.opencode.base.math.distribution - package cloud.opencode.base.math.distribution
 
cloud.opencode.base.math.exception - package cloud.opencode.base.math.exception
 
cloud.opencode.base.math.integration - package cloud.opencode.base.math.integration
 
cloud.opencode.base.math.interpolation - package cloud.opencode.base.math.interpolation
 
cloud.opencode.base.math.linalg - package cloud.opencode.base.math.linalg
 
cloud.opencode.base.math.special - package cloud.opencode.base.math.special
 
cloud.opencode.base.math.stats - package cloud.opencode.base.math.stats
 
cloud.opencode.base.math.stats.inference - package cloud.opencode.base.math.stats.inference
 
collector() - Static method in class cloud.opencode.base.math.stats.StreamingStatistics
Returns a Collector for use with Stream.collect(Collector).
cols() - Method in class cloud.opencode.base.math.linalg.Matrix
Returns the number of columns.
Combinatorics - Class in cloud.opencode.base.math.combinatorics
Combinatorial mathematics utility methods.
correlation(double[], double[]) - Static method in class cloud.opencode.base.math.OpenMathLib
Computes the Pearson correlation coefficient.
correlation(double[], double[]) - Static method in class cloud.opencode.base.math.stats.Statistics
Computes the Pearson correlation coefficient between two arrays.
count() - Method in class cloud.opencode.base.math.stats.StreamingStatistics
Returns the number of values added.
covariance(double[], double[]) - Static method in class cloud.opencode.base.math.OpenMathLib
Computes the sample covariance.
covariance(double[], double[]) - Static method in class cloud.opencode.base.math.stats.Statistics
Computes the sample covariance between two arrays.
create() - Static method in class cloud.opencode.base.math.stats.StreamingStatistics
Creates a new empty streaming statistics accumulator.
cross(Vector) - Method in class cloud.opencode.base.math.linalg.Vector
Returns the cross product of this 3D vector and another 3D vector.
cubicSpline(double[], double[], double) - Static method in class cloud.opencode.base.math.interpolation.Interpolation
Natural cubic spline interpolation (second derivative = 0 at endpoints).

D

d() - Method in record class cloud.opencode.base.math.interpolation.Interpolation.SplineCoefficients
Returns the value of the d record component.
degreesOfFreedom() - Method in class cloud.opencode.base.math.distribution.ChiSquaredDistribution
Returns the degrees of freedom.
degreesOfFreedom() - Method in class cloud.opencode.base.math.distribution.TDistribution
Returns the degrees of freedom.
degreesOfFreedom() - Method in record class cloud.opencode.base.math.stats.inference.TestResult
Returns the value of the degreesOfFreedom record component.
denominatorDf() - Method in class cloud.opencode.base.math.distribution.FDistribution
Returns the denominator degrees of freedom.
derangements(int) - Static method in class cloud.opencode.base.math.combinatorics.Combinatorics
Computes the number of derangements (subfactorial) !
derivative(DoubleUnaryOperator, double) - Static method in class cloud.opencode.base.math.analysis.Differentiation
Computes the first derivative of f at x using central difference.
derivative(DoubleUnaryOperator, double) - Static method in class cloud.opencode.base.math.OpenMathLib
Computes the numerical derivative of f at x.
derivative(DoubleUnaryOperator, double, double) - Static method in class cloud.opencode.base.math.analysis.Differentiation
Computes the first derivative of f at x using central difference with an explicit step size.
determinant() - Method in class cloud.opencode.base.math.linalg.Matrix
Returns the determinant of this square matrix.
Differentiation - Class in cloud.opencode.base.math.analysis
Numerical differentiation utilities using finite difference methods.
dimension() - Method in class cloud.opencode.base.math.linalg.Vector
Returns the dimension (number of components) of this vector.
distanceTo(Vector) - Method in class cloud.opencode.base.math.linalg.Vector
Returns the Euclidean distance from this vector to another.
Distributions - Class in cloud.opencode.base.math.distribution
Utility class providing common probability distribution functions.
dot(Vector) - Method in class cloud.opencode.base.math.linalg.Vector
Returns the dot product of this vector and another.

E

equals(Object) - Method in record class cloud.opencode.base.math.interpolation.Interpolation.SplineCoefficients
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class cloud.opencode.base.math.linalg.Matrix
 
equals(Object) - Method in class cloud.opencode.base.math.linalg.Vector
 
equals(Object) - Method in record class cloud.opencode.base.math.stats.inference.TestResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.math.stats.Regression.LinearModel
Indicates whether some other object is "equal to" this one.
erf(double) - Static method in class cloud.opencode.base.math.OpenMathLib
Computes the error function.
erf(double) - Static method in class cloud.opencode.base.math.special.SpecialFunctions
Computes the error function erf(x).
erfc(double) - Static method in class cloud.opencode.base.math.special.SpecialFunctions
Computes the complementary error function erfc(x) = 1 - erf(x).
evaluate(double) - Method in record class cloud.opencode.base.math.interpolation.Interpolation.SplineCoefficients
Evaluates the precomputed spline at the given x value.
exponentialCdf(double, double) - Static method in class cloud.opencode.base.math.distribution.Distributions
Computes the CDF of the exponential distribution at x.
exponentialPdf(double, double) - Static method in class cloud.opencode.base.math.distribution.Distributions
Computes the PDF of the exponential distribution at x.

F

FDistribution - Class in cloud.opencode.base.math.distribution
Immutable F-distribution (Fisher-Snedecor distribution).
findRoot(DoubleUnaryOperator, double, double) - Static method in class cloud.opencode.base.math.OpenMathLib
Finds a root of f in [a, b] using Brent's method (recommended).
findRoot(DoubleUnaryOperator, double, double, double) - Static method in class cloud.opencode.base.math.OpenMathLib
Finds a root of f in [a, b] with specified tolerance.

G

gamma(double) - Static method in class cloud.opencode.base.math.OpenMathLib
Computes the gamma function.
gamma(double) - Static method in class cloud.opencode.base.math.special.SpecialFunctions
Computes the Gamma function using the Lanczos approximation.
GammaDistribution - Class in cloud.opencode.base.math.distribution
Immutable Gamma distribution.
gaussLegendre(DoubleUnaryOperator, double, double, int) - Static method in class cloud.opencode.base.math.integration.NumericalIntegration
Gauss-Legendre quadrature.
geometricMean(double[]) - Static method in class cloud.opencode.base.math.stats.Statistics
Computes the geometric mean.
get(int) - Method in class cloud.opencode.base.math.linalg.Vector
Returns the component at the given index.
get(int, int) - Method in class cloud.opencode.base.math.linalg.Matrix
Returns the element at the given row and column.
goodnessOfFit(double[], double[]) - Static method in class cloud.opencode.base.math.stats.inference.ChiSquareTest
Performs a chi-squared goodness-of-fit test.

H

h() - Method in record class cloud.opencode.base.math.interpolation.Interpolation.SplineCoefficients
Returns the value of the h record component.
harmonicMean(double[]) - Static method in class cloud.opencode.base.math.stats.Statistics
Computes the harmonic mean.
hashCode() - Method in record class cloud.opencode.base.math.interpolation.Interpolation.SplineCoefficients
Returns a hash code value for this object.
hashCode() - Method in class cloud.opencode.base.math.linalg.Matrix
 
hashCode() - Method in class cloud.opencode.base.math.linalg.Vector
 
hashCode() - Method in record class cloud.opencode.base.math.stats.inference.TestResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.math.stats.Regression.LinearModel
Returns a hash code value for this object.
HIGHER - Enum constant in enum class cloud.opencode.base.math.stats.Percentile.Method
Returns the higher of the two adjacent data points.

I

identity(int) - Static method in class cloud.opencode.base.math.linalg.Matrix
Creates an identity matrix of size n.
identityMatrix(int) - Static method in class cloud.opencode.base.math.OpenMathLib
Creates an identity matrix of size n.
independence(double[][]) - Static method in class cloud.opencode.base.math.stats.inference.ChiSquareTest
Performs a chi-squared test of independence on a contingency table.
integrate(DoubleUnaryOperator, double, double) - Static method in class cloud.opencode.base.math.OpenMathLib
Numerically integrates f from a to b using Simpson's rule with n=1000.
intercept() - Method in record class cloud.opencode.base.math.stats.Regression.LinearModel
Returns the value of the intercept record component.
interpolate(double[], double[], double) - Static method in class cloud.opencode.base.math.OpenMathLib
Interpolates using piecewise linear interpolation.
Interpolation - Class in cloud.opencode.base.math.interpolation
Interpolation utility class providing common interpolation algorithms.
Interpolation.SplineCoefficients - Record Class in cloud.opencode.base.math.interpolation
Precomputed cubic spline coefficients for efficient multi-point evaluation.
interquartileRange(double[]) - Static method in class cloud.opencode.base.math.stats.Statistics
Computes the interquartile range (Q3 - Q1).
inverse() - Method in class cloud.opencode.base.math.linalg.Matrix
Returns the inverse of this square matrix using LU decomposition with partial pivoting.
inverseCdf(double) - Method in class cloud.opencode.base.math.distribution.BetaDistribution
Computes the inverse CDF (quantile function).
inverseCdf(double) - Method in class cloud.opencode.base.math.distribution.ChiSquaredDistribution
Computes the inverse CDF (quantile function).
inverseCdf(double) - Method in class cloud.opencode.base.math.distribution.FDistribution
Computes the inverse CDF (quantile function).
inverseCdf(double) - Method in class cloud.opencode.base.math.distribution.GammaDistribution
Computes the inverse CDF (quantile function).
inverseCdf(double) - Method in class cloud.opencode.base.math.distribution.LogNormalDistribution
Computes the inverse CDF (quantile function).
inverseCdf(double) - Method in class cloud.opencode.base.math.distribution.NormalDistribution
Computes the inverse CDF (quantile function / percent-point function).
inverseCdf(double) - Method in class cloud.opencode.base.math.distribution.TDistribution
Computes the inverse CDF (quantile function).
isSignificant() - Method in record class cloud.opencode.base.math.stats.inference.TestResult
Checks whether the result is statistically significant at the default alpha = 0.05.
isSignificant(double) - Method in record class cloud.opencode.base.math.stats.inference.TestResult
Checks whether the result is statistically significant at the given alpha level.
isSquare() - Method in class cloud.opencode.base.math.linalg.Matrix
Returns true if this matrix is square.
isSymmetric() - Method in class cloud.opencode.base.math.linalg.Matrix
Returns true if this matrix is symmetric (A = A^T).

K

kendallCorrelation(double[], double[]) - Static method in class cloud.opencode.base.math.stats.Statistics
Computes Kendall's tau-b correlation coefficient between two arrays.
kurtosis(double[]) - Static method in class cloud.opencode.base.math.stats.Statistics
Computes the excess kurtosis of the data.

L

lagrange(double[], double[], double) - Static method in class cloud.opencode.base.math.interpolation.Interpolation
Lagrange polynomial interpolation.
linear(double[], double[]) - Static method in class cloud.opencode.base.math.stats.Regression
Performs ordinary least-squares linear regression.
linear(double[], double[], double) - Static method in class cloud.opencode.base.math.interpolation.Interpolation
Piecewise linear interpolation using binary search.
LINEAR - Enum constant in enum class cloud.opencode.base.math.stats.Percentile.Method
Linear interpolation between adjacent data points.
LinearModel(double, double, double) - Constructor for record class cloud.opencode.base.math.stats.Regression.LinearModel
Creates an instance of a LinearModel record class.
linearRegression(double[], double[]) - Static method in class cloud.opencode.base.math.OpenMathLib
Performs simple linear regression.
logGamma(double) - Static method in class cloud.opencode.base.math.special.SpecialFunctions
Computes the natural logarithm of the Gamma function.
LogNormalDistribution - Class in cloud.opencode.base.math.distribution
Immutable log-normal distribution.
LOWER - Enum constant in enum class cloud.opencode.base.math.stats.Percentile.Method
Returns the lower of the two adjacent data points.

M

magnitude() - Method in class cloud.opencode.base.math.linalg.Vector
Returns the Euclidean norm (magnitude) of this vector.
MathException - Exception Class in cloud.opencode.base.math.exception
MathException - Base exception for the math module 数学模块基础异常
MathException(String) - Constructor for exception class cloud.opencode.base.math.exception.MathException
Creates a math exception with a message.
MathException(String, Throwable) - Constructor for exception class cloud.opencode.base.math.exception.MathException
Creates a math exception with a message and cause.
matrix(double[][]) - Static method in class cloud.opencode.base.math.OpenMathLib
Creates a matrix from a 2D array.
Matrix - Class in cloud.opencode.base.math.linalg
Immutable mathematical matrix backed by a double[][] array.
max() - Method in class cloud.opencode.base.math.stats.StreamingStatistics
Returns the maximum value added.
mean() - Method in class cloud.opencode.base.math.distribution.BetaDistribution
Returns the mean of this distribution: alpha / (alpha + beta).
mean() - Method in class cloud.opencode.base.math.distribution.BinomialDistribution
Returns the mean of this distribution: n * p.
mean() - Method in class cloud.opencode.base.math.distribution.GammaDistribution
Returns the mean of this distribution: shape * scale.
mean() - Method in class cloud.opencode.base.math.distribution.LogNormalDistribution
Returns the mean of this distribution: exp(mu + sigma^2 / 2).
mean() - Method in class cloud.opencode.base.math.distribution.NormalDistribution
Returns the mean of this distribution.
mean() - Method in class cloud.opencode.base.math.stats.StreamingStatistics
Returns the arithmetic mean of all added values.
merge(StreamingStatistics) - Method in class cloud.opencode.base.math.stats.StreamingStatistics
Merges this accumulator with another, returning a NEW instance.
MIDPOINT - Enum constant in enum class cloud.opencode.base.math.stats.Percentile.Method
Returns the midpoint of the two adjacent data points.
min() - Method in class cloud.opencode.base.math.stats.StreamingStatistics
Returns the minimum value added.
mode(double[]) - Static method in class cloud.opencode.base.math.stats.Statistics
Returns all mode values (most frequent values) in the data.
mu() - Method in class cloud.opencode.base.math.distribution.LogNormalDistribution
Returns the mu parameter (mean of the log).
multiply(Matrix) - Method in class cloud.opencode.base.math.linalg.Matrix
Returns the product of this matrix and another.
multiplyVector(Vector) - Method in class cloud.opencode.base.math.linalg.Matrix
Returns the result of multiplying this matrix by a vector.

N

NEAREST - Enum constant in enum class cloud.opencode.base.math.stats.Percentile.Method
Returns the nearest data point (lower on tie).
negate() - Method in class cloud.opencode.base.math.linalg.Vector
Returns the negation of this vector (all components multiplied by -1).
newton(DoubleUnaryOperator, DoubleUnaryOperator, double, double) - Static method in class cloud.opencode.base.math.analysis.RootFinder
Finds a root of f using the Newton-Raphson method.
newtonDividedDifference(double[], double[], double) - Static method in class cloud.opencode.base.math.interpolation.Interpolation
Newton's divided difference interpolation.
NormalDistribution - Class in cloud.opencode.base.math.distribution
Immutable normal (Gaussian) distribution.
normalize() - Method in class cloud.opencode.base.math.linalg.Vector
Returns the unit vector in the same direction as this vector.
numeratorDf() - Method in class cloud.opencode.base.math.distribution.FDistribution
Returns the numerator degrees of freedom.
NumericalIntegration - Class in cloud.opencode.base.math.integration
Numerical integration utility class providing common quadrature algorithms.

O

of(double) - Static method in class cloud.opencode.base.math.distribution.ChiSquaredDistribution
Creates a chi-squared distribution with the specified degrees of freedom.
of(double) - Static method in class cloud.opencode.base.math.distribution.TDistribution
Creates a t-distribution with the specified degrees of freedom.
of(double...) - Static method in class cloud.opencode.base.math.linalg.Vector
 
of(double[]) - Static method in class cloud.opencode.base.math.stats.Percentile
Creates a percentile calculator from the given data.
of(double[][]) - Static method in class cloud.opencode.base.math.linalg.Matrix
 
of(double, double) - Static method in class cloud.opencode.base.math.distribution.BetaDistribution
Creates a Beta distribution with the specified parameters.
of(double, double) - Static method in class cloud.opencode.base.math.distribution.FDistribution
Creates an F-distribution with the specified degrees of freedom.
of(double, double) - Static method in class cloud.opencode.base.math.distribution.GammaDistribution
Creates a Gamma distribution with the specified shape and scale.
of(double, double) - Static method in class cloud.opencode.base.math.distribution.LogNormalDistribution
Creates a log-normal distribution with the specified parameters.
of(double, double) - Static method in class cloud.opencode.base.math.distribution.NormalDistribution
Creates a normal distribution with the specified mean and standard deviation.
of(int, double) - Static method in class cloud.opencode.base.math.distribution.BinomialDistribution
Creates a binomial distribution with the specified parameters.
oneSample(double[], double) - Static method in class cloud.opencode.base.math.stats.inference.TTest
Performs a one-sample t-test (H0: population mean = mu0).
oneWay(double[]...) - Static method in class cloud.opencode.base.math.stats.inference.AnovaTest
Performs a one-way ANOVA F-test.
OpenMathLib - Class in cloud.opencode.base.math
OpenMathLib - Unified facade for the opencode-base-math module OpenMathLib - opencode-base-math 模块统一门面

P

paired(double[], double[]) - Static method in class cloud.opencode.base.math.stats.inference.TTest
Performs a paired t-test (H0: mean difference = 0).
pdf(double) - Method in class cloud.opencode.base.math.distribution.BetaDistribution
Computes the probability density function (PDF) at x.
pdf(double) - Method in class cloud.opencode.base.math.distribution.ChiSquaredDistribution
Computes the probability density function (PDF) at x.
pdf(double) - Method in class cloud.opencode.base.math.distribution.FDistribution
Computes the probability density function (PDF) at x.
pdf(double) - Method in class cloud.opencode.base.math.distribution.GammaDistribution
Computes the probability density function (PDF) at x.
pdf(double) - Method in class cloud.opencode.base.math.distribution.LogNormalDistribution
Computes the probability density function (PDF) at x.
pdf(double) - Method in class cloud.opencode.base.math.distribution.NormalDistribution
Computes the probability density function (PDF) at x.
pdf(double) - Method in class cloud.opencode.base.math.distribution.TDistribution
Computes the probability density function (PDF) at x.
percentile(double[], double) - Static method in class cloud.opencode.base.math.OpenMathLib
Computes the p-th percentile of the data.
percentile(double[], double) - Static method in class cloud.opencode.base.math.stats.Statistics
Computes the p-th percentile using linear interpolation.
Percentile - Class in cloud.opencode.base.math.stats
Dedicated percentile calculator with configurable interpolation strategy.
Percentile.Method - Enum Class in cloud.opencode.base.math.stats
Interpolation method for percentile calculation.
permutation(int, int) - Static method in class cloud.opencode.base.math.combinatorics.Combinatorics
Computes the permutation P(n, k) = n!
permutation(int, int) - Static method in class cloud.opencode.base.math.OpenMathLib
Computes the permutation P(n, k).
permutationBig(int, int) - Static method in class cloud.opencode.base.math.combinatorics.Combinatorics
Computes the permutation P(n, k) with arbitrary precision.
pmf(int) - Method in class cloud.opencode.base.math.distribution.BinomialDistribution
Computes the probability mass function (PMF) at k.
poissonCdf(double, int) - Static method in class cloud.opencode.base.math.distribution.Distributions
Computes the CDF of the Poisson distribution: P(X ≤ k).
poissonPmf(double, int) - Static method in class cloud.opencode.base.math.distribution.Distributions
Computes the probability mass function (PMF) of the Poisson distribution.
precomputeSpline(double[], double[]) - Static method in class cloud.opencode.base.math.interpolation.Interpolation
Precomputes cubic spline coefficients for efficient multi-point evaluation.
predict(double) - Method in record class cloud.opencode.base.math.stats.Regression.LinearModel
Predicts the y value for a given x.
probability() - Method in class cloud.opencode.base.math.distribution.BinomialDistribution
Returns the probability of success.
pValue() - Method in record class cloud.opencode.base.math.stats.inference.TestResult
Returns the value of the pValue record component.

Q

quartile(int) - Method in class cloud.opencode.base.math.stats.Percentile
Computes a quartile value (Q1, Q2, or Q3).

R

range(double[]) - Static method in class cloud.opencode.base.math.stats.Statistics
Computes the range (max - min) of the data.
Regression - Class in cloud.opencode.base.math.stats
Regression analysis utilities.
Regression.LinearModel - Record Class in cloud.opencode.base.math.stats
Result of a linear regression: y = slope * x + intercept.
regularizedBeta(double, double, double) - Static method in class cloud.opencode.base.math.special.SpecialFunctions
Computes the regularized incomplete beta function I_x(a, b).
regularizedGammaP(double, double) - Static method in class cloud.opencode.base.math.special.SpecialFunctions
Computes the regularized lower incomplete gamma function P(a, x) = gamma(a, x) / Gamma(a).
reset() - Method in class cloud.opencode.base.math.stats.StreamingStatistics
Resets all accumulated state to empty.
residuals(double[], double[]) - Method in record class cloud.opencode.base.math.stats.Regression.LinearModel
Computes residuals (y_actual - y_predicted) for the given data.
richardson(DoubleUnaryOperator, double, int) - Static method in class cloud.opencode.base.math.analysis.Differentiation
Computes the first derivative of f at x using Richardson extrapolation.
romberg(DoubleUnaryOperator, double, double, int, double) - Static method in class cloud.opencode.base.math.integration.NumericalIntegration
Romberg integration using Richardson extrapolation.
RootFinder - Class in cloud.opencode.base.math.analysis
Numerical root-finding algorithms for single-variable real functions.
rows() - Method in class cloud.opencode.base.math.linalg.Matrix
Returns the number of rows.
rSquared() - Method in record class cloud.opencode.base.math.stats.Regression.LinearModel
Returns the value of the rSquared record component.

S

sample() - Method in class cloud.opencode.base.math.distribution.NormalDistribution
Generates one random sample from this distribution using the Box-Muller transform.
sample(int) - Method in class cloud.opencode.base.math.distribution.NormalDistribution
 
sampleStdDev() - Method in class cloud.opencode.base.math.stats.StreamingStatistics
Returns the sample standard deviation (sqrt of sample variance).
sampleVariance() - Method in class cloud.opencode.base.math.stats.StreamingStatistics
Returns the sample variance (unbiased, divided by n-1).
scalarMultiply(double) - Method in class cloud.opencode.base.math.linalg.Matrix
Returns this matrix multiplied by a scalar.
scale() - Method in class cloud.opencode.base.math.distribution.GammaDistribution
Returns the scale parameter.
scale(double) - Method in class cloud.opencode.base.math.linalg.Vector
Returns this vector scaled by the given scalar.
secant(DoubleUnaryOperator, double, double, double) - Static method in class cloud.opencode.base.math.analysis.RootFinder
Finds a root of f using the secant method.
secondDerivative(DoubleUnaryOperator, double) - Static method in class cloud.opencode.base.math.analysis.Differentiation
Computes the second derivative of f at x using central difference.
secondDerivative(DoubleUnaryOperator, double, double) - Static method in class cloud.opencode.base.math.analysis.Differentiation
Computes the second derivative of f at x using central difference with an explicit step size.
shape() - Method in class cloud.opencode.base.math.distribution.GammaDistribution
Returns the shape parameter.
sigma() - Method in class cloud.opencode.base.math.distribution.LogNormalDistribution
Returns the sigma parameter (standard deviation of the log).
simpson(DoubleUnaryOperator, double, double, int) - Static method in class cloud.opencode.base.math.integration.NumericalIntegration
Composite Simpson's 1/3 rule.
simpsonThreeEighths(DoubleUnaryOperator, double, double, int) - Static method in class cloud.opencode.base.math.integration.NumericalIntegration
Simpson's 3/8 rule (composite).
skewness(double[]) - Static method in class cloud.opencode.base.math.stats.Statistics
Computes the sample skewness (Fisher's definition).
slope() - Method in record class cloud.opencode.base.math.stats.Regression.LinearModel
Returns the value of the slope record component.
spearmanCorrelation(double[], double[]) - Static method in class cloud.opencode.base.math.OpenMathLib
Computes Spearman's rank correlation coefficient.
spearmanCorrelation(double[], double[]) - Static method in class cloud.opencode.base.math.stats.Statistics
Computes Spearman's rank correlation coefficient between two arrays.
SpecialFunctions - Class in cloud.opencode.base.math.special
Special mathematical functions (Gamma, Beta, Error function, etc.).
SplineCoefficients(double[], double[], double[], double[], double[], double[]) - Constructor for record class cloud.opencode.base.math.interpolation.Interpolation.SplineCoefficients
Creates an instance of a SplineCoefficients record class.
STANDARD - Static variable in class cloud.opencode.base.math.distribution.NormalDistribution
Standard normal distribution N(0, 1). / 标准正态分布 N(0, 1)
standardDeviation() - Method in class cloud.opencode.base.math.distribution.NormalDistribution
Returns the standard deviation of this distribution.
standardNormal() - Static method in class cloud.opencode.base.math.OpenMathLib
Returns the standard normal distribution N(0, 1).
statistic() - Method in record class cloud.opencode.base.math.stats.inference.TestResult
Returns the value of the statistic record component.
Statistics - Class in cloud.opencode.base.math.stats
Statistical utility methods for descriptive statistics.
stdDev() - Method in class cloud.opencode.base.math.stats.StreamingStatistics
Returns the population standard deviation (sqrt of population variance).
stirlingSecond(int, int) - Static method in class cloud.opencode.base.math.combinatorics.Combinatorics
Computes the Stirling number of the second kind S(n, k).
StreamingStatistics - Class in cloud.opencode.base.math.stats
Mutable accumulator for computing streaming (online) statistics using Welford's algorithm.
streamingStats() - Static method in class cloud.opencode.base.math.OpenMathLib
Creates a new streaming statistics accumulator.
subtract(Matrix) - Method in class cloud.opencode.base.math.linalg.Matrix
Returns the element-wise difference of this matrix and another.
subtract(Vector) - Method in class cloud.opencode.base.math.linalg.Vector
Returns the element-wise difference of this vector and another.
sum() - Method in class cloud.opencode.base.math.stats.StreamingStatistics
Returns the sum of all added values.

T

TDistribution - Class in cloud.opencode.base.math.distribution
Immutable Student's t-distribution.
testName() - Method in record class cloud.opencode.base.math.stats.inference.TestResult
Returns the value of the testName record component.
TestResult - Record Class in cloud.opencode.base.math.stats.inference
Immutable record holding the result of a statistical hypothesis test.
TestResult(String, double, double, double) - Constructor for record class cloud.opencode.base.math.stats.inference.TestResult
Creates an instance of a TestResult record class.
toArray() - Method in class cloud.opencode.base.math.linalg.Matrix
Returns a defensive copy of the internal data as a 2D array.
toArray() - Method in class cloud.opencode.base.math.linalg.Vector
Returns a defensive copy of the internal components array.
toString() - Method in class cloud.opencode.base.math.distribution.BetaDistribution
 
toString() - Method in class cloud.opencode.base.math.distribution.BinomialDistribution
 
toString() - Method in class cloud.opencode.base.math.distribution.ChiSquaredDistribution
 
toString() - Method in class cloud.opencode.base.math.distribution.FDistribution
 
toString() - Method in class cloud.opencode.base.math.distribution.GammaDistribution
 
toString() - Method in class cloud.opencode.base.math.distribution.LogNormalDistribution
 
toString() - Method in class cloud.opencode.base.math.distribution.NormalDistribution
 
toString() - Method in class cloud.opencode.base.math.distribution.TDistribution
 
toString() - Method in record class cloud.opencode.base.math.interpolation.Interpolation.SplineCoefficients
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.math.linalg.Matrix
 
toString() - Method in class cloud.opencode.base.math.linalg.Vector
 
toString() - Method in record class cloud.opencode.base.math.stats.inference.TestResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.math.stats.Regression.LinearModel
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.math.stats.StreamingStatistics
 
trace() - Method in class cloud.opencode.base.math.linalg.Matrix
Returns the trace (sum of diagonal elements) of this square matrix.
transpose() - Method in class cloud.opencode.base.math.linalg.Matrix
Returns the transpose of this matrix.
trapezoid(DoubleUnaryOperator, double, double, int) - Static method in class cloud.opencode.base.math.integration.NumericalIntegration
Composite trapezoidal rule.
trials() - Method in class cloud.opencode.base.math.distribution.BinomialDistribution
Returns the number of trials.
TTest - Class in cloud.opencode.base.math.stats.inference
Student's t-test implementations for hypothesis testing.
tTestOneSample(double[], double) - Static method in class cloud.opencode.base.math.OpenMathLib
Performs a one-sample t-test.
tTestTwoSample(double[], double[]) - Static method in class cloud.opencode.base.math.OpenMathLib
Performs Welch's two-sample t-test.
twoSample(double[], double[]) - Static method in class cloud.opencode.base.math.stats.inference.TTest
Performs an independent two-sample t-test using Welch's method (unequal variances).

U

uniform(double, double) - Static method in class cloud.opencode.base.math.distribution.Distributions
Returns the PDF of a uniform distribution on [min, max].
unit(int, int) - Static method in class cloud.opencode.base.math.linalg.Vector
Creates a unit vector with 1.0 at the given index and 0.0 elsewhere.

V

value(double) - Method in class cloud.opencode.base.math.stats.Percentile
Computes the p-th percentile using the default LINEAR interpolation method.
value(double, Percentile.Method) - Method in class cloud.opencode.base.math.stats.Percentile
Computes the p-th percentile using the specified interpolation method.
valueOf(String) - Static method in enum class cloud.opencode.base.math.stats.Percentile.Method
Returns the enum constant of this class with the specified name.
values() - Static method in enum class cloud.opencode.base.math.stats.Percentile.Method
Returns an array containing the constants of this enum class, in the order they are declared.
variance() - Method in class cloud.opencode.base.math.distribution.BetaDistribution
Returns the variance of this distribution: alpha*beta / ((alpha+beta)^2 * (alpha+beta+1)).
variance() - Method in class cloud.opencode.base.math.distribution.BinomialDistribution
Returns the variance of this distribution: n * p * (1 - p).
variance() - Method in class cloud.opencode.base.math.distribution.GammaDistribution
Returns the variance of this distribution: shape * scale^2.
variance() - Method in class cloud.opencode.base.math.distribution.LogNormalDistribution
Returns the variance of this distribution: (exp(sigma^2) - 1) * exp(2*mu + sigma^2).
variance() - Method in class cloud.opencode.base.math.distribution.NormalDistribution
Returns the variance of this distribution.
variance() - Method in class cloud.opencode.base.math.stats.StreamingStatistics
Returns the population variance (biased, divided by n).
vector(double...) - Static method in class cloud.opencode.base.math.OpenMathLib
Creates a vector from components.
Vector - Class in cloud.opencode.base.math.linalg
Immutable mathematical vector backed by a double array.

W

weightedMean(double[], double[]) - Static method in class cloud.opencode.base.math.stats.Statistics
Computes the weighted arithmetic mean.

X

x() - Method in record class cloud.opencode.base.math.interpolation.Interpolation.SplineCoefficients
Returns the value of the x record component.

Z

zero(int) - Static method in class cloud.opencode.base.math.linalg.Vector
Creates a zero vector of the given dimension.
zero(int, int) - Static method in class cloud.opencode.base.math.linalg.Matrix
Creates a zero matrix with the given dimensions.
A B C D E F G H I K L M N O P Q R S T U V W X Z 
All Classes and Interfaces|All Packages|Serialized Form