muEC::SG::Perm2Mat – calculates the permutation matrix

The muEC::SG::Perm2Mat function calculates the permutation matrix corresponding to perm. This matrix has entries 1 in position math and 0 otherwise.

→ Examples

Call:

muEC::SG::Perm2Mat(perm)

Parameters:

perm

any list denoting a permutation

Related Functions:

muEC::SG::Mat2Perm, muEC::SG::Perm2RRep, muEC::SG::RRep2Perm

Example 1:

muEC::SG::Perm2Mat( [2,4,3,1] );

math