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

Method SetFloat1D

tensor/bits.go:145–147  ·  view source on GitHub ↗
(off int, val float64)

Source from the content-addressed store, hash-verified

143 return BoolToFloat64(tsr.Values.Index(off))
144}
145func (tsr *Bits) SetFloat1D(off int, val float64) {
146 tsr.Values.Set(off, Float64ToBool(val))
147}
148
149func (tsr *Bits) FloatRowCell(row, cell int) float64 {
150 _, sz := tsr.RowCellSize()

Callers

nothing calls this directly

Calls 2

Float64ToBoolFunction · 0.85
SetMethod · 0.65

Tested by

no test coverage detected