MCPcopy Create free account
hub / github.com/Derious/cuMPC / is_same_block

Function is_same_block

dependence/eigen-3.4.0/test/block.cpp:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32// Check at compile-time that T1==T2, and at runtime-time that a==b
33template<typename T1,typename T2>
34typename internal::enable_if<internal::is_same<T1,T2>::value,bool>::type
35is_same_block(const T1& a, const T2& b)
36{
37 return a.isApprox(b);
38}
39
40template<typename MatrixType> void block(const MatrixType& m)
41{

Callers 1

blockFunction · 0.85

Calls 1

isApproxMethod · 0.45

Tested by

no test coverage detected