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

Method Float

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

Float returns the value of given index as a float64.

(i []int)

Source from the content-addressed store, hash-verified

55
56 // Float returns the value of given index as a float64.
57 Float(i []int) float64
58
59 // SetFloat sets the value of given index as a float64
60 SetFloat(i []int, val float64)

Callers 15

TestTensorFloat64Function · 0.65
RenderMethod · 0.65
TestAppendRowsFunction · 0.65
AnalyzePlanetsFunction · 0.65
TableColMethod · 0.65
TensorFunction · 0.65
TestAggFunction · 0.65
TestIndexViewFunction · 0.65
CovarTableColFunction · 0.65
CovarTensorFunction · 0.65
SliceSortFunction · 0.65
StructSliceSortFunction · 0.65

Implementers 1

Bitstensor/bits.go

Calls

no outgoing calls

Tested by 9

TestTensorFloat64Function · 0.52
TestAppendRowsFunction · 0.52
TestAggFunction · 0.52
TestIndexViewFunction · 0.52
TestGaussianGenFunction · 0.52
TestBinomialGenFunction · 0.52
TestPoissonGenFunction · 0.52
TestGammaGenFunction · 0.52
TestBetaGenFunction · 0.52