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

Function NewIndexView

tensor/table/indexview.go:48–52  ·  view source on GitHub ↗

NewIndexView returns a new IndexView based on given table, initialized with sequential idxes

(et *Table)

Source from the content-addressed store, hash-verified

46
47// NewIndexView returns a new IndexView based on given table, initialized with sequential idxes
48func NewIndexView(et *Table) *IndexView {
49 ix := &IndexView{}
50 ix.SetTable(et)
51 return ix
52}
53
54// SetTable sets as indexes into given table with sequential initial indexes
55func (ix *IndexView) SetTable(et *Table) {

Callers 15

SetTableMethod · 0.92
SetTableMethod · 0.92
AvgByColumnFunction · 0.92
AnalyzePlanetsFunction · 0.92
TestSimMatFunction · 0.92
TestAggFunction · 0.92
TestAggEmptyFunction · 0.92
TestPermutedFunction · 0.92
TestIndexViewFunction · 0.92
TestClustFunction · 0.92
TestPCAIrisFunction · 0.92
TestSVDIrisFunction · 0.92

Calls 1

SetTableMethod · 0.95

Tested by 13

TestSimMatFunction · 0.74
TestAggFunction · 0.74
TestAggEmptyFunction · 0.74
TestPermutedFunction · 0.74
TestIndexViewFunction · 0.74
TestClustFunction · 0.74
TestPCAIrisFunction · 0.74
TestSVDIrisFunction · 0.74
TestGaussianGenFunction · 0.74
TestBinomialGenFunction · 0.74
TestPoissonGenFunction · 0.74
TestGammaGenFunction · 0.74