map method
Implementation
Array map(double Function(double, Tuple2<int, int>) mappingFunc) {
return Array(
values: enumerate(values)
.map((iLine) => enumerate(iLine.item2)
.map((jValue) => mappingFunc(
jValue.item2, Tuple2(iLine.item1, jValue.item1)))
.toList())
.toList(),
shape: shape);
}