WeightedLowess
A C++ library for LOWESS with various weighting schemes
Loading...
Searching...
No Matches
interpolate.hpp File Reference

Interpolate from the fitted trend. More...

#include <vector>
#include <cstddef>
#include <utility>
#include "sanisizer/sanisizer.hpp"
#include "window.hpp"
#include "utils.hpp"
Include dependency graph for interpolate.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  WeightedLowess::AssignedSegments
 Assigned segments. More...
 

Namespaces

namespace  WeightedLowess
 Namespace for LOWESS functions.
 

Functions

template<typename Data_ >
AssignedSegments WeightedLowess::assign_to_segments (const Data_ *const x_fit, const PrecomputedWindows< Data_ > &windows_fit, const std::size_t num_points_out, const Data_ *const x_out)
 
std::pair< std::size_t, std::size_t > WeightedLowess::get_interpolation_boundaries (const AssignedSegments &assigned_out)
 
template<typename Data_ >
void WeightedLowess::interpolate (const Data_ *const x_fit, const PrecomputedWindows< Data_ > &windows_fit, const Data_ *const fitted_fit, const Data_ *const x_out, const AssignedSegments &assigned_out, Data_ *const fitted_out, int num_threads)
 
template<typename Data_ >
std::pair< std::size_t, std::size_t > WeightedLowess::interpolate (const Data_ *const x_fit, const PrecomputedWindows< Data_ > &windows_fit, const Data_ *const fitted_fit, const std::size_t num_points_out, const Data_ *const x_out, Data_ *const fitted_out, int num_threads)
 

Detailed Description

Interpolate from the fitted trend.