39 #ifndef SHARK_LINALG_REGULARIZEDKERNELMATRIX_H 40 #define SHARK_LINALG_REGULARIZEDKERNELMATRIX_H 61 template <
class InputType,
class CacheType>
76 const RealVector& diagModification
83 {
return entry(i, j); }
86 QpFloatType
entry(std::size_t i, std::size_t j)
const 97 void row(std::size_t k, std::size_t start,std::size_t end, QpFloatType* storage)
const{
100 if(k >= start && k < end){
108 blas::matrix_expression<M, blas::cpu_tag> & storage
111 for(std::size_t k = 0; k !=
size(); ++k){
112 storage()(k,k) += (QpFloatType)
m_diagMod(k);