|
Hawaii Hybrid
|
#include <iostream>#include <cmath>#include <vector>#include "loess.hpp"#include "hawaii.h"#include "arena.h"#include <Eigen/Dense>#include <float.h>
Classes | |
| struct | Shared_State |
| struct | Thread_Data |
Macros | |
| #define | ARENA_IMPLEMENTATION |
| #define | EIGEN_DONT_PARALLELIZE |
| #define | da_append(da, item) |
| #define | da_insert(da, i, item) |
Functions | |
| void | loess_init (double *x, double *y, size_t ilen) |
| void | loess_free () |
| Window | make_window (double *distances, size_t window_size) |
| double | tricube (double x) |
| double | bisquare (double x) |
| double | loess_estimate (double x, size_t window_size, size_t degree) |
| double * | loess_create_grid (double grid_xmin, double grid_xmax, size_t grid_npoints) |
| void * | worker_thread (void *arg) |
| int | get_number_of_available_cpus () |
| double * | loess_apply_smoothing (Smoothing_Config *config) |
Variables | |
| bool | loess_debug = false |
| WEIGHT_FUNC | loess_weight = WEIGHT_TRICUBE |
| LS_METHOD | ls_method = LS_COMPLETE_ORTHOGONAL_DECOMPOSITION |
| #define ARENA_IMPLEMENTATION |
| #define da_append | ( | da, | |
| item ) |
| #define da_insert | ( | da, | |
| i, | |||
| item ) |
| #define EIGEN_DONT_PARALLELIZE |
|
inline |
| int get_number_of_available_cpus | ( | ) |
| double * loess_apply_smoothing | ( | Smoothing_Config * | config | ) |
| double * loess_create_grid | ( | double | grid_xmin, |
| double | grid_xmax, | ||
| size_t | grid_npoints ) |
| double loess_estimate | ( | double | x, |
| size_t | window_size, | ||
| size_t | degree ) |
| void loess_free | ( | ) |
| void loess_init | ( | double * | x, |
| double * | y, | ||
| size_t | ilen ) |
| Window make_window | ( | double * | distances, |
| size_t | window_size ) |
|
inline |
| void * worker_thread | ( | void * | arg | ) |
| bool loess_debug = false |
| WEIGHT_FUNC loess_weight = WEIGHT_TRICUBE |
| LS_METHOD ls_method = LS_COMPLETE_ORTHOGONAL_DECOMPOSITION |