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

Method SetFloat1D

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

SetFloat1D sets the value of given 1-dimensional index (0-Len()-1) as a float64

(i int, val float64)

Source from the content-addressed store, hash-verified

72
73 // SetFloat1D sets the value of given 1-dimensional index (0-Len()-1) as a float64
74 SetFloat1D(i int, val float64)
75
76 // FloatRowCell returns the value at given row and cell, where row is outer-most dim,
77 // and cell is 1D index into remaining inner dims. For Table columns.

Callers 14

Projection2DSetFunction · 0.65
CopyDenseFunction · 0.65
TestTensorFloat64Function · 0.65
AggsToTableMethod · 0.65
AggsToTableCopyMethod · 0.65
SetFloatIndexMethod · 0.65
SetFloatMethod · 0.65
SetTensorIndexMethod · 0.65
SetTensorFloat1DMethod · 0.65
CopyCellMethod · 0.65
ReadCSVRowMethod · 0.65
MeanTablesFunction · 0.65

Implementers 1

Bitstensor/bits.go

Calls

no outgoing calls

Tested by 1

TestTensorFloat64Function · 0.52