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

Method StringRowCell

tensor/bits.go:184–187  ·  view source on GitHub ↗
(row, cell int)

Source from the content-addressed store, hash-verified

182}
183
184func (tsr *Bits) StringRowCell(row, cell int) string {
185 _, sz := tsr.RowCellSize()
186 return reflectx.ToString(tsr.Values.Index(row*sz + cell))
187}
188
189func (tsr *Bits) SetStringRowCell(row, cell int, val string) {
190 if bv, err := reflectx.ToBool(val); err == nil {

Callers

nothing calls this directly

Calls 3

RowCellSizeMethod · 0.95
ToStringFunction · 0.92
IndexMethod · 0.45

Tested by

no test coverage detected