Module monte_carlo

Module monte_carlo 

Source
Expand description

Monte Carlo simulation support with statistical analysis

This module provides core statistical functions for Monte Carlo trajectory analysis, including CEP (Circular Error Probable), confidence ellipses, and trajectory evaluation.

MBA-157: Upstreamed from ballistics_rust for shared use across the ecosystem

Structs§

TrajectoryOutput
Simple trajectory output for Monte Carlo analysis

Functions§

calculate_cep
Calculate CEP (Circular Error Probable) from impact points
calculate_confidence_ellipse
Calculate 95% confidence ellipse parameters using covariance matrix
percentile
Calculate percentile from sorted values
sample_points_for_visualization
Sample points for visualization (limit to avoid huge payloads)
solve_trajectory_for_monte_carlo
Solve trajectory for Monte Carlo run