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

Method At

tensor/bits.go:309–312  ·  view source on GitHub ↗

At is the gonum/mat.Matrix interface method for returning 2D matrix element at given row, column index. Not supported for Bits -- do not call!

(i, j int)

Source from the content-addressed store, hash-verified

307// At is the gonum/mat.Matrix interface method for returning 2D matrix element at given
308// row, column index. Not supported for Bits -- do not call!
309func (tsr *Bits) At(i, j int) float64 {
310 slog.Error("tensor At gonum Matrix call made on Bits Tensor; not supported")
311 return 0
312}
313
314// T is the gonum/mat.Matrix transpose method.
315// Not supported for Bits -- do not call!

Callers 1

CopyDenseFunction · 0.45

Calls 1

ErrorMethod · 0.65

Tested by

no test coverage detected