Blame view

src/ExternLib/Floor/Floor.hh 628 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
/**
 * Floor.hh
 *
 *  Created on: 23 jun. 2018
 *      Author: AKKA IS
 */

#ifndef FLOOR_HH_
#define FLOOR_HH_

#include <vector>

/**
 * @bried Compute the floor of el
 */
int Floor(const float& el);

int Floor(const double& el);

int Floor(const long double& el);

int Floor(const int& el);

int Floor(const short& el);

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

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

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

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

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

#endif /* FLOOR_HH_ */