[Top][All Lists]

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

[Help-gsl] Initialising a gslwrap matrix

From: Ted Kord
Subject: [Help-gsl] Initialising a gslwrap matrix
Date: Sat, 3 Jan 2009 20:05:22 +0000


Could someone show me the fastest method to initialise a gslwrap matrix with
predefined values.

I know I can do this via array-subscripting but I was wondering if there
isn't a faster alternative.

For example, how would I initialise a 4x4 matrix with the folowing values:

 0.18, 0.60, 0.57, 0.96,
 0.41, 0.24, 0.99, 0.58,
 0.14, 0.30, 0.97, 0.66,
 0.51, 0.13, 0.19, 0.85

Thanks in advance.


reply via email to

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