help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] siman: fixed vs variable configurations


From: Brian Gough
Subject: Re: [Help-gsl] siman: fixed vs variable configurations
Date: Fri, 28 Apr 2006 16:53:30 +0100

John Gehman writes:
 > I think I worked out the problem -- the memcpy functions in siman.c  
 > will only copy real data, like my `double rmsd`. For my gsl_vector *  
 > values that I'm searching for/optimizing, it copies only the pointer,  
 > and therefore the same value being pointed to are adjusted over and  
 > over, and a real copy is never set aside as a "best".

Yes, that's right - the struct itself is copied, not anything that is
pointed to.

-- 
Brian Gough

Network Theory Ltd,
Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/




reply via email to

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