help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] Semantics of gsl_siman_metric_t


From: Saqib Ilyas
Subject: [Help-gsl] Semantics of gsl_siman_metric_t
Date: Wed, 22 Dec 2010 21:23:16 +0500

Hi all
The documentation says that the GSL Simulated Annealing function
gsl_siman_metric_t(void *xp, void *yp), should return the distance between
two configurations xp and yp. Semantically, should it be, x - y or y - x?

On Tue, Dec 21, 2010 at 3:21 PM, Saqib Ilyas <address@hidden> wrote:

> Thanks, yes, I believe that was the case due to an error elsewhere.
>
>
> On Tue, Dec 21, 2010 at 3:09 PM, Francesco Abbate <address@hidden
> > wrote:
>
>> 2010/12/20 Saqib Ilyas <address@hidden>:
>> > The copy constructor etc are all set to NULL in my call. Do I have to
>> > provide copy constructors etc for the two-dimensional arrays? Or is
>> there
>> > something else possibly wrong?
>> > Thanks and best regards
>>
>> Hi,
>>
>> it is ok to set to NULL the constructors, copy constructors and
>> destructors but in this case make sure that element_size is not 0
>> because this seems to be the case.
>>
>> --
>> Francesco
>>
>
>
>
> --
> Muhammad Saqib Ilyas
> PhD Student, Computer Science and Engineering
> Lahore University of Management Sciences
>



-- 
Muhammad Saqib Ilyas
PhD Student, Computer Science and Engineering
Lahore University of Management Sciences


reply via email to

[Prev in Thread] Current Thread [Next in Thread]