Given a matrix A and a vector B, I want to transform the value in A to its
index in B.
e.g. A=[[1,2],[2,5]], B=[1,2,3,4,5], so the desired result is A'=[[0,1],
[1,4]], since B=1, B=2, B=5
How to achieve the function by a basic operation?
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.