class gpr::Kronecker

Overview

Kronecker : \(K = k \otimes M\) for a fixed Gram \(M\). More…

#include <gpr/covariance_functions/KernelOperator.h>
 
class Kronecker {
public:
    // construction
 
    Kronecker(Eigen::MatrixXd gram);
 
    // methods
 
    const Eigen::MatrixXd& gram() const;
    Eigen::MatrixXd apply(const Eigen::MatrixXd& scalar_kernel) const;
    static Kronecker identity(Eigen::Index dimension);
};

Detailed Documentation

Kronecker : \(K = k \otimes M\) for a fixed Gram \(M\).

\(M\) may be any finite square Gram, including the chart projector \(N N^T\). The identity Gram \(M = I\) yields \(K = k \otimes I\).

Methods

Eigen::MatrixXd apply(const Eigen::MatrixXd& scalar_kernel) const

\(K = k \otimes M\), where \(k\) is an \(n \times n\) scalar kernel.