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

Method AddFloat32Column

tensor/table/table.go:259–261  ·  view source on GitHub ↗

AddFloat32Column adds a new float32 column with given name. The cells of this column hold a single scalar value.

(name string)

Source from the content-addressed store, hash-verified

257// AddFloat32Column adds a new float32 column with given name.
258// The cells of this column hold a single scalar value.
259func (dt *Table) AddFloat32Column(name string) *tensor.Float32 {
260 return AddColumn[float32](dt, name).(*tensor.Float32)
261}
262
263// AddFloat32TensorColumn adds a new n-dimensional float32 column with given name
264// and dimensionality of each _cell_.

Callers 9

NewSliceTableFunction · 0.95
TestGaussianGenFunction · 0.95
TestBinomialGenFunction · 0.95
TestPoissonGenFunction · 0.95
TestGammaGenFunction · 0.95
TestBetaGenFunction · 0.95
TestAggFunction · 0.80
TestAggEmptyFunction · 0.80
F32TableFunction · 0.80

Implementers 1

_cogentcore_org_core_plot_plots_Tableyaegicore/symbols/cogentcore_org-core-

Calls

no outgoing calls

Tested by 7

TestGaussianGenFunction · 0.76
TestBinomialGenFunction · 0.76
TestPoissonGenFunction · 0.76
TestGammaGenFunction · 0.76
TestBetaGenFunction · 0.76
TestAggFunction · 0.64
TestAggEmptyFunction · 0.64