Dot performs the dot product between a vector and another.
(b *Record)
| 73 | |
| 74 | // Dot performs the dot product between a vector and another. |
| 75 | func (w *Record) Dot(b *Record) float64 { |
| 76 | return backend.Dot(w.vec, b.vec) |
| 77 | } |
| 78 | |
| 79 | // DotRange performs the dot product between a vector and another using a range of elements. |
| 80 | func (w *Record) DotRange(b *Record, start uint, end uint) float64 { |