all_equal
- odl.core.util.testutils.all_equal(iter1, iter2)[source]
Return
Trueif all elements inaandbare equal. This is a more forgiving version ofodl_all_equal, allowing also comparisons between e.g. a list and aLinearSpaceElementrather than requiring both sides to be compatible.