Re: New package proposal: Math_Calculus

From: Date: Fri, 16 May 2003 14:57:44 +0000
Subject: Re: New package proposal: Math_Calculus
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-16365@lists.php.net to get a copy of this message
El Vie 16 May 2003 05:58, Johannes Schlueter escribió: .. > and then calculated f'(x) for your value: f'(<some value) = 2*<some value> > but doing this symbolic calculations is a bit harder than just looking for > the numeric value of the derivation at a given point, what my class does - > it just calculetes the value of f'(x) at the given position not the > complete f'(x) function. Maybe methods could be called eval_derivate(), eval_integrate()? (not sure if those are the correct english terms) And another issue: one-liners should have brackets too: if (abs($est - $last) < $epsilon * abs($est)) { return $est; } instead of: if (abs($est - $last) < $epsilon * abs($est)) return $est;

« previous php.pear.dev (#16365) next »