MSUStudentWork/WorkingArrays/15Ex/replace_local_min.h
2024-10-20 20:55:11 +03:00

16 lines
392 B
C

#ifndef REPLACE_LOCAL_MIN
#define REPLACE_LOCAL_MIN
#include <math.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#define exp 1.e-6
int findAndReplaceLocalMin(double * numbers);
double min(double * numbers);
void findLocalMinimum(double * numbers, unsigned length, unsigned *start_end_minimum_index);
bool isEqual(double first, double second);
#endif // REPLACE_LOCAL_MIN