Example #1
0
func dot32(X, Y []float32) float32 {
	return blas.Sdot(len(X), X, 1, Y, 1)
}
Example #2
0
// Dot computes the dot product with u.
func (v Vector) Dot(u Vector) float32 {
	return blas.Sdot(len(v), u, 1, v, 1)
}
Example #3
0
func (y Vector) Dot(x Vector) float32 {
	return blas.Sdot(len(y), x, 1, y, 1)
}