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

Method Float1D

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

Float1D returns the value of given 1-dimensional index (0-Len()-1) as a float64

(i int)

Source from the content-addressed store, hash-verified

69
70 // Float1D returns the value of given 1-dimensional index (0-Len()-1) as a float64
71 Float1D(i int) float64
72
73 // SetFloat1D sets the value of given 1-dimensional index (0-Len()-1) as a float64
74 SetFloat1D(i int, val float64)

Callers 15

tRowValueMethod · 0.65
ValueMethod · 0.65
tRowXValueMethod · 0.65
xValueMethod · 0.65
YErrorMethod · 0.65
CopyFromMethod · 0.65
CopyCellsFromMethod · 0.65
Projection2DValueFunction · 0.65
CopyFromMethod · 0.65
CopyCellsFromMethod · 0.65
CopyFromMethod · 0.65
CopyCellsFromMethod · 0.65

Implementers 1

Bitstensor/bits.go

Calls

no outgoing calls

Tested by 2

TestTensorStringFunction · 0.52
TestTensorFloat64Function · 0.52