On Tue, 27 Jul 2010, Julien Martin wrote:
> f(x)=(%e^(-(%theta*x^2)/%sigma^2)*(sqrt(%pi)*%k1*erf((sqrt(-%theta)*x)/%sigma)+2*%k2*%sigma*sqrt(-%theta)))/(2*%sigma*sqrt(-%theta))
>
> Is there no way for Maxima to evaluate the value of the erf function
> directly instead?
>
> It would then replace erf(x) with the evaluated version of 2/sqrt(%pi)
> integral from 0 to x of exp(-t^2) dt...
Depending exactly what it's the result of, and whether an answer in
terms of the incomplete Gamma function is enough of an "evaluated
version" for you,
erfflag : false ;
might help.
--
HTH,
Dan