Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    use math_module;
    ...
      print "\n\n";
    }  
    exit;
    
  2. or download this
    package math_module;
    sub get_det($\@)
    {
    ...
      return @new_matrix;  
    }
    return 1;
    
  3. or download this
    C:\Users\x>cd desktop
    
    C:\Users\x\Desktop>inv1.pl
    ...
    2.4  5  -2.8  -1
    
    -2.2  -4  2.4  1
    
  4. or download this
    #!/usr/bin/perl
    ### TO PRODUCE THE INVERSE OF A SQUARE MATRIX (ANY SIZE) in PERL:
    use warnings;
    ...
      print "\n\n";
    }
    exit;
    
  5. or download this
    $m2[0]=[3,2,1,1]; 
    $m2[1]=[1,0,2,2];
    $m2[2]=[4,1,3,3];
    $m2[3]=[1,2,3,4];
    
  6. or download this
    C:\Users\x>cd desktop
    
    C:\Users\x\Desktop>inv2.pl
    ...
     $m2[2]=[4,1,3,3];
     $m2[3]=[1,2,3,4];
    Illegal division by zero at C:/Perl/lib/math_module.pm line 60, <DNAFI
    +LE>line 4.
    
  7. or download this
    3,2,1,1
    1,0,2,2
    4,1,3,3
    1,2,3,4