Field<T>
↓java
T getZero() // 체의 덧셈 항등원
T getOne() // 체의 곱셈 항등원
Class<? extends FieldElement<T>> getRuntimeClass()
FieldElement<T>
add, subtract, negate(덧셈 역원), multiply, divide, reciprocal(곱셈 역원), getField
...analysis
미/적분, 보간 등
...complex
복소수
...distributionn
확률 분포
...fitting
Curve fitting
...fraction
분수
...genetics
유전 알고리즘
...geometry
기하
...linear
선형대수
...ml
머신 러닝
...ode
상미분방정식
...optim
최적화 문제
...primes
Primes
↓java
static boolean isPrime(int n)
static int nextPrime(int n)
static List<Integer> primeFactors(int n) // 소인수분해
...random
MersenneTwister, GaussianRandomGenerator, ISAACRandom 등
...stat
통계
StatUils
↓java
static double sum(double[] values)
static double sumSq(double[] values) // 제곱합
static double product(double[] values)
static double sumLog(double[] values) // 자연로그합
static double mean(double[] values)
static double geometricMean(double[] values) // 기하평균
static double variance(double[] values) // 분산; / (n-1)
static double populationVariance(double[] values) // 분산; / N
static double max(double[] values) // + min
static double percentile(double[] values, double p)
static double sumDifference(double[] sample1, double[] sample2)
static double meanDifference(double[] sample1, double[] sample2)
static double[] normalize(double[] sample)
static double[] mode(double[] sample) // 최빈값
...util
ArithmeticUtils
↓java
static int addAndCheck(int x, int y)
// 오버플로 감지시 예외 발생 + mulAndCheck, subAndCheck, pow
static int gcd(int p, int q) // + lcm
Combinations
조합
CombinatoricsUtils
↓java
static long binomialCoefficient(int n, int k) // 이항계수
static long factorial(int n)
FastMatth
Math, StrictMath 보다 빠른 유틸리티