Processing math: 100%
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 5 years ago

TWJ gravatar image

update a value entry following some rule

i have a vector (x1,,xn) where xi belongs to some set E how can i assign randomly a letter a,b,c to each vector than update it following some rule these vector ?

Example E=x1,x2,x3

(x1,x2,x3)=a

(x2,x3,x1)=a

(x3,x1,x2)=c

(x3,x2,x1)=whatever

(x1,x1,x1)=whatevre etc...

i have a rule that if (x1,x2,x3)=a and (x2,x3,x1)=a then (x3,x1,x2) must be equal to a