another problem with numeric evaluations for computing the normal
distribution using the error function.
To my opinion, numeric NV(0.7) directly should return 0.7580363478



                                                                  Type:
Float
(52) -> NV(x) == (1+erf(x/sqrt(2)))/2
   Compiled code for NV has been cleared.
   1 old definition(s) deleted for function or rule NV
                                                                   Type:
Void
(53) -> numeric NV(0.7)
   Compiling function NV with type Float -> Expression(Float)

   >> Error detected within library code:
   Can only compute the numerical value of a constant, real-valued
Expression

(53) -> NV(0.7)

   (53)  0.5 erf(0.4949747468) + 0.5
                                                      Type:
Expression(Float)
(54) -> numeric NV(0.7)

   >> Error detected within library code:
   Can only compute the numerical value of a constant, real-valued
Expression

(54) -> erf(0.4949747468)

   (54)  0.5160726955_315973

(55) -> 0.5*erf(0.4949747468)+0.5

   (55)  0.7580363478
                                                                  Type:
Float
> -- 
> Mit freundlichen Grüßen
>
> Johannes Grabmeier
>
> Prof. Dr. Johannes Grabmeier
> Köckstraße 1, D-94469 Deggendorf
> Tel. +49-(0)-991-2979584, Tel. +49-(0)-151-681-70756
> Tel. +49-(0)-991-3615-141 (d),  Fax: +49-(0)-3224-192688

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to