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?

    Thanks.
     
  2. jcsd
  3. Feb 25, 2013 #2

    jtbell

    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:

    http://perldoc.perl.org/perllol.html
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Perl: Operations (Multiplication/Addition) of Matrices
  1. Perl & Apache (Replies: 6)

  2. Perl problems (Replies: 4)

Loading...