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

Method String1D

tensor/tensor.go:94–94  ·  view source on GitHub ↗

String1D returns the value of given 1-dimensional index (0-Len()-1) as a string

(i int)

Source from the content-addressed store, hash-verified

92
93 // String1D returns the value of given 1-dimensional index (0-Len()-1) as a string
94 String1D(i int) string
95
96 // SetString1D sets the value of given 1-dimensional index (0-Len()-1) as a string
97 SetString1D(i int, val string)

Callers 15

LabelMethod · 0.65
genPlotBarMethod · 0.65
WriteCSVFunction · 0.65
TestTensorStringFunction · 0.65
RowsByStringIndexMethod · 0.65
StringIndexMethod · 0.65
StringValueMethod · 0.65
SetTensorIndexMethod · 0.65
CopyCellMethod · 0.65
WriteCSVRowWriterMethod · 0.65
SortColumnMethod · 0.65
SortColumnsMethod · 0.65

Implementers 1

Bitstensor/bits.go

Calls

no outgoing calls

Tested by 1

TestTensorStringFunction · 0.52