src/Alg/Math/Analysis/Progression.php
public function getPartialSum( $from, $to )
	{
		for( $i=$from; $i<=$to; $i++ )
			$sum += $this->getValue( $i );
		return $sum;
	}
public function getPartialSum( $from, $to )
	{
		for( $i=$from; $i<=$to; $i++ )
			$sum += $this->getValue( $i );
		return $sum;
	}
public function getPartialSum ( $ from , $ to ) { for ( $ i = $ from ; $ i <= $ to ; $ i ++ ) $ sum += $ this -> getValue ( $ i ) ; return $ sum ; }
Calculates partial Sum of Progression.
@access		public
@param		int			$from		Interval Start
@param		int			$to			Interval End
@return		double
Calculates partial Sum of Progression .