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

Method AllClose

matrix/dense_bool.go:101–122  ·  view source on GitHub ↗

Return true if A is element-wise equal to with a tolerance. The tolerance values are positive, typically very small numbers. If tolerances parameter is not given default values are used. If one tolerance value is given, it is used as absolute tolerance. If two values are given, first is used as abso

(B *FloatMatrix, tolerances ...float64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

TestQRTFunction · 0.95
trmmTestFunction · 0.95
TestLDLSolveFunction · 0.80
_TestViewUpdateFunction · 0.80
_TestLU3x3NoPivFunction · 0.80
_TestUnblkLUnoPivFunction · 0.80
_TestBlkLUnoPivFunction · 0.80
_TestLU3x3PivFunction · 0.80
_TestLU3x4PivFunction · 0.80
_TestBlkLUPivFunction · 0.80
_TestCHOL3x3Function · 0.80
_TestCHOLUpLoFunction · 0.80

Calls 7

realIndexFunction · 0.85
SizeMatchMethod · 0.65
SizeMethod · 0.65
NumElementsMethod · 0.65
RowsMethod · 0.65
LeadingIndexMethod · 0.65
AbsMethod · 0.45

Tested by 15

TestQRTFunction · 0.76
trmmTestFunction · 0.76
TestLDLSolveFunction · 0.64
_TestViewUpdateFunction · 0.64
_TestLU3x3NoPivFunction · 0.64
_TestUnblkLUnoPivFunction · 0.64
_TestBlkLUnoPivFunction · 0.64
_TestLU3x3PivFunction · 0.64
_TestLU3x4PivFunction · 0.64
_TestBlkLUPivFunction · 0.64
_TestCHOL3x3Function · 0.64
_TestCHOLUpLoFunction · 0.64