help-gsl
[Top][All Lists]
Advanced

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

[Help-gsl] Fwd: Re: strange 'data' pointers using more than one submatri


From: Matthias Sitte
Subject: [Help-gsl] Fwd: Re: strange 'data' pointers using more than one submatrix simultaneously
Date: Fri, 05 Dec 2014 22:26:05 -0600
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

Forgot to CC the list...

An implementation-related questions: Why does gsl_matrix_submatrix()
return a view of a matrix on the stack (which just wraps the underlying
gsl_matrix struct) and not a pointer to a newly created gsl_matrix
struct (which I would have to free manually, but I have to free most of
GSL's structs by hand anyway)???

If there is no quick answer, that's fine, I was just wondering...

  Matthias


-------- Forwarded Message --------
Subject: Re: [Help-gsl] strange 'data' pointers using more than one
submatrix simultaneously
Date: Sat, 6 Dec 2014 00:28:28 +0100
From: Frank Reininghaus <address@hidden>
To: Matthias Sitte <address@hidden>

Hi,

2014-12-05 17:38 GMT+01:00 Matthias Sitte <address@hidden>:
> Oh my ... I totally missed that. Corrected that and it works! :D
>
> An implementation-related questions: Why does gsl_matrix_submatrix() return
> a view of a matrix on the stack (which just wraps the underlying gsl_matrix
> struct) and not a pointer to a newly created gsl_matrix struct (which I
> would have to free manually, but I have to free most of GSL's structs by
> hand anyway)??? Just wondering ...

I have no time to look into that right now. Please always include the
mailing list in your replies - that makes it much more likely that
anyone will answer your question soon.

Regards,
Frank




reply via email to

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