Help for this page
$result = matrixwise_map(\&f, $mats); print dumpf($result), $/;
my @result = matrixwise_map(\&f, $mats); print dumpf(@result), $/;