Formatted matrix printer
import std.string; Matrix2f m1 = matrixf( 1, 0, 0, 1 ); string s = m1.toString; assert(s.startsWith(" 1.0000 0.0000 \n 0.0000 1.0000"));
See Implementation
Formatted matrix printer