src/Alg/Math/Polynomial.php
public function getValue( $x )
	{
		$y = 0;
		for( $i = $this->getRank() - 1; $i >= 0; $i-- )
			$y	= $this->coefficients[$i] + $y * $x;
		return $y;
	}
public function getValue( $x )
	{
		$y = 0;
		for( $i = $this->getRank() - 1; $i >= 0; $i-- )
			$y	= $this->coefficients[$i] + $y * $x;
		return $y;
	}
public function getValue ( $ x ) { $ y = 0 ; for ( $ i = $ this -> getRank ( ) - 1 ; $ i >= 0 ; $ i -- ) $ y = $ this -> coefficients [ $ i ] + $ y * $ x ; return $ y ; }
Calculates value with a given x with Horner-Scheme and returns the value.
@access		public
@param		mixed		$x				X-Value
@return		mixed
Calculates value with a given x with Horner - Scheme and returns the value .