(row, cell int, val string)
| 113 | } |
| 114 | } |
| 115 | func (tsr *Number[T]) SetStringRowCell(row, cell int, val string) { |
| 116 | if fv, err := strconv.ParseFloat(val, 64); err == nil { |
| 117 | _, sz := tsr.Shp.RowCellSize() |
| 118 | tsr.Values[row*sz+cell] = T(fv) |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | // String satisfies the fmt.Stringer interface for string of tensor data |
| 123 | func (tsr *Number[T]) String() string { |
nothing calls this directly
no test coverage detected