[erlang-questions] Erlang math libraries

Dan Gudmundsson dgud@REDACTED
Wed May 16 08:45:38 CEST 2007


Jay Anderson wrote:

> 
>> A couple of leads which spring to mind are
>>
>>   - Wings3d, which you can find on sourceforge, does a fair bit of
>>     matrix work in Erlang. It's probably worth looking at the code
>>     there (in the e3d directory)
>>
> 
> This does indeed have vector and matrix operations, but not for the general
> case. (I was pleasantly surprised however by how easy it was to understand their
> code. Perhaps that's a tribute to erlang.) I'd want to do much larger matrix
> operations. Any thoughts on how to represent a matrix with erlang? (dense or
> sparse) Would a list of lists be good enough or would there be a better way?
> 

There is a sparse matrix solver in 
wings/plugins_src/autouv/auv_matrix.erl used in auv_mapping.erl.

But you need something different for a dense matrix.

/Dan



More information about the erlang-questions mailing list