Slope Ideas

Feb 8 2007 3:29 PM

I have a series of doubles --- call it a DoubleSeries. 

I want to know how many different ways people can think of that I can take the slope of this DoubleSeries. 

Should I take rise/run?  Is there a way to have C# run a continuous regression on this series so that it comes up with some sort of y = mx + b formula? 

Ideas?