MCPcopy Create free account
hub / github.com/andeya/algorithm / makeFloatMatrix

Function makeFloatMatrix

matrix/dense.go:604–609  ·  view source on GitHub ↗

Create a column-major matrix from a flat array of elements. Elements slice is not copied to internal elements but assigned, so underlying array holding the actual values stays the same.

(rows, cols int, elements []float64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

FloatNewFunction · 0.85
FloatVectorFunction · 0.85
FloatValueFunction · 0.85
FloatMatrixFromTableFunction · 0.85
FloatZerosFunction · 0.85
TransposeMethod · 0.85

Calls 1

SetSizeMethod · 0.80

Tested by

no test coverage detected