Delegate DirectILKernelGenerator.GramKernel
Computes the symmetric Gram matrix G = A @ B^T for row-major
A, B each shaped (m, k), into the (m, m) buffer
g. The result is symmetric (g[i,j] == g[j,i]); the upper
triangle is computed and mirrored. For the unweighted covariance
a == b (the same buffer); the weighted form passes b = Xc*w.
public delegate void DirectILKernelGenerator.GramKernel(void* a, void* b, void* g, int m, long k)
Parameters
avoid*- Computes the symmetric Gram matrix G = A @ B^T for row-major A, B each shaped (m, k), into the (m, m) buffer g. The result is symmetric (g[i,j] == g[j,i]); the upper triangle is computed and mirrored. For the unweighted covariance a == b (the same buffer); the weighted form passes b = Xc*w.
bvoid*- Computes the symmetric Gram matrix G = A @ B^T for row-major A, B each shaped (m, k), into the (m, m) buffer g. The result is symmetric (g[i,j] == g[j,i]); the upper triangle is computed and mirrored. For the unweighted covariance a == b (the same buffer); the weighted form passes b = Xc*w.
gvoid*- Computes the symmetric Gram matrix G = A @ B^T for row-major A, B each shaped (m, k), into the (m, m) buffer g. The result is symmetric (g[i,j] == g[j,i]); the upper triangle is computed and mirrored. For the unweighted covariance a == b (the same buffer); the weighted form passes b = Xc*w.
mint- Computes the symmetric Gram matrix G = A @ B^T for row-major A, B each shaped (m, k), into the (m, m) buffer g. The result is symmetric (g[i,j] == g[j,i]); the upper triangle is computed and mirrored. For the unweighted covariance a == b (the same buffer); the weighted form passes b = Xc*w.
klong- Computes the symmetric Gram matrix G = A @ B^T for row-major A, B each shaped (m, k), into the (m, m) buffer g. The result is symmetric (g[i,j] == g[j,i]); the upper triangle is computed and mirrored. For the unweighted covariance a == b (the same buffer); the weighted form passes b = Xc*w.