SG++-Doxygen-Documentation
|
Basic multiplaction with B and B^T on grids with no boundaries. More...
#include <AlgorithmDGEMV.hpp>
Public Member Functions | |
void | mult (GridStorage &storage, BASIS &basis, const DataVector &source, DataMatrix &x, DataVector &result) |
Performs the DGEMV Operation on the grid having a transposed matrix. More... | |
void | mult_transposed (GridStorage &storage, BASIS &basis, const DataVector &source, DataMatrix &x, DataVector &result) |
Performs the DGEMV Operation on the grid. More... | |
Basic multiplaction with B and B^T on grids with no boundaries.
If there are \(N\) basis functions \(\varphi(\vec{x})\) and \(m\) data points, then B is a (Nxm) matrix, with
\[ (B)_{i,j} = \varphi_i(x_j). \]
(The common known name for this operation is the BLAS routine DGEMV.)
|
inline |
Performs the DGEMV Operation on the grid having a transposed matrix.
This operation can be executed in parallel by setting the USEOMP define
storage | GridStorage object that contains the grid's points information |
basis | a reference to a class that implements a specific basis |
source | the coefficients of the grid points |
x | the d-dimensional vector with data points (row-wise) |
result | the result vector of the matrix vector multiplication |
References sgpp::base::DataMatrix::getNcols(), sgpp::base::DataMatrix::getRow(), sgpp::base::DataVector::getSize(), python.statsfileInfo::i, python.utils.data_projections::line, and sgpp::base::DataVector::setAll().
Referenced by sgpp::base::OperationMultipleEvalLinearStretched::mult(), sgpp::base::OperationMultipleEvalModLinear::mult(), sgpp::base::OperationMultipleEvalPrewavelet::mult(), sgpp::base::OperationMultipleEvalPoly::mult(), sgpp::base::OperationMultipleEvalPolyBoundary::mult(), sgpp::base::OperationMultipleEvalLinearBoundary::mult(), sgpp::base::OperationMultipleEvalPeriodic::mult(), sgpp::base::OperationMultipleEvalLinearStretchedBoundary::mult(), and sgpp::base::OperationMultipleEvalModPoly::mult().
|
inline |
Performs the DGEMV Operation on the grid.
This operation can be executed in parallel by setting the USEOMP define
storage | GridStorage object that contains the grid's points information |
basis | a reference to a class that implements a specific basis |
source | the coefficients of the grid points |
x | the d-dimensional vector with data points (row-wise) |
result | the result vector of the matrix vector multiplication |
References sgpp::base::DataVector::add(), sgpp::base::DataMatrix::getNcols(), sgpp::base::DataMatrix::getRow(), sgpp::base::DataVector::getSize(), python.statsfileInfo::i, python.utils.data_projections::line, and sgpp::base::DataVector::setAll().
Referenced by sgpp::base::OperationMultipleEvalLinearStretched::multTranspose(), sgpp::base::OperationMultipleEvalModLinear::multTranspose(), sgpp::base::OperationMultipleEvalPrewavelet::multTranspose(), sgpp::base::OperationMultipleEvalPoly::multTranspose(), sgpp::base::OperationMultipleEvalPolyBoundary::multTranspose(), sgpp::base::OperationMultipleEvalLinearBoundary::multTranspose(), sgpp::base::OperationMultipleEvalPeriodic::multTranspose(), sgpp::base::OperationMultipleEvalLinearStretchedBoundary::multTranspose(), and sgpp::base::OperationMultipleEvalModPoly::multTranspose().