How lvlath/go works
lvlath is a deterministic, contract-driven Go algorithm library, not a single application. A typical workflow is a caller choosing a package and explicit policy, supplying validated inputs, invoking its algorithm, and receiving a result or classified error. The packages cover graph construction and analysis, time-series and statistical transforms, modeling, and reproducible simulation. The graph groups major capabilities rather than enumerating every package. Edges are limited to relationships evidenced by the excerpts or README; unsampled package internals and cross-package wiring are not inferred.
Main entry points: matrix/api.go Dense graph algebra · rng Deterministic RNG · flow/api.go Network flow · predict.go Linear regression
Components 24
Graphs and optimization
- Graph topology
core/methods_edges.go - Graph builders
builder - Graph traversal
bfs - Weighted routing
dijkstra - Dense graph algebra
matrix/api.go - Network flow
flow/api.go - Network optimization
tsp
Series and symbols
- Series transforms
series - Fractional PAA
paa - Symbolic SAX
sax/encoder.go - Retrieval audits
tfsax
Statistics and models
- Moments and autocorrelation
stats - Linear regression
ols/predict.go - Ridge regression
ridge/fit.go - Covariance PCA
pca/spectrum.go - Hidden Markov models
hmm/em_gaussian.go - Time-series models
arima - LSTM inference
lstm
Market indicators
- Causal market indicators
donchian
Randomness and simulation
- Deterministic RNG
rng - Block resampling
bootstrap/api.go - Parallel Monte Carlo
montecarlo/worker.go - Financial path simulation
jumpdiffusion/poisson.go
Other components
- Go caller
Connections 19
- Go caller → Graph builders: builds graphs
README.md - Go caller → Series transforms: transforms data
README.md - Go caller → Moments and autocorrelation: analyzes data
README.md - Go caller → Linear regression: fits or predicts
README.md - Go caller → Causal market indicators: computes indicators
README.md - Go caller → Block resampling: resamples indices
README.md - Go caller → Parallel Monte Carlo: runs simulations
README.md - Go caller → LSTM inference: runs inference
README.md - Network flow → Graph topology: reads graph
flow/api.go - Network flow → Dense graph algebra: builds capacity matrix
flow/api.go - Symbolic SAX → Fractional PAA: encodes PAA
sax/encoder.go - Covariance PCA → Dense graph algebra: uses eigensolver
pca/spectrum.go - Ridge regression → Dense graph algebra: uses QR
ridge/fit.go - Linear regression → Dense graph algebra: reads matrix
ols/predict.go - Hidden Markov models → Dense graph algebra: builds dense matrices
hmm/em_gaussian.go - Block resampling → Deterministic RNG: creates streams
bootstrap/api.go - Parallel Monte Carlo → Deterministic RNG: creates path streams
montecarlo/worker.go - Financial path simulation → Deterministic RNG: samples counts
jumpdiffusion/poisson.go - Network optimization → Dense graph algebra: uses distance matrix
tsp/localsearch_3opt.go