- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Einsum (0.04 sec)
-
doc/go_spec.html
func sum[T ~int | ~float64 | ~string](x... T) T { … } x := sum // illegal: the type of x is unknown intSum := sum[int] // intSum has type func(x... int) int a := intSum(2, 3) // a has value 5 of type int b := sum[float64](2.0, 3) // b has value 5.0 of type float64 c := sum(b, -1) // c has value 4.0 of type float64
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 00:58:01 UTC 2024 - 282.5K bytes - Viewed (0)