MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / dot

Method dot

JSAT/src/jsat/distributions/kernels/KernelPoints.java:195–198  ·  view source on GitHub ↗

Computes the dot product between the k'th KernelPoint and the given vector in the kernel space. @param k the index of the KernelPoint in this set to contribute to the dot product @param x the vector to contribute to the dot product @param qi the query information for the vector, or {@code nu

(int k, Vec x, List<Double> qi)

Source from the content-addressed store, hash-verified

193 * given vector
194 */
195 public double dot(int k, Vec x, List<Double> qi)
196 {
197 return points.get(k).dot(x, qi);
198 }
199
200 /**
201 * Computes the dot product between each KernelPoint in this set and the

Callers

nothing calls this directly

Calls 4

sizeMethod · 0.65
evalMethod · 0.65
getMethod · 0.45
getDMethod · 0.45

Tested by

no test coverage detected