chundoong-lab-ta/SHPC2022/hw4_answer/riemannsum/util.h

12 lines
210 B
C
Raw Normal View History

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);