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

Method SetFloat1D

tensor/string.go:126–128  ·  view source on GitHub ↗
(off int, val float64)

Source from the content-addressed store, hash-verified

124}
125
126func (tsr *String) SetFloat1D(off int, val float64) {
127 tsr.Values[off] = Float64ToString(val)
128}
129
130func (tsr *String) FloatRowCell(row, cell int) float64 {
131 _, sz := tsr.Shp.RowCellSize()

Callers

nothing calls this directly

Calls 1

Float64ToStringFunction · 0.85

Tested by

no test coverage detected