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

Method FloatRowCell

tensor/string.go:130–133  ·  view source on GitHub ↗
(row, cell int)

Source from the content-addressed store, hash-verified

128}
129
130func (tsr *String) FloatRowCell(row, cell int) float64 {
131 _, sz := tsr.Shp.RowCellSize()
132 return StringToFloat64(tsr.Values[row*sz+cell])
133}
134
135func (tsr *String) SetFloatRowCell(row, cell int, val float64) {
136 _, sz := tsr.Shp.RowCellSize()

Callers

nothing calls this directly

Calls 2

StringToFloat64Function · 0.85
RowCellSizeMethod · 0.65

Tested by

no test coverage detected