given:
A=: 100 500 1100

Produce the positive differences in this
special way:

--> 100 400 600 _


   (}.-}:) 0,A,_
100 400 600 _

   (_,~{.,}.-}:) A
100 400 600 _

   (,&_-0&,) A
100 400 600 _

---


@@i

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to