[racket] How to convert a list of lists to a matrix?

From: Alexander D. Knauth (alexander at knauth.org)
Date: Fri Nov 28 12:01:25 EST 2014

You can use list*->matrix:
http://docs.racket-lang.org/math/matrix_conversion.html?q=list%20matrix#%28def._%28%28lib._math%2Fmatrix..rkt%29._list%2A-~3ematrix%29%29

On Nov 28, 2014, at 11:51 AM, Animesh Pandey <animeshpandey.etno at gmail.com> wrote:

> I read a csv file and converted 150 rows and 4 columns to a list of 150 lists. I want to convert this list to a matrix of 150 X 4 dimensions. 
> Should I be using "build-matix" or "make-matrix"?
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users



Posted on the users mailing list.