2022-11-07 14:36:30 +09:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
void timer_init();
|
|
|
|
|
|
|
|
void timer_start(int i);
|
|
|
|
|
|
|
|
double timer_stop(int i);
|
|
|
|
|
2022-11-07 15:53:06 +09:00
|
|
|
void check_riemannsum(int num_intervals, double parallel_result);
|
|
|
|
|
2022-11-07 14:36:30 +09:00
|
|
|
// Assume f is a black-box operation
|
|
|
|
double f(double x);
|