Hi Kevin,
Kevin Channon escribió:
> Yes, that does seem to be a problem. The best way to do
> it might be to make a function like:
>
> int gsl_vector_complex_set_real(gsl_vector_complex *vec,
> int index, double value)
> {
> gsl_complex temp = {value, 0.0};
> gsl_vector_complex_set(vec, index, temp);
> return GSL_SUCCESS;
> }
That's what I'll do. But is there any plans on doing this in
the GSL as standard? I think this may be useful and it seems
easy to implement, but maybe it breaks some policies of the
libraries...
- Alejandro Cámara
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl