[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: An issue with function signatures
From: |
Julien Bect |
Subject: |
Re: An issue with function signatures |
Date: |
Thu, 20 Dec 2018 10:34:15 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 |
Le 20/12/2018 à 09:56, JuanPi a écrit :
Hi Julien.
Thanks i have tried this idea, but found that you need some extra code
to detect if the point in which the derivatives are evaluated are the
same as the ones used to evaluate the function, to make sure that the
correspondence between function and derivatives holds. Otherwise you
are depending on the internal functioning of the optimiser, which can
be anything. Don't you suffer this problem?
Sure, you need some extra code, but it's not necessarily very complicated.
In my simple example, the extra code is just "~ isequal (p, p0)". If you
have more arguments, you need more isequals.