| Crates.io | beaumont-numbers |
| lib.rs | beaumont-numbers |
| version | 0.1.2 |
| created_at | 2025-11-08 13:25:12.472452+00 |
| updated_at | 2025-11-13 16:17:29.816693+00 |
| description | Algorithmic trading for quantitative financial applications |
| homepage | |
| repository | https://github.com/pangiole/beaumont |
| max_upload_size | |
| id | 1922856 |
| size | 44,646 |
Algorithmic trading for quantitative financial applications in Rust language.
[!WARNING]
This crate is in an early stage of development and not production ready yet.
Use with caution!
This project has been built and published are reusable create to both crates.io and docs.rs, and it provides basic implementations for numbers, linear algebra, and financial algorithms.
A basic implementation of decimal numbers in fixed-point arithmetic.
A basic implementation of linear algebra common operations.
use beaumont::*;
let v1 = vector![1, 2, 3];
// Comparing for equality
assert_eq!(v1, vector![1, 2, 3]);
// Negation
let negated = v1.neg();
assert_eq!(negated, vector![-1, -2, -3]);
// Scalar multiplication
let v2 = v1.scale_by(2);
assert_eq!(v2, vector![2, 4, 6]);
// Addition
let v3 = Vector::from([1, 2, 3]);
let v4 = v1.add(&v2);
assert_eq!(v4, vector![3, 6, 9]);
// Dot product
let s = v1.dot(&v2);
assert_eq!(s, 28);
...
...