SG++-Doxygen-Documentation
sgpp::solver::ZeroFunction Class Reference

The ZeroFunction class. More...

#include <ZeroFunction.hpp>

Inheritance diagram for sgpp::solver::ZeroFunction:
sgpp::solver::RegularizationFunction

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...
 

Detailed Description

The ZeroFunction class.

Corresponds to the trivial regularization function, which is zero in all cases.

Member Function Documentation

◆ eval()

double sgpp::solver::ZeroFunction::eval ( base::DataVector  weights)
inlineoverridevirtual

eval evaluates the regularization function for weights.

Parameters
weights

Implements sgpp::solver::RegularizationFunction.

◆ prox()

base::DataVector sgpp::solver::ZeroFunction::prox ( const base::DataVector weights,
double  stepsize 
)
inlineoverridevirtual

prox evaluates the proximal operator for the function for weights.

Parameters
weights
stepsizeis the stepsize used for the proximal step

Implements sgpp::solver::RegularizationFunction.


The documentation for this class was generated from the following file: