Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Perl: Operations (Multiplication/Addition) of Matrices

  1. Feb 25, 2013 #1
    I'm trying to figure out how to multiply and add square (3 X 3) matrices with Perl (without PDL) in which each matrix is in a separate file, but I haven't been making any progress. I'm a Perl beginner, so does anyone have any suggestions for examples/resources that may help me?

  2. jcsd
  3. Feb 25, 2013 #2


    User Avatar

    Staff: Mentor

    I've worked with Perl a lot, but never for matrices, a.k.a. multidimensional arrays. It's not the first language I'd think of for doing numerical stuff. :tongue:

    So I can't help you from direct experience. However, a Google search for "perl multidimensional array" turns up a lot of hits, including the following page from perldoc:

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook