jWork.ORG forums
About F1D&Erf - Printable Version

+- jWork.ORG forums (http://jwork.org/forum)
+-- Forum: SCaVis (/forumdisplay.php?fid=1)
+--- Forum: Discussion of new ScaVis features (/forumdisplay.php?fid=4)
+--- Thread: About F1D&Erf (/showthread.php?tid=64)



About F1D&Erf - feilangrenM - 05-05-2014 10:14 PM

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


RE: About F1D&Erf - sergei175 - 05-06-2014 10:18 AM

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?id=man:math:special_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


RE: About F1D&Erf - feilangrenM - 05-07-2014 06:24 PM

(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?id=man:math:special_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