Perl: Operations (Multiplication/Addition) of Matrices

  • Thread starter Thread starter Soaring Crane
  • Start date Start date
  • Tags Tags
    Matrices Operations
AI Thread Summary
To multiply and add square (3 X 3) matrices using Perl without PDL, users are seeking guidance on handling multidimensional arrays. As a beginner in Perl, one individual is struggling to find resources or examples that specifically address matrix operations. While another participant acknowledges their lack of direct experience with Perl for numerical tasks, they recommend searching for "perl multidimensional array," which yields numerous resources, including a helpful page from perldoc that discusses Perl's handling of arrays. This indicates that while Perl may not be the first choice for numerical computations, there are still valuable resources available for those looking to work with matrices.
Soaring Crane
Messages
461
Reaction score
0
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.
 
Technology news on Phys.org
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. :-p

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
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...

Similar threads

Back
Top