I suggested three years ago that elemental functions be allowed to have a mix of scalar and array arguments. They would only be elemental in the scalar arguments. I think your use case is different.
I suggested three years ago that elemental functions be allowed to have a mix of scalar and array arguments. They would only be elemental in the scalar arguments. I think your use case is different.