- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for dotProduct (0.07 sec)
-
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>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 00:58:01 UTC 2024 - 282.5K bytes - Viewed (0)