* gsl_vector_alloc_from_vector
@ 2004-02-09 9:53 Sebastian Tannert
2004-02-09 12:47 ` Version Problem Carlo Ferrigno
2004-02-09 17:46 ` gsl_vector_alloc_from_vector Brian Gough
0 siblings, 2 replies; 7+ messages in thread
From: Sebastian Tannert @ 2004-02-09 9:53 UTC (permalink / raw)
To: gsl-discuss
Hello,
is the function: gsl_vector_alloc_from_vector
still future part of the GSL or depreciated.
Thanks a lot!
Sebastian
---------------------------
DP Sebastian Tannert / tannert@physik.hu-berlin.de / 030/2093 7951
Humboldt Universit"at Berlin / Institut f"ur Physik / AG Photobiophysik
Newtonstrasse 15 / D-12489 Berlin-Adlershof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Version Problem
2004-02-09 9:53 gsl_vector_alloc_from_vector Sebastian Tannert
@ 2004-02-09 12:47 ` Carlo Ferrigno
2004-02-09 18:17 ` Brian Gough
2004-02-09 17:46 ` gsl_vector_alloc_from_vector Brian Gough
1 sibling, 1 reply; 7+ messages in thread
From: Carlo Ferrigno @ 2004-02-09 12:47 UTC (permalink / raw)
To: gsl-discuss
Upgrading from version 1.3 to 1.4 I noticed the definition of physical
constant has changed.
1) the file gsl_const.h does not include the right files and gives an error
2) the constant are named in a different way. This does not allow to compile a
programme built for 1.3 with gsl 1.4 and vice versa.
Do you have any suggestion to overcome the problem without rewriting the code,
for example with a preprocessing set of commands ?
thank you,
carlo
--
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Carlo Ferrigno
Universita` degli studi di Palermo &
Istituto di Astrofisica Spaziale (IASF)
via Ugo La Malfa 153
90146 Palermo
Italy
phone +39.091.6809624
mobile +39.333.3599421
E-mail: ferrigno@pa.iasf.cnr.it
///////////////////////////////////////////////
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Version Problem
2004-02-09 12:47 ` Version Problem Carlo Ferrigno
@ 2004-02-09 18:17 ` Brian Gough
2004-03-05 15:18 ` Brian Gough
0 siblings, 1 reply; 7+ messages in thread
From: Brian Gough @ 2004-02-09 18:17 UTC (permalink / raw)
To: Carlo Ferrigno; +Cc: gsl-discuss
Carlo Ferrigno writes: Upgrading from version 1.3 to 1.4 I noticed the
> definition of physical constant has changed.
> 1) the file gsl_const.h does not include the right files and gives
> an error
> 2) the constant are named in a different way. This does
> not allow to compile a programme built for 1.3 with gsl 1.4 and
> vice versa. Do you have any suggestion to overcome the problem
> without rewriting the code, for example with a preprocessing set of
> commands ?
>
I messed up gsl_const when I made the 1.4 release (I'm sorry). It is
broken.
If you have both versions installed you can try something like this,
gcc -I/opt/gsl-1.4/include -I/opt/gsl-1.3/include ....
or use the C_INCLUDE_PATH environment variable.
I will try to fix it all in 1.5, so it is smoothly backwards compatible.
An alternative is to ship the appropriate files (e.g. gsl_mks.h and
gsl_cgs.h) with your source in such a way that they are included
(e.g. in a gsl/ subdirectory). Note that the cgs electrical constants
in 1.3 were incorrect (missing factor of 4pi)
--
Brian Gough
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Version Problem
2004-02-09 18:17 ` Brian Gough
@ 2004-03-05 15:18 ` Brian Gough
0 siblings, 0 replies; 7+ messages in thread
From: Brian Gough @ 2004-03-05 15:18 UTC (permalink / raw)
To: Carlo Ferrigno, gsl-discuss
Brian Gough writes:
> Carlo Ferrigno writes: Upgrading from version 1.3 to 1.4 I noticed the
> > definition of physical constant has changed.
> > 1) the file gsl_const.h does not include the right files and gives
> > an error
> > 2) the constant are named in a different way. This does
> > not allow to compile a programme built for 1.3 with gsl 1.4 and
> > vice versa. Do you have any suggestion to overcome the problem
> > without rewriting the code, for example with a preprocessing set of
> > commands ?
This should now be fixed in CVS (and will be in the next release, with
backwards compatibility for the mks/cgs and mksa/cgsm header files).
--
Brian Gough
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gsl_vector_alloc_from_vector
2004-02-09 9:53 gsl_vector_alloc_from_vector Sebastian Tannert
2004-02-09 12:47 ` Version Problem Carlo Ferrigno
@ 2004-02-09 17:46 ` Brian Gough
[not found] ` <20040209174823.GA960@localhost>
[not found] ` <Pine.LNX.3.96.1040209194316.2194B-100000@pbp15.physik.hu-berlin.de>
1 sibling, 2 replies; 7+ messages in thread
From: Brian Gough @ 2004-02-09 17:46 UTC (permalink / raw)
To: Sebastian Tannert; +Cc: gsl-discuss
Sebastian Tannert writes:
> Hello,
> is the function: gsl_vector_alloc_from_vector
> still future part of the GSL or depreciated.
The function is deprecated (but will stay in the library until 2.0 for
backwards compatibility).
The gsl_vector_view object provides a better way to access/manipulate
subvectors.
best regards
--
Brian Gough
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-03-05 15:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-09 9:53 gsl_vector_alloc_from_vector Sebastian Tannert
2004-02-09 12:47 ` Version Problem Carlo Ferrigno
2004-02-09 18:17 ` Brian Gough
2004-03-05 15:18 ` Brian Gough
2004-02-09 17:46 ` gsl_vector_alloc_from_vector Brian Gough
[not found] ` <20040209174823.GA960@localhost>
2004-02-10 11:38 ` gsl_vector_alloc_from_vector Brian Gough
[not found] ` <Pine.LNX.3.96.1040209194316.2194B-100000@pbp15.physik.hu-berlin.de>
2004-02-10 11:48 ` gsl_vector_alloc_from_vector Brian Gough
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).