toString method
Convert an Array2d object to a String representation
Examples
var matrix = Array2d.empty();
var line = Array([1.0 ,2.0 , 3.0]);
matrix.add(line);
matrix.add(line);
matrix.add(line);
print(matrix.toString());
/* output:
Array2d([Array([1.0, 2.0, 3.0]), Array([1.0, 2.0, 3.0]), Array([1.0, 2.0, 3.0])])
*/
Implementation
@override
String toString() {
var str = IterableBase.iterableToFullString(this, '[', '\n]');
return 'Array2d($str)';
}