e-tipsmemo

ごった煮

2017-12-25から1日間の記事一覧

Rustでマルチスレッド 試用

rustbyexample.comここを参考に e-tipsmemo.hatenablog.com をマルチスレッド化してみる。 ついでに積分計算は台形で行うように変更した。 extern crate test; use std::thread; #[derive(Debug, Copy, Clone)] struct Fx { a: f64, b: f64, step: u64, f: f…