Algorithm-Munkres

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

        i.e 3 x 4 then we will convert it to 4 x 4 and the modified input 
        matrix will be:
             [2, 4, 7, 9],
             [3, 9, 5, 1],
             [8, 2, 9, 7],
             [0, 0, 0, 0]

EXPORT
        "assign" function by default.

INPUT
        The input matrix should be in a two dimensional array(array of 
        array) and the 'assign' subroutine expects a reference to this 
        array and not the complete array. 
        eg:assign(\@inp_mat, \@out_mat);
        The second argument to the assign subroutine is the reference 
        to the output array.

OUTPUT
        The assign subroutine expects references to two arrays as its 
        input paramenters. The second parameter is the reference to the
        output array. This array is populated by assign subroutine. This 
        array is single dimensional Nx1 matrix.
        For above example the output array returned will be:
         (0,
         2,
         1)

        where 

lib/Algorithm/Munkres.pm  view on Meta::CPAN

    matrix will be:
	 [2, 4, 7, 9],
	 [3, 9, 5, 1],
	 [8, 2, 9, 7],
 	 [0, 0, 0, 0]

=head1 EXPORT

    "assign" function by default.

=head1 INPUT

    The input matrix should be in a two dimensional array(array of 
    array) and the 'assign' subroutine expects a reference to this 
    array and not the complete array. 
    eg:assign(\@inp_mat, \@out_mat);
    The second argument to the assign subroutine is the reference 
    to the output array.

=head1 OUTPUT

    The assign subroutine expects references to two arrays as its 
    input paramenters. The second parameter is the reference to the
    output array. This array is populated by assign subroutine. This 
    array is single dimensional Nx1 matrix.
    For above example the output array returned will be:
     (0,
     2,
     1)



( run in 0.400 second using v1.01-cache-2.11-cpan-4e96b696675 )