Is there a sqrt gp math command?

View: New views
2 Messages — Rating Filter:   Alert me  

Is there a sqrt gp math command?

by Rodrigo Tripodi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there!

I'm using jgap 3.3.4 in order to create mathematic combination functions.
I've looked for but I could'nt find a square root implementation of the org.jgap.gp.MathCommand class.
Is there any implementation? or should I create my own one?

thanks in advance!

best regards

--
Rodrigo Tripodi
Master's student - UNICAMP - Brazil
gtalk: rtripodi@...
skype id: rtripodi

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
jgap-users mailing list
jgap-users@...
https://lists.sourceforge.net/lists/listinfo/jgap-users

Parent Message unknown Re: Is there a sqrt gp math command?

by Klaus Meffert-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Message

Ridrigo,

there is an exp command, that could be used to exploit the relation sqrt(x) = x^0.5

Besides, it would possibly make more sense to just add an sqrt frunction. Just take the Exp class, copy and paste it to a new Sqrt class and make some simple changes (should be obvious after looking at the code of Exp class).

I assume that Sqrt will be added to a the next JGAP release.

Best

Klaus

----- original Nachricht --------

Betreff: [jgap-users] Is there a sqrt gp math command?
Gesendet: Mi, 20. Mai 2009
Von: Rodrigo Tripodi

Hi there!

I'm using jgap 3.3.4 in order to create mathematic combination functions.
I've looked for but I could'nt find a square root implementation of the org.jgap.gp.MathCommand class.
Is there any implementation? or should I create my own one?

thanks in advance!

best regards

--
Rodrigo Tripodi
Master's student - UNICAMP - Brazil
gtalk: rtripodi@...
skype id: rtripodi


--- original Nachricht Ende ----


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
jgap-users mailing list
jgap-users@...
https://lists.sourceforge.net/lists/listinfo/jgap-users