Loading...
Searching...
No Matches
ForceNorm.h File Reference
#include <Eigen/Core>
#include <algorithm>
#include <limits>
#include <optional>
#include <stdexcept>
#include <string>
#include <string_view>
#include "../Enums.h"

Go to the source code of this file.

Namespaces

namespace  gpr
 Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.

Functions

std::optional< ConvergenceNormType > gpr::parseForceNorm (std::string_view name)
std::string_view gpr::forceNormName (std::optional< ConvergenceNormType > norm)
template<class Derived>
double gpr::forceNorm (const Eigen::MatrixBase< Derived > &force, ConvergenceNormType norm)
template<class Derived>
double gpr::forceDualNorm (const Eigen::MatrixBase< Derived > &direction, ConvergenceNormType norm)