logarithmicmean_byname function

Name- and element-wise logarithmic mean of matrices