Blame view

src/ExternLib/Fix/Fix.hh 598 Bytes
74a11471   Benjamin Renard   Add min, max, var...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/**
 * Fix.hh
 *
 *  Created on: 23 jun. 2018
 *      Author: AKKA IS
 */

#ifndef FIX_HH_
#define FIX_HH_

#include <vector>

/**
 * @bried Compute the fix of el
 */
int Fix(const float& el);

int Fix(const double& el);

int Fix(const long double& el);

int Fix(const int& el);

int Fix(const short& el);

std::vector<int> Fix(const std::vector<float>& el);

std::vector<int> Fix(const std::vector<double>& el);

std::vector<int> Fix(const std::vector<long double>& el);

std::vector<int> Fix(const std::vector<int>& el);

std::vector<int> Fix(const std::vector<short>& el);

#endif /* FIX_HH_ */