interpolate.hh 766 Bytes
Newer Older
1
2
3
4
5
6
7
/*
 * File:    interpolate.hh
 */

#ifndef RADIX_RADIXMATH_INTEPOLATE_HH_
#define RADIX_RADIXMATH_INTEPOLATE_HH_

8
9
#include "../../build/radix/radixcore/visibility.hh"
//#include "radixcore/visibility.hh"
10
11
12
13
14

#include <vector>

namespace radix
{
15
16
17
18
template <typename T>
extern std::vector<T> RADIX_PUBLIC interpolateValues(
    const std::vector<T> &baseValues, const std::vector<T> &valuesToInterpolate,
    const bool circular = false, const T missingValue = -9999.f);
19

20
21
22
23
24
template <typename T>
std::vector<T> RADIX_PUBLIC interpolateToOtherBaseValues(
    const std::vector<T> &baseValues, const std::vector<T> &newBaseValues,
    const std::vector<T> &valuesToInterpolate, const bool circular = false,
    const T missingValues = -9999.f);
25
26
27
28

}  // namespace radix

#endif