The search functionality needs JavaScript enabled
Formatted matrix printer
string matrixToStr(T, ulong N) ( Matrix!(T,N) m );
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"));