Finding distance

From: Bob Jenkins (gingaa0_at_lycos.com)
Date: 03/30/05


Date: 30 Mar 2005 04:09:37 -0800

Set A={y1,y2,y3}
How can i find set B={y2-y1,y3-y2,y3-y1} in a fast way?
Thanks!

-Bob