SG++-Doxygen-Documentation
|
Implementation of the application of a diagonal matrix to a DataVector for regularization. More...
#include <OperationRegularizationDiagonalLinearBoundary.hpp>
Public Member Functions | |
OperationRegularizationDiagonalLinearBoundary (base::GridStorage *storage, int mode, double k) | |
Constructor of OperationRegularizationDiagonalLinearBoundary. More... | |
Public Member Functions inherited from sgpp::datadriven::OperationRegularizationDiagonal | |
virtual void | mult (base::DataVector &alpha, base::DataVector &result) |
Multiplication with diagonal matrix. More... | |
OperationRegularizationDiagonal (base::GridStorage *storage, int mode, double k) | |
Constructor of OperationRegularizationDiagonal. More... | |
virtual | ~OperationRegularizationDiagonal () |
Destructor. More... | |
Public Member Functions inherited from sgpp::base::OperationMatrix | |
OperationMatrix () | |
Constructor. More... | |
virtual | ~OperationMatrix () |
Destructor. More... | |
Protected Member Functions | |
virtual void | initH0HkLaplace (double k) |
Initialize H0HkLaplace. More... | |
virtual void | initHkmix (double k) |
Initialize Hkmix. More... | |
Protected Member Functions inherited from sgpp::datadriven::OperationRegularizationDiagonal | |
virtual void | init () |
Check for mode and run corresponding init. More... | |
virtual void | initAnisotropicPenalty () |
Initialize ANISOTROPIC_PENALTY, ignores constructor parameter k. More... | |
virtual void | initIsotropicPenalty () |
Initialize ISOTROPIC_PENALTY, ignores constructor parameter k. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from sgpp::datadriven::OperationRegularizationDiagonal | |
static const int | ANISOTROPIC_PENALTY = 4 |
static const int | H0HKLAPLACE = 2 |
Diagonal scaling for pseudo-laplace, replacing \(L_2\) with \(H^0\) in 1d. More... | |
static const int | HKMIX = 1 |
Diagonal scaling for \(H^k_\textbf{mix}\)-norm (product of \(H^k\) 1D norms) More... | |
static const int | ISOTROPIC_PENALTY = 3 |
Protected Attributes inherited from sgpp::datadriven::OperationRegularizationDiagonal | |
base::DataVector | diagonal |
double | k |
int | mode |
size_t | size |
base::GridStorage * | storage |
Implementation of the application of a diagonal matrix to a DataVector for regularization.
This class implements several scaling possibilities for piecewise linear basis functions with and without boundaries.
sgpp::datadriven::OperationRegularizationDiagonalLinearBoundary::OperationRegularizationDiagonalLinearBoundary | ( | base::GridStorage * | storage, |
int | mode, | ||
double | k | ||
) |
Constructor of OperationRegularizationDiagonalLinearBoundary.
storage | Pointer to grid's storage object |
mode | Mode, specifying which regularization to use. Example: OperationRegularizationDiagonal::HKMIX. |
k | Parameter for \(H^k\) |
References sgpp::datadriven::OperationRegularizationDiagonal::init().
|
protectedvirtual |
Initialize H0HkLaplace.
k | Parameter k |
Implements sgpp::datadriven::OperationRegularizationDiagonal.
References sgpp::datadriven::OperationRegularizationDiagonal::diagonal, chess::dim, sgpp::base::HashGridStorage::getDimension(), sgpp::base::HashGridPoint::getLevel(), sgpp::base::HashGridStorage::getPoint(), python.statsfileInfo::i, sgpp::combigrid::pow(), sgpp::datadriven::OperationRegularizationDiagonal::size, and sgpp::datadriven::OperationRegularizationDiagonal::storage.
|
protectedvirtual |
Initialize Hkmix.
k | Parameter k |
Implements sgpp::datadriven::OperationRegularizationDiagonal.
References sgpp::datadriven::OperationRegularizationDiagonal::diagonal, chess::dim, sgpp::base::HashGridStorage::getDimension(), sgpp::base::HashGridPoint::getLevel(), sgpp::base::HashGridStorage::getPoint(), python.statsfileInfo::i, sgpp::combigrid::pow(), sgpp::datadriven::OperationRegularizationDiagonal::size, and sgpp::datadriven::OperationRegularizationDiagonal::storage.