safepine_os.math

High-performance linear algebra and statistical analysis utilities for deterministic simulations.

auto A = new Matrix([[4.0, 7.0], [2.0, 5.0]]);
auto b = new Matrix([[1.0], [2.0]]);

auto det = A.Det;
auto A_inv = A.Inv;

auto x = A_inv * b;
double mean = x.Mean();

Modules

behavioural_cloning
module safepine_os.math.behavioural_cloning

Copyright (C) 2026 Safepine LLC

filters
module safepine_os.math.filters

Copyright (C) 2026 Safepine LLC

matrix
module safepine_os.math.matrix

Copyright (C) 2026 Safepine LLC

matrix_struct
module safepine_os.math.matrix_struct

Copyright (C) 2026 Safepine LLC

optimization
module safepine_os.math.optimization

Copyright (C) 2026 Safepine LLC

statistics
module safepine_os.math.statistics

Copyright (C) 2026 Safepine LLC