Skip to content

Adding AbstractKernel #509

@Crown421

Description

@Crown421

This might be a controversial point, but I have a few times been surprised by the fact that Kernel is an abstract type.

I would like to propose/ consider adding AbstractKernel, with the subtypes SimpleKernel, MOKernel and Kernel, where Kernel would further be the supertype of the various kernels that are not mentioned.
This would be in line with how kernelmatrix is defined, which is specialized for SimpleKernels and for all concrete instances of MOKernels, but falls back to kernel.(x, permutedims(y)) for Kernels, which should continue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions