Closed alexvong243f closed 2 years ago
This PR makes @sym/vertcat, @sym/horzcat and @sym/transpose Array-compatible.
@sym/vertcat
@sym/horzcat
@sym/transpose
In @sym/horzcat, we make use of the property that
[A_1; A_2; ...; A_n).' == [A_1.' A_2.' ... A_n.']
for all A_k with compatible sizes.
A_k
PR updated to fix issues raised, I think we can worry about generalizing to non-Array (e.g. TableForm) in another PR
Array
TableForm
I agree for TableForm. One thing at a time
This PR makes
@sym/vertcat
,@sym/horzcat
and@sym/transpose
Array-compatible.In
@sym/horzcat
, we make use of the property thatfor all
A_k
with compatible sizes.