SG++-Doxygen-Documentation
|
The ZeroFunction class. More...
#include <ZeroFunction.hpp>
Public Member Functions | |
double | eval (base::DataVector weights) override |
eval evaluates the regularization function for weights. More... | |
base::DataVector | prox (const base::DataVector &weights, double stepsize) override |
prox evaluates the proximal operator for the function for weights. More... | |
The ZeroFunction class.
Corresponds to the trivial regularization function, which is zero in all cases.
|
inlineoverridevirtual |
eval evaluates the regularization function for weights.
weights |
Implements sgpp::solver::RegularizationFunction.
|
inlineoverridevirtual |
prox evaluates the proximal operator for the function for weights.
weights | |
stepsize | is the stepsize used for the proximal step |
Implements sgpp::solver::RegularizationFunction.