Question: about command "select"

Dear all,

I've got a Vector,

>V:=<xt[1, 1]*xt[1, 2]*alpha>;

and what I want to get is the elements in V which has xt[2,2]. In this case, <NULL> is what I am looking for.

I tried the following line:
> select(has,V,xt[2,2]);
     The result is Vector(1, {(1) = NULL});
when I tried
> select(has,V[1],xt[2,2]);
     The result is 1.
I have no idea where this 1 comes from.

Can anyone help me with this?

Thank you very much!

Belief111

Please Wait...