It's been a long day and what passes for my brain has been too busy looking at requirements and solving real world problems to be bothered with pretending to think anymore.
I have just written a function to split a matrix into as many components as there are unique values (keys) in a given column. I cannot for the life of me remember what the name of this type of operation is. The word 'partition' is running through my head, but that's not what this operation is :-(
Can somebody please help?
Thanks,
Stuart
eg,
Array
0 1 2
0 2 3
1 2 4
2 3 5
goes to
sub array
0 1 2
0 2 3
sub array
1 2 4
sub array
2 3 5
I have just written a function to split a matrix into as many components as there are unique values (keys) in a given column. I cannot for the life of me remember what the name of this type of operation is. The word 'partition' is running through my head, but that's not what this operation is :-(
Can somebody please help?
Thanks,
Stuart
eg,
Array
0 1 2
0 2 3
1 2 4
2 3 5
goes to
sub array
0 1 2
0 2 3
sub array
1 2 4
sub array
2 3 5