JuliaGaussianProcesses / KernelFunctions.jl

Julia package for kernel functions for machine learning
https://juliagaussianprocesses.github.io/KernelFunctions.jl/stable/
MIT License
267 stars 32 forks source link

Make `spectral_mixture_kernel` type stable for StaticArrays #500

Closed theogf closed 1 year ago

theogf commented 1 year ago

Fix #490 by changing the implementation (use intermediate vector representation) and checking that this works for StaticArrays.

Additionally add a note in the docs to suggest using StaticArrays to get a type stable constructor.

theogf commented 1 year ago

Ah I did not checkout from master...