Bring the whole workspace into compliance with the repo's rustfmt config (edition 2024, max_width 100, use_small_heuristics = "Max"), which had drifted across many crates. Pure formatting — no logic changes; `cargo fmt --check` is now clean and `cargo build --workspace` is green.
7 lines
252 B
Rust
7 lines
252 B
Rust
use lawsynth_data::TimeAxis;
|
|
use lawsynth_dynamics::central_derivative;
|
|
fn main() {
|
|
let time = TimeAxis::new(vec![0.0, 1.0, 2.0, 3.0]).unwrap();
|
|
println!("central derivative: {:?}", central_derivative(&time, &[0.0, 1.0, 4.0, 9.0]).unwrap());
|
|
}
|