- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for dotProduct (0.04 seconds)
-
doc/go_spec.html
is <a href="#Instantiations">instantiated</a> with, and the operation is computed with the precision of that type argument. For example, given the function: </p> <pre> func dotProduct[F ~float32|~float64](v1, v2 []F) F { var s F for i, x := range v1 { y := v2[i] s += x * y } return s } </pre> <p>
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 23:39:18 GMT 2026 - 287.8K bytes - Click Count (1)