pub trait DimMax<Other: Dimension> {
type Output: Dimension;
}
The resulting dimension type after broadcasting.
Dimensions of the same type remain unchanged when co_broadcast.
So you can directly use D as the resulting type.
(Instead of <D as DimMax>::BroadcastOutput)