25 for(i=0; i < m->size1; i++)
26 vec[i] = gsl_matrix_get(m,i,0);
32 for(i=0;i<m->size1;i++)
33 for(j=0;j<m->size2;j++)
34 a[j*m->size1 +i] = gsl_matrix_get(m,i,j);
39 for(i=0;i<vec->size;i++)
47 for(i=0;i<vec->size;i++)
48 *
egsl_atmp(v,i,0) = gsl_vector_get(vec,i);
55 gsl_matrix_memcpy(m2,m);
61 gsl_matrix * m2 = gsl_matrix_alloc(m->size1,m->size2);
62 gsl_matrix_memcpy(m2,m);
void egsl_v2a(val v, double *vec)
void egsl_v2vec(val v, gsl_vector *vec)
gsl_matrix * egsl_v2gslm(val v)
val egsl_alloc(size_t rows, size_t columns)
val egsl_vFgslv(const gsl_vector *vec)
val egsl_vFgslm(const gsl_matrix *m)
gsl_matrix * egsl_gslm(val v)
void egsl_v2da(val v, double *a)
double * egsl_atmp(val v, size_t i, size_t j)
val egsl_vFda(size_t rows, size_t cols, const double *a)
val egsl_vFa(size_t rows, const double *a)