M = sl2EquivariantConstantRankMatrix(m,d,CoefficientRing=>C)
This is an option to tell slEquivariantConstantRankMatrix to define the matrix over a polynomial ring with coefficients in the ring C.