Help for this page

Select Code to Download


  1. or download this
    Module  PDL::Ufunc
      minimum_ind
    ...
    
        Output is set bad if all elements of the input are bad, otherwise 
    +the
        bad flag is cleared for the output piddle.
    
  2. or download this
    use PDL;
    my $piddle = pdl @array;
    my $index_minimum = minimum_ind $piddle;
    say $index_minimum;