|
From: Alexander S. <ma...@st...> - 2018-02-23 17:07:41
|
More generally, you can do: F1(x) = (a=F2(x), a+a**2) On 23 February 2018 at 17:59, Daniel Boles <dbo...@gm...> wrote: > Not sure you need to "store" anything - I would assume and hope that simply > using the exponentation operator ** would result in f2() being evaluated > only once and then squared. So f2(x) ** 2 > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/ > lists/listinfo/gnuplot-info > |