jWork.ORG forums

Full Version: About F1D&Erf
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have a problem when creating a F1D instance with erf(x): F1D f1=new F1D("x+erf(x)");

A pop window showed that the erf(x) can not be parsed.

Dose anyone have any idea?

Thanks for your help!
ColdWind
Hello,

Yes, you can define any function in F1D, but only a limited number are support using string definitions. Here is an example to create 1-Erf function.

http://jwork.org/scavis/wikidoc/doku.php..._functions

It shows that you need to call external Java libraries with special functions
to create "function" object (and such definition can be arbitrary complicated, you can use even if statement as in a program code).

[attachment=1]

best, Sergei
(05-06-2014 10:18 AM)sergei175 Wrote: [ -> ]Hello,

Yes, you can define any function in F1D, but only a limited number are support using string definitions. Here is an example to create 1-Erf function.

http://jwork.org/scavis/wikidoc/doku.php..._functions

It shows that you need to call external Java libraries with special functions
to create "function" object (and such definition can be arbitrary complicated, you can use even if statement as in a program code).



best, Sergei

The problem has been solved with your help.
Thank you very much, Sergei.

ColdWind
Reference URL's