MCPcopy Index your code
hub / github.com/andeya/algorithm / SubMatrix

Method SubMatrix

matrix/dense.go:289–312  ·  view source on GitHub ↗

Make B a submatrix of A with top left corner at (row, col). If no size argument is given then size of (A.Rows()-row, A.Cols()-col) is assumed. The variadic size argument can be either (nrows, ncols) or (nrows, ncols, nstep). The first form sets B size to (nrows, ncols). The second form is used to c

(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

findAndBuildBKPivotLowerFunction · 0.95
unblkBoundedBKLowerFunction · 0.95
blkDecompBKLowerFunction · 0.95
findAndBuildBKPivotUpperFunction · 0.95
unblkBoundedBKUpperFunction · 0.95
blkDecompBKUpperFunction · 0.95
unblkBoundedLowerLDLFunction · 0.95
DiagMethod · 0.95
applyBKPivotSymFunction · 0.45
findBKPivotFunction · 0.45
unblkDecompBKLowerFunction · 0.45
unblkDecompBKUpperFunction · 0.45

Calls 3

RowsMethod · 0.65
ColsMethod · 0.65
LeadingIndexMethod · 0.65

Tested by 4

TestSolveLeastSquaresQRFunction · 0.36
TestSolveLeastSquaresQRTFunction · 0.36
_TestMultMVTransAFunction · 0.36
TestSubMatrixFunction · 0.36