public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Question about Vectors & Matrices
@ 2002-07-29  8:09 Daniel T Konkle
  2002-07-29 10:13 ` Alan Aspuru-Guzik
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel T Konkle @ 2002-07-29  8:09 UTC (permalink / raw)
  To: gsl-discuss


The GSL library has data types for int, long, double, etc in the case of 
vectors and matrices.

Does it have a type for 'pointers' ?  I really/want to be able allocate a 
matrix that holds pointers so that I can use those pointers to allocate 
other things.  This way I could use the GSL functions to access those elements.

Is this even possible?  Is it as clear as mud?

Danny

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Question about Vectors & Matrices
  2002-07-29  8:09 Question about Vectors & Matrices Daniel T Konkle
@ 2002-07-29 10:13 ` Alan Aspuru-Guzik
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Aspuru-Guzik @ 2002-07-29 10:13 UTC (permalink / raw)
  To: Daniel T Konkle; +Cc: gsl-discuss

Dear Daniel,
I have had the same need as well, and as current, the GSL doesn't have
support for arrays and vectors of pointers. What I do, though, is to use
GLIB:

http://developer.gnome.org/doc/API/glib/

which has nice support for vector pointers and data structures. I believe
both libraries complement each other quite nicely.

(I have some GLIB vectors, GLIB linked lists and such of gsl
objects. Works well)

Alan

On Mon, 29 Jul 2002, Daniel T Konkle wrote:

> 
> The GSL library has data types for int, long, double, etc in the case of 
> vectors and matrices.
> 
> Does it have a type for 'pointers' ?  I really/want to be able allocate a 
> matrix that holds pointers so that I can use those pointers to allocate 
> other things.  This way I could use the GSL functions to access those elements.
> 
> Is this even possible?  Is it as clear as mud?
> 
> Danny
> 

-- 

Alan Aspuru-Guzik                    Dios mueve al jugador, y éste, la pieza.
(510)642-5911 UC Berkeley           ¿Qué Dios detrás de Dios la trama empieza
(925)422-8739 LLNL                de polvo y tiempo y sueño y agonías? -Borges

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-29 17:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-29  8:09 Question about Vectors & Matrices Daniel T Konkle
2002-07-29 10:13 ` Alan Aspuru-Guzik

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).