PDA

View Full Version : handling matrices using perl


mrprao
03-01-2005, 10:18 AM
hi,

iam novice to perl

how to read a matrix and manupulate it accordingly.. using perl any example scripts will be of great use.
for example addtion, average, multiplication, reading upper or lower triangle etc...

thanks
raghu

mlseim
03-01-2005, 02:24 PM
Perl cannot handle multi-dimensional arrays.

You need to create an "array of an array" ... this is somewhat more
advanced in the Perl programming world.

See this link:
http://www.cbs.dtu.dk/courses/27613/advanced1.html

I hope this helps.

mrprao
03-05-2005, 11:00 AM
thanks i will go thu it

cheers
raghu