| Crates.io | toraniko-math |
| lib.rs | toraniko-math |
| version | 0.2.0 |
| created_at | 2025-12-22 15:22:48.083439+00 |
| updated_at | 2025-12-25 15:46:35.534946+00 |
| description | Mathematical operations for the toraniko factor model |
| homepage | https://github.com/factordynamics/toraniko-rs |
| repository | https://github.com/factordynamics/toraniko-rs |
| max_upload_size | |
| id | 1999869 |
| size | 90,095 |
Mathematical operations for the toraniko factor model.
center_xsection - Cross-sectional centering and standardizationnorm_xsection - Normalize to a rangepercentiles_xsection - Percentile-based maskingwinsorize - Clip array to symmetric percentileswinsorize_xsection - Cross-sectional winsorizationexp_weights - Exponentially decaying weightsweighted_least_squares - WLS regressionconstrained_wls - Factor model with sector constraintuse toraniko_math::{center_xsection, winsorize, exp_weights};