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

Method AddFloat64TensorColumn

tensor/table/table.go:253–255  ·  view source on GitHub ↗

AddFloat64TensorColumn adds a new n-dimensional float64 column with given name and dimensionality of each _cell_. An outer-most Row dimension will be added to this dimensionality to create the tensor column.

(name string, cellSizes []int, dimNames ...string)

Source from the content-addressed store, hash-verified

251// An outer-most Row dimension will be added to this dimensionality to create
252// the tensor column.
253func (dt *Table) AddFloat64TensorColumn(name string, cellSizes []int, dimNames ...string) *tensor.Float64 {
254 return AddTensorColumn[float64](dt, name, cellSizes, dimNames...).(*tensor.Float64)
255}
256
257// AddFloat32Column adds a new float32 column with given name.
258// The cells of this column hold a single scalar value.

Callers 6

TestPCAIrisFunction · 0.95
TestSVDIrisFunction · 0.95
AggsToTableMethod · 0.80
AggsToTableCopyMethod · 0.80
DescAllFunction · 0.80
DescIndexFunction · 0.80

Implementers 1

_cogentcore_org_core_plot_plots_Tableyaegicore/symbols/cogentcore_org-core-

Calls

no outgoing calls

Tested by 2

TestPCAIrisFunction · 0.76
TestSVDIrisFunction · 0.76