tuple.Wtemp = stiefelfactory(3,3);
tuple.Ptemp = euclideanfactory(3,4);
manifold = productmanifold(tuple);
works fine. But the code:
tuple.Wtemp = stiefelfactory(2,3);
tuple.Ptemp = euclideanfactory(3,4);
manifold = productmanifold(tuple);
where I just changed the 1st dimension in the first line gives an error
Subscripted assignment dimension mismatch.
Error in stiefelfactory/random (line 130)
X(:, :, i) = Q;
I was looking through the documentation but could not find it explained so, are there conditions on the dimensions of the manifolds productmanifold can handle?