|
fastlowess-cpp
High-performance LOWESS smoothing
|
C++ wrapper for fastLowess library. More...
#include <algorithm>#include <atomic>#include <cmath>#include <cstdint>#include <cstdio>#include <cstdlib>#include <cstring>#include <filesystem>#include <fstream>#include <initializer_list>#include <iostream>#include <limits>#include <optional>#include <stdexcept>#include <string>#include <system_error>#include <utility>#include <vector>#include <cerrno>#include <dlfcn.h>#include <spawn.h>#include <sys/wait.h>#include <unistd.h>#include "fastlowess.h"#include "fastlowess_version.h"Go to the source code of this file.
Namespaces | |
| namespace | fastlowess |
| namespace | fastlowess::detail |
| namespace | fastlowess::gpu |
| namespace | fastlowess::gpu::detail |
Enumerations | |
| enum class | fastlowess::OnlinePointStatus : std::int8_t { fastlowess::Filling = 0 , fastlowess::Ready = 1 , fastlowess::Dropped = -1 } |
Outcome of OnlineLowess::add_point. More... | |
Functions | |
| bool | fastlowess::hasOutput (const std::vector< std::string > &outputs, const char *name) |
| void | fastlowess::validateOutputs (const std::vector< std::string > &outputs, std::initializer_list< const char * > supported, const char *adapter) |
| void | fastlowess::throwInitializationError (const char *fallback) |
| OnlinePointStatus | fastlowess::onlinePointStatusFromRaw (int has_value) |
Variables | |
| constexpr double | fastlowess::detail::k_default_fraction = 0.67 |
| constexpr int | fastlowess::detail::k_default_cv_k = 5 |
| constexpr int | fastlowess::detail::k_default_chunk_size = 5000 |
| constexpr int | fastlowess::detail::k_default_overlap = -1 |
| Sentinel meaning "use the library default" (chunk_size / 10, clamped to [1, chunk_size - 10]); negative values are never sent to the FFI layer. | |
| constexpr int | fastlowess::detail::k_default_window_capacity = 1000 |
| constexpr int | fastlowess::detail::k_default_min_points = 2 |
C++ wrapper for fastLowess library.
Provides idiomatic C++ access to LOWESS smoothing with RAII, exceptions, and STL container support.