Internal helper for sizeIntegral(). Replicates x along the dimensions it
does not have and permutes its dimensions into the order given by
target_labels, so that arrays with different dimensions can be multiplied
together elementwise.
Internal helper for sizeIntegral(). Replicates x along the dimensions it
does not have and permutes its dimensions into the order given by
target_labels, so that arrays with different dimensions can be multiplied
together elementwise.