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

Method Float1D

tensor/string.go:122–124  ·  view source on GitHub ↗
(off int)

Source from the content-addressed store, hash-verified

120}
121
122func (tsr *String) Float1D(off int) float64 {
123 return StringToFloat64(tsr.Values[off])
124}
125
126func (tsr *String) SetFloat1D(off int, val float64) {
127 tsr.Values[off] = Float64ToString(val)

Callers

nothing calls this directly

Calls 1

StringToFloat64Function · 0.85

Tested by

no test coverage detected