Mosaic matrix: Difference between revisions

m
typo
(C++ implementation)
m (typo)
Line 111:
// Print each element of a matrix according to a predicate. It
// will print a '1' if the predicate function is true, otherwise '0'.
void PrintMatixPrintMatrix(std::predicate<int, int, int> auto f, int size)
{
for(int y = 0; y < size; y++)
Line 132:
};
 
PrintMatixPrintMatrix(mosaic, 8);
PrintMatixPrintMatrix(mosaic, 9);
}
 
125

edits