6 Replies Latest reply on Jun 30, 2009 7:56 PM by gaurav.garg

    Is there a way to modify only part of the stream?

    codeboycjy

      Hi:
         We need to modify part of the stream . Actualy we only need to process some of the elements.
         Take a simple example:
         Here is the data:
         { 1 , 2 , 5 , 2 , 2 , 5 , 6 , 5 , 6  , 8 , 9 , 6 , 3 , 5 }
         I want to change all of the 5 into 50. How could i do that without copying the whole stream to another or using scatter kernel.