Help for this page
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.
use PDL; my $piddle = pdl @array; my $index_minimum = minimum_ind $piddle; say $index_minimum;