id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 1379365175,I_kwDOAMm_X85SN3E3,7058,Multiply along a specific dimension,59051647,closed,1,,,2,2022-09-20T12:46:41Z,2022-09-22T11:06:00Z,2022-09-22T11:06:00Z,NONE,,,,"### Is your feature request related to a problem? I was trying to make a simple operation for two DataArrays: applying the `*` operation along a single common dimension, but I couldn't find any simple and straight-forward way to apply it. This is a problem that can be faced very often when having weights to apply to a Dataset/DataArray, as in [this example](https://www.reddit.com/r/learnpython/comments/g45f2u/multiplying_xarray_dataarrays/). ### Describe the solution you'd like I believe a very useful implementation would be adding `xr.mult(*arrays, dim, *args)` - or `xr.prod` or similar -, exactly as it is for the `xr.dot(*arrays, dim, *args)`, but instead of applying the `@` product it would apply the `*` product. ### Describe alternatives you've considered _No response_ ### Additional context _No response_","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/7058/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,completed,13221727,issue