MCPcopy
hub / github.com/arnauddri/algorithms / GetElm

Method GetElm

data-structures/matrix/matrix.go:51–53  ·  view source on GitHub ↗
(i int, j int)

Source from the content-addressed store, hash-verified

49}
50
51func (A *Matrix) GetElm(i int, j int) float64 {
52 return A.Elements[i*A.step+j]
53}
54
55func (A *Matrix) SetElm(i int, j int, v float64) {
56 A.Elements[i*A.step+j] = v

Callers 13

diagonalCopyMethod · 0.95
copyMethod · 0.95
traceMethod · 0.95
addMethod · 0.95
substractMethod · 0.95
scaleMethod · 0.95
AddFunction · 0.80
SubstractFunction · 0.80
MultiplyFunction · 0.80
TestGetElmFunction · 0.80
TestSetElmFunction · 0.80
MultiplyFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestGetElmFunction · 0.64
TestSetElmFunction · 0.64