mhtirogla
Home
Systems
API
Pricing
About
Log in
← Back
Home
›
Systems
›
Finance and trading
derivatives-pricing
derivatives pricing engine
Monte Carlo, PDE pricers
System
Techniques · 4
Primitives · 21
derivatives-pricing
Binomial lattice pricing
finance · medium: Recombining price tree with risk-neutral probabilities and backward induction; the cheapest way to price early-exercise claims, O(N²) time and O(N) memory.
›
Least squares monte carlo
finance · medium: Longstaff-Schwartz regression for early-exercise options in Monte Carlo
Yield curve bootstrapping
finance · medium: Turn quoted deposits, futures and swaps into a discount curve by solving one new maturity per instrument so that every quote reprices exactly.
›
Levenberg marquardt
numerics · medium: Damped Gauss-Newton nonlinear least squares for model calibration
Black-Scholes-Merton formula
finance · low: Closed-form European option price and Greeks from spot, strike, time, rates and volatility; Newton inversion gives implied volatility. About 30 ns each.
›
Day count conventions
finance · low: ACT/360, ACT/365, 30/360, ACT/ACT accrual fractions for interest and coupons
Low discrepancy sequences
numerics · low: Sobol, Halton and blue-noise sequences with scrambling for quasi-Monte Carlo
Monte Carlo integration
numerics · low: Estimate an expectation by averaging random samples; error falls as σ/√N in any dimension, and variance reduction (antithetic, control variates, importance sampling) shrinks σ.
›
Newton root finding
numerics · low: Linearize at the guess and jump to the tangent root; quadratic convergence near a simple root, made robust by brackets (1D) or line search.
›
Spline interpolation
numerics · low: Linear, bilinear/trilinear and cubic spline interpolation on grids and tables
Finite differences
numerics · low: Replace derivatives with weighted differences of grid values; simple stencils plus a stability condition (CFL) turn PDEs like heat, advection and waves into array loops.
›
LU and Cholesky factorization
numerics · low: Factor A = PLU (any square matrix, partial pivoting) or A = LLᵀ (SPD) once in O(n³), then solve each right-hand side in O(n²).
›
SIMD programming
hardware-os · low: Process 4-16 lanes per instruction with AVX2, AVX-512 or NEON via Rust std::arch, with runtime dispatch and a portable fallback.
›
CUDA and GPU languages
languages · low: Programming GPUs: thousands of lockstep threads, bound by memory bandwidth; libraries first, Triton for fused kernels, CUDA C++ for peak speed.
›
Reverse-mode automatic differentiat…
ml-training · low: Record the forward computation on a tape, then sweep it backwards once to get the gradient of a scalar loss for all inputs.
›
Fast Fourier transform
numerics · low: Computes the DFT in O(n log n) by recursively splitting into even and odd halves; the basis of fast convolution and spectral methods.
›
Floating-point error
numerics · low: How IEEE 754 rounding error accumulates and how to contain it: compensated (Kahan/Neumaier) and pairwise summation, error-free transformations with FMA, ULP comparisons.
›
L-BFGS
numerics · low: Quasi-Newton minimizer that approximates the inverse Hessian from the last m gradient differences via the two-loop recursion; O(m·n) memory and work per step.
›
PRNGs (PCG, xoshiro)
numerics · low: Small, fast, statistically strong non-cryptographic generators: PCG32 and xoshiro256**, with seeding, parallel streams and unbiased ranges.
›
Thomas tridiagonal solver
numerics · low: O(n) tridiagonal linear solve used in implicit finite-difference and spline schemes
+ 5 more primitives
System
Techniques · 4
Primitives · 21
derivatives-pricing
Binomial lattice pricing
finance · medium: Recombining price tree with risk-neutral probabilities and backward induction; the cheapest way to price early-exercise claims, O(N²) time and O(N) memory.
›
Least squares monte carlo
finance · medium: Longstaff-Schwartz regression for early-exercise options in Monte Carlo
Yield curve bootstrapping
finance · medium: Turn quoted deposits, futures and swaps into a discount curve by solving one new maturity per instrument so that every quote reprices exactly.
›
Levenberg marquardt
numerics · medium: Damped Gauss-Newton nonlinear least squares for model calibration
Black-Scholes-Merton formula
finance · low: Closed-form European option price and Greeks from spot, strike, time, rates and volatility; Newton inversion gives implied volatility. About 30 ns each.
›
Day count conventions
finance · low: ACT/360, ACT/365, 30/360, ACT/ACT accrual fractions for interest and coupons
Low discrepancy sequences
numerics · low: Sobol, Halton and blue-noise sequences with scrambling for quasi-Monte Carlo
Monte Carlo integration
numerics · low: Estimate an expectation by averaging random samples; error falls as σ/√N in any dimension, and variance reduction (antithetic, control variates, importance sampling) shrinks σ.
›
Newton root finding
numerics · low: Linearize at the guess and jump to the tangent root; quadratic convergence near a simple root, made robust by brackets (1D) or line search.
›
Spline interpolation
numerics · low: Linear, bilinear/trilinear and cubic spline interpolation on grids and tables
Finite differences
numerics · low: Replace derivatives with weighted differences of grid values; simple stencils plus a stability condition (CFL) turn PDEs like heat, advection and waves into array loops.
›
LU and Cholesky factorization
numerics · low: Factor A = PLU (any square matrix, partial pivoting) or A = LLᵀ (SPD) once in O(n³), then solve each right-hand side in O(n²).
›
SIMD programming
hardware-os · low: Process 4-16 lanes per instruction with AVX2, AVX-512 or NEON via Rust std::arch, with runtime dispatch and a portable fallback.
›
CUDA and GPU languages
languages · low: Programming GPUs: thousands of lockstep threads, bound by memory bandwidth; libraries first, Triton for fused kernels, CUDA C++ for peak speed.
›
Reverse-mode automatic differentiat…
ml-training · low: Record the forward computation on a tape, then sweep it backwards once to get the gradient of a scalar loss for all inputs.
›
Fast Fourier transform
numerics · low: Computes the DFT in O(n log n) by recursively splitting into even and odd halves; the basis of fast convolution and spectral methods.
›
Floating-point error
numerics · low: How IEEE 754 rounding error accumulates and how to contain it: compensated (Kahan/Neumaier) and pairwise summation, error-free transformations with FMA, ULP comparisons.
›
L-BFGS
numerics · low: Quasi-Newton minimizer that approximates the inverse Hessian from the last m gradient differences via the two-loop recursion; O(m·n) memory and work per step.
›
PRNGs (PCG, xoshiro)
numerics · low: Small, fast, statistically strong non-cryptographic generators: PCG32 and xoshiro256**, with seeding, parallel streams and unbiased ranges.
›
Thomas tridiagonal solver
numerics · low: O(n) tridiagonal linear solve used in implicit finite-difference and spline schemes
Linear and logistic regression
machine-learning · low: Fit a weighted sum of features to a number (least squares) or a probability (logistic); the baseline every model must beat.
›
Business day calendars
systems · low: Holiday calendars, business-day adjustment rules (following, modified following) and settlement cycles
Loss functions
machine-learning · low: The scalar a model minimizes: cross-entropy for classes and tokens, MSE or Huber for values, each with a stable form and simple gradient.
›
Rejection sampling
ml-training · low: Best-of-n and filtered sampling: generate many candidates, keep those passing a verifier or reward threshold
Explicit Euler
numerics · low: Step an ODE forward by its current slope, y += h·f(t, y); first-order, one evaluation per step, the baseline every other integrator is measured against.
›
Copy for AI
Similar systems
Share the most building blocks with this one.
nonlinear-solver
24 %
nonlinear-optimizer
23 %
trading-risk-platform
21 %
probabilistic-programming
19 %
ode-dae-solver
19 %