PLSSVM - Parallel Least Squares Support Vector Machine
2.0.0
A Least Squares Support Vector Machine implementation using different backends.
|
Defines universal utility functions. More...
#include "plssvm/default_value.hpp"
#include "plssvm/detail/type_traits.hpp"
#include <algorithm>
#include <cstddef>
#include <iterator>
#include <string>
#include <tuple>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
plssvm | |
The main namespace containing all public API functions. | |
plssvm::detail | |
Namespace containing implementation details. Should not directly be used by users. | |
Functions | |
void | plssvm::detail::unreachable () |
Invokes undefined behavior. Used to mark code paths that may never be reachable. More... | |
template<std::size_t I, typename... Types> | |
constexpr decltype(auto) | plssvm::detail::get (Types &&...args) noexcept |
Get the I-th element of the parameter pack args at compile-time. More... | |
template<typename Enum > | |
constexpr std::underlying_type_t< Enum > | plssvm::detail::to_underlying (const Enum e) noexcept |
Converts an enumeration to its underlying type. More... | |
template<typename Enum > | |
constexpr std::underlying_type_t< Enum > | plssvm::detail::to_underlying (const default_value< Enum > &e) noexcept |
Converts an enumeration wrapped in a plssvm::default_value to its underlying type. More... | |
template<typename Container , typename Pred , PLSSVM_REQUIRES(is_container_v< Container >) > | |
Container::size_type | plssvm::detail::erase_if (Container &c, Pred pred) |
Implements an erase_if function for different containers according to https://en.cppreference.com/w/cpp/container/map/erase_if. More... | |
template<typename Container , typename T , PLSSVM_REQUIRES(is_container_v< Container >) > | |
bool | plssvm::detail::contains (const Container &c, const T &val) |
Check whether the Container c contains the value val . More... | |
std::string | plssvm::detail::current_date_time () |
Return the current date time in the format "YYYY-MM-DD hh:mm:ss". More... | |
Defines universal utility functions.