Help for this page

Select Code to Download


  1. or download this
    my @distance_mat=[];
    ...
    my @vit_dist=[ [ 0] ];
    
  2. or download this
    ${$vit_dist[$i]}[$j]=min(${$vit_dist[$i-1]}[$j]+${$distance_mat[$i]}[$
    +j];
    
  3. or download this
    ${${$distance_mat[$i]}[$j]}[$k]
    
  4. or download this
    #!/usr/bin/env perl
    
    ...
    
    use Data::Dump;
    dd $matrix;
    
  5. or download this
    [
      [
    ...
        [0.0562126863718184, 0.781856824452085],
      ],
    ]