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

Method SubMatrixOf

matrix/dense.go:327–350  ·  view source on GitHub ↗

Set A to be submatrix of B starting from position row, col. Returns A. The size argument can be either: nrows, ncols or nrows, ncols, nstep. The first form is used to create row or column vectors or normal submatrices. Three argument form is used to create diagonal vectors by setting nrows to one, n

(B *FloatMatrix, row, col int, size ...int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

unblockedLUpivFunction · 0.95
blockedLUpivFunction · 0.95
TriUFunction · 0.95
TriUUFunction · 0.95
TriLUFunction · 0.95
TriLFunction · 0.95
BuildQFunction · 0.95
BuildQTFunction · 0.95
DecomposeQRFunction · 0.95
DecomposeQRTFunction · 0.95
blockedMultQLeftFunction · 0.95
blockedMultQRightFunction · 0.95

Calls 3

RowsMethod · 0.65
ColsMethod · 0.65
LeadingIndexMethod · 0.65

Tested by 4

_TestPartition2DFunction · 0.76
_TestViewUpdateFunction · 0.76
TestMultMVTransASmallFunction · 0.76
TestSubMatrixFunction · 0.36