assert(matrix.all!(a=>a.all!(b=>b>=0)));
Does anyone know if there is a 2D-version of all so I can write something like:
assert(matrix.all2D!(a=>a>=0));
assert(matrix.all!(a=>a.all!(b=>b>=0)));
Does anyone know if there is a 2D-version of all so I can write something like:
assert(matrix.all2D!(a=>a>=0));