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

Method SetFloatRowCell

tensor/string.go:135–138  ·  view source on GitHub ↗
(row, cell int, val float64)

Source from the content-addressed store, hash-verified

133}
134
135func (tsr *String) SetFloatRowCell(row, cell int, val float64) {
136 _, sz := tsr.Shp.RowCellSize()
137 tsr.Values[row*sz+cell] = Float64ToString(val)
138}
139
140// Floats sets []float64 slice of all elements in the tensor
141// (length is ensured to be sufficient).

Callers

nothing calls this directly

Calls 2

Float64ToStringFunction · 0.85
RowCellSizeMethod · 0.65

Tested by

no test coverage detected