• Post Reply Bookmark Topic Watch Topic
  • New Topic

Transpose of a Vector  RSS feed

 
Meghna ks
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have a Vector X, which inturn has 2 Vector Y & Z. for eg;
X -> Y, Z
where Y = 1, 2, 3, 4
Z = 5, 6, 7, 8
Hence, X is a Vector of Size -> 2, Y & Z -> 4
Now, I need to change the size of the Vector X to 4. i.e
Y = 1, 5
Z = 2, 6
A = 3, 7
B = 4, 8
Hence, X would now be -> (Y, Z, A, B)
Thanks
Meghna

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!