erfi, erfw (w(z)) functions +- HP Forums (http://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: HP Prime Software Library (/forum-15.html) +--- Thread: erfi, erfw (w(z)) functions (/thread-9415.html) |
erfi, erfw (w(z)) functions - salvomic - Yesterday 01:03 PM hi everybody, Luckily Prime has inside its CAS two useful functions to magare problems connected to error treatment and statistics: the error function, erf() and the complementary error function, erfc(). If one want to "complete" that series, could think to implement also other two "sisters": the imaginary error function, erfi() and a function that I call "erfw", otherwise w(z) that handles every complex number. See here for theory. The code: erfi() Code:
erfw() Code:
Enjoy with the Prime! Salvo Micciché |