MCPcopy Create free account
hub / github.com/cogentcore/core / SetFloat

Method SetFloat

tensor/tensor.go:60–60  ·  view source on GitHub ↗

SetFloat sets the value of given index as a float64

(i []int, val float64)

Source from the content-addressed store, hash-verified

58
59 // SetFloat sets the value of given index as a float64
60 SetFloat(i []int, val float64)
61
62 // NOTE: String conflicts with [fmt.Stringer], so we have to use StringValue
63

Callers 10

TestTensorFloat64Function · 0.65
UpdateSliceTableFunction · 0.65
TableColMethod · 0.65
TensorFunction · 0.65
TensorsFunction · 0.65
TestAggFunction · 0.65
TestAggEmptyFunction · 0.65
TestIndexViewFunction · 0.65
CovarTableColFunction · 0.65
CovarTensorFunction · 0.65

Implementers 1

Bitstensor/bits.go

Calls

no outgoing calls

Tested by 4

TestTensorFloat64Function · 0.52
TestAggFunction · 0.52
TestAggEmptyFunction · 0.52
TestIndexViewFunction · 0.52