User Portlet User Portlet

Discussions
Hi, Suppose I start with a simple function : F[x_]:=1; I need to set F[k] equal to 0 for some k values. For a single value, the following instructions do the job (Version 8.0) : Clear[F]; F[x_] := 1; F[1] := 0; Table[F[k], {k, 10}] ...
Hello, can somebody help me : Given a list of Integers, say v={5, 4, 0, 6} and a list of allowed positions, say pos={1, 3} (but it might be {1, 2, 3} or {2} or ...), I need an automatic expansion of v equivalent to, say : ...
Hello, Here is an oversimplified list : {x,x,x} and a list of transformation rules : {x->a, x->b, x->c}. What I need : to apply the first rule to the first element, the second rule to the second element and so on. Expected result : {a,b,c} A...