map<S> method
Returns a read-only view on this Matrix with all its elements lazily
converted by calling the provided transformation callback
.
Implementation
Matrix<S> map<S>(S Function(int row, int col, T value) callback,
[DataType<S>? dataType]) =>
transform<S>(callback, dataType: dataType);